]> 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)
commit4c4c16b87a0449e9d0242b626ef73b276d4b9307
treeaf8887721f494b5ac18374a34f1677c68a5ca628
parent19c137cd348629c186b209c4077e25f398d8dca5
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