drm/nouveau/gr/gk104-: prevent reading non-existent regs in intr handler
authorBen Skeggs <bskeggs@redhat.com>
Mon, 13 Apr 2015 03:09:28 +0000 (13:09 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 Apr 2015 07:00:55 +0000 (17:00 +1000)
commit91c772ec129dc63038ee5642f441a03584474e1e
tree075bf06fa0aaf3340517d66b612621d9a91f297c
parentddec1a2b4c01b51134eca13fe6915d945745f1c9
drm/nouveau/gr/gk104-: prevent reading non-existent regs in intr handler

Under certain circumstances the trapped address will contain subc 7,
which GK104 GR doesn't have anymore.

Notice this case to avoid causing additional priv ring faults.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c