drm/amd/powerplay: fix set target TDP error on tonga/iceland
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 14 Sep 2017 01:10:41 +0000 (09:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 17:06:58 +0000 (13:06 -0400)
commit2a527680a112d6b230961e3714d370a2e369bda9
treed1db88066e71ed1f76a9502ca8f69ca13fafb59f
parent9f4b35411cfed96d4f9f092b2fed14905af84d89
drm/amd/powerplay: fix set target TDP error on tonga/iceland

ConfigurableTDP do not exist from Fiji.
so only use in previous ASIC.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c