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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2013 00:27:50 +0000 (20:27 -0400)
commite40210cca98068835acd5a4fe760bf96b3a1aa48
tree7c9c97e5bb7a08275b4e0becc125fb090835778e
parentce7b30e02578dda6b2263b05308c640f3b57d32c
drm/radeon/dpm/rs780: don't enable sclk scaling if not required

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>
Cc: stable@vger.kernel.org
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/rs780_dpm.c