drm/radeon: fix scratch reg handling for UVD fence
authorChristian König <christian.koenig@amd.com>
Wed, 24 Apr 2013 12:11:09 +0000 (14:11 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2013 14:01:48 +0000 (10:01 -0400)
commit581bc3a9f628dad6221536d9f37af0472c66bb92
treee15fe3c9f8824a8165f424430a397186909ac08b
parent7220f639c2eca36774dbf65b16fe503bfb40fff5
drm/radeon: fix scratch reg handling for UVD fence

Also init the scratch reg to zero on the UVD ring.
This fixes UVD on AGP based cards.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_fence.c