drm/nouveau/falcon: better detection of debug register
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 22 Feb 2017 11:50:09 +0000 (20:50 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:13 +0000 (17:05 +1000)
commitad147b7f57547a5597ed338f2c46f03809d7792e
tree84dfe71f9bf19cb1142d7f27a1c4fa9eb34490cf
parentb62880f7966781eb0b3b1e50f63d6aac362476d3
drm/nouveau/falcon: better detection of debug register

Not all falcons have a debug register, and it is not always found at the
same offset.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/falcon/base.c