drm/nouveau/gr/gf100: wait for GR idle after GO_IDLE bundle
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 27 Apr 2015 08:25:11 +0000 (17:25 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 27 Jul 2015 08:56:08 +0000 (18:56 +1000)
commit4a8cf4513dd4279d342eb41abdb9db65285732b3
tree9be14036678741f746ff90fdca0a41246079469d
parent19bf09cecfec1891069f1d5353a0298debd98713
drm/nouveau/gr/gf100: wait for GR idle after GO_IDLE bundle

After submitting a GO_IDLE bundle, one must wait for GR to effectively
be idle before submitting the next bundle. Failure to do so may result
in undefined behavior in some rare cases.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reported-by: Kary Jin <karyj@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h