]> git.baikalelectronics.ru Git - kernel.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)
commit5e38fcd85236f0912de8ad09c7fe4ffe705cb305
tree121208b325939051307ea9cf28be867ab558ecef
parentcd51c56a48839bb64110da1630f05af7f35b5857
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