]> 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)
commitf5ddff511e8499625e265ef3f97d2eb4452505d2
tree1751bd3ac36c6749a0fded1775def26b19be2dcb
parent7442eb8c02b1f596c65ec3fb0923fde2346e5e30
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