drm/radeon/dpm/rs780: don't enable sclk scaling if not required
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2013 14:55:10 +0000 (10:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 16:41:01 +0000 (09:41 -0700)
commita6ec1251f171fe06eda183ea40ac975336fa6a52
treeed04b359f24cbc2615c161ebe9d99692f6de98a9
parent93a6c524b6c1822501d825c501fc778a7eb22fed
drm/radeon/dpm/rs780: don't enable sclk scaling if not required

commit e40210cca98068835acd5a4fe760bf96b3a1aa48 upstream.

If the low and high sclks are the same, there is no need to
enable sclk scaling.  This causes display stability issues on
certain boards.

Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=60857

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/rs780_dpm.c