drm/radeon/uvd: use lower clocks on old UVD to boot v2
authorChristian König <christian.koenig@amd.com>
Thu, 10 Apr 2014 14:11:36 +0000 (16:11 +0200)
committerJiri Slaby <jslaby@suse.cz>
Fri, 6 Jun 2014 10:38:15 +0000 (12:38 +0200)
commitafa83e4942997a92e5c763754bf6dde907bf20cc
treed637947c001f6797866871a69e073dd9613bf71d
parent6ddad49e6f812dbcb68b41875375a259c1ae9e70
drm/radeon/uvd: use lower clocks on old UVD to boot v2

commit e45187620f9fc103edf68fa5ea78e73033e1668c upstream.

Some RV7xx generation hardware crashes after you
raise the UVD clocks for the first time. Try to
avoid this by using the lower clocks to boot these.

Workaround for: https://bugzilla.kernel.org/show_bug.cgi?id=71891

v2: lower clocks on IB test as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/radeon/uvd_v1_0.c