drm/radeon: raise UVD clocks only on demand
authorChristian König <christian.koenig@amd.com>
Thu, 18 Apr 2013 13:25:59 +0000 (15:25 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Apr 2013 21:45:44 +0000 (17:45 -0400)
commit55b51c88c5167ba0c95919cdd25b0bd376a3f0ea
tree43ec2ca11ed770e74436a028a3c5d244f1902f72
parent4ed108352d9b60a723a5071ed05e722826c2b72f
drm/radeon: raise UVD clocks only on demand

That not only saves some power, but also solves problems with
older chips where an idle UVD block on higher clocks can
cause problems.

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