]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nvc0/fence: restore pre-suspend fence buffer context on resume
authorBen Skeggs <bskeggs@redhat.com>
Fri, 28 Sep 2012 01:50:29 +0000 (11:50 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:12:22 +0000 (13:12 +1000)
commitd6ba6d215a538a58f0f0026f0961b0b9125e8042
tree121208b325939051307ea9cf28be867ab558ecef
parenta0d271cbfed1dd50278c6b06bead3d00ba0a88f9
drm/nvc0/fence: restore pre-suspend fence buffer context on resume

Fixes some unfortunate races on resume.  The G84 version of the code doesn't
need this as "gpuobj"s are automagically suspended/resumed by the core code
whereas pinned buffer objects are not.

Cc: stable@vger.kernel.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_fence.c