]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: only save UVD bo when we have open handles
authorChristian König <christian.koenig@amd.com>
Mon, 5 Aug 2013 12:10:55 +0000 (14:10 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2013 21:37:15 +0000 (17:37 -0400)
commit0fbb5bc64f2b4404b2ebd9ec059fb5966250bd89
treeaf8887721f494b5ac18374a34f1677c68a5ca628
parent179277b9270c61a4ada040a66ca73a7a00b9ca54
drm/radeon: only save UVD bo when we have open handles

Otherwise just reinitialize from scratch on resume,
and so make it more likely to succeed.

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/drm/radeon/radeon_uvd.c
drivers/gpu/drm/radeon/rv770.c