]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/dpm: fix spread spectrum setup (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2013 22:32:33 +0000 (18:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2013 21:37:10 +0000 (17:37 -0400)
commit156ee2baa15f4b2024adb9696e497f29d91423af
tree0649a5c0c58f91c824c88789e1e1ee3cad383e08
parentdcc11146aa915758dfcb68a7629a8ca4de545e8a
drm/radeon/dpm: fix spread spectrum setup (v2)

Need to check for engine and memory clock ss separately
and only enable dynamic ss if either of them are found.

This should fix systems which have a ss table, but do
not have entries for engine or memory.  On those systems
we may enable dynamic spread spectrum without enabling
it on the engine or memory clocks which can lead to a
hang in some cases.

fixes some systems reported here:
https://bugs.freedesktop.org/show_bug.cgi?id=66963

v2: fix typo

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/btc_dpm.c
drivers/gpu/drm/radeon/cypress_dpm.c
drivers/gpu/drm/radeon/ni_dpm.c
drivers/gpu/drm/radeon/rv6xx_dpm.c
drivers/gpu/drm/radeon/rv770_dpm.c
drivers/gpu/drm/radeon/rv770_dpm.h
drivers/gpu/drm/radeon/si_dpm.c