]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:50:28 +0000 (05:50 +0900)
commit87b22644845862f54c657326d1da2484907db3b6
treeee2b27df4829c16c53a5a8b453a15ad3e0aba27d
parentfbd15b54708f20d25e70d40c4035db37fa7c6c2a
drm/nvc0/fence: restore pre-suspend fence buffer context on resume

commit d6ba6d215a538a58f0f0026f0961b0b9125e8042 upstream.

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.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nvc0_fence.c