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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 16:41:01 +0000 (09:41 -0700)
commit93a6c524b6c1822501d825c501fc778a7eb22fed
tree08bd1470051b45d17f4f8eab5a2d2f2a7e22087f
parent2777fa045530884335b9d570b4db51df753a768d
drm/radeon/dpm: fix fallback for empty UVD clocks

commit 84f3d9f7b4781dea6e11dcaf7f81367c1b39fef0 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/rs780_dpm.c
drivers/gpu/drm/radeon/rv770_dpm.c