drm/radeon/dpm: fix fallback for empty UVD clocks
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Sep 2013 13:40:37 +0000 (09:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:34 +0000 (11:44 -0400)
commit84f3d9f7b4781dea6e11dcaf7f81367c1b39fef0
tree2b50f7903b5a9fa6c9f12cf2b7b1baf74fc1d48a
parent860024e5c9f61358917e2a13e9cdf92e75479aca
drm/radeon/dpm: fix fallback for empty UVD clocks

Some older 6xx-7xx boards didn't always fill in the
UVD clocks properly in the UVD power states.  This
leads to the driver trying to set a 0 clock which
results in slow or broken UVD playback.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=69120

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/rs780_dpm.c
drivers/gpu/drm/radeon/rv770_dpm.c