]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix halting UVD
authorChristian König <christian.koenig@amd.com>
Thu, 1 Aug 2013 15:34:07 +0000 (17:34 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2013 21:37:11 +0000 (17:37 -0400)
commitc9cfa021930d452a1f9b36ae97c378ad7ae8b878
tree1751bd3ac36c6749a0fded1775def26b19be2dcb
parent6b01ab7ad38cb98a6604d3f92e9f1e5b5a98f799
drm/radeon: fix halting UVD

Removing the clock/power or resetting the VCPU can cause
hangs if that happens in the middle of a register write.

Stall the memory and register bus before putting the VCPU
into reset. Keep it in reset when unloading the module or
suspending.

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/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/rv770.c
drivers/gpu/drm/radeon/si.c