drm/nouveau: wake up the card if necessary during gem callbacks
authorBen Skeggs <bskeggs@redhat.com>
Thu, 11 Dec 2014 00:05:00 +0000 (10:05 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 21 Dec 2014 22:37:38 +0000 (08:37 +1000)
commit5cc8d536c21a17e301e6f3e8c70a678b5f4b419f
tree99fe72366b5bd3039f74cf1b2ee077fdf744377b
parent8d5e3af15c798af93ee8bf5f504fa0511b85c627
drm/nouveau: wake up the card if necessary during gem callbacks

The failure paths if we fail to wake the card are less than desirable,
but there's not really a graceful way to handle this case currently.

I'll keep this situation in mind when I get to fixing other vm-related
issues.

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