mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
drm/nouveau/gr/gf100-: FECS intr handling is not relevant on proprietary ucode
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
48dac93506
commit
732be80743
1 changed files with 2 additions and 2 deletions
|
@ -1258,7 +1258,7 @@ gf100_gr_ctxctl_isr(struct gf100_gr *gr)
|
||||||
struct nvkm_device *device = subdev->device;
|
struct nvkm_device *device = subdev->device;
|
||||||
u32 stat = nvkm_rd32(device, 0x409c18);
|
u32 stat = nvkm_rd32(device, 0x409c18);
|
||||||
|
|
||||||
if (stat & 0x00000001) {
|
if (!gr->firmware && (stat & 0x00000001)) {
|
||||||
u32 code = nvkm_rd32(device, 0x409814);
|
u32 code = nvkm_rd32(device, 0x409814);
|
||||||
if (code == E_BAD_FWMTHD) {
|
if (code == E_BAD_FWMTHD) {
|
||||||
u32 class = nvkm_rd32(device, 0x409808);
|
u32 class = nvkm_rd32(device, 0x409808);
|
||||||
|
@ -1277,7 +1277,7 @@ gf100_gr_ctxctl_isr(struct gf100_gr *gr)
|
||||||
stat &= ~0x00000001;
|
stat &= ~0x00000001;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stat & 0x00080000) {
|
if (!gr->firmware && (stat & 0x00080000)) {
|
||||||
nvkm_error(subdev, "FECS watchdog timeout\n");
|
nvkm_error(subdev, "FECS watchdog timeout\n");
|
||||||
gf100_gr_ctxctl_debug(gr);
|
gf100_gr_ctxctl_debug(gr);
|
||||||
nvkm_wr32(device, 0x409c20, 0x00080000);
|
nvkm_wr32(device, 0x409c20, 0x00080000);
|
||||||
|
|
Loading…
Reference in a new issue