drm/nouveau/fifo/gk104-: better detection of chid when parsing engine status
authorBen Skeggs <bskeggs@redhat.com>
Mon, 16 Jan 2017 00:36:00 +0000 (10:36 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 07:38:12 +0000 (17:38 +1000)
commitec5c6bda19408b78f8bc0e0592c7805e8550470f
tree8dd6e35331c4537f00f5371bde16fe127a2fe6cb
parentb88917fe0fbb1a8479545ba62496ff71d63b397b
drm/nouveau/fifo/gk104-: better detection of chid when parsing engine status

The previous commit simply changes the interface, but should result in
the same behaviour as previously.  This commit has been split out from
it as it can result in a different channel being selected.

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