drm/amd/powerplay: avoid double check feature enabled
authorKevin Wang <kevin1.wang@amd.com>
Tue, 16 Jul 2019 18:07:23 +0000 (13:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2019 18:08:01 +0000 (13:08 -0500)
commit42b3aa9a5bafef922de78f0b4d54435bf774d1c1
tree4f1bcf8bffc69e82bda152b2fc3f68ea0a4369c6
parent75728f512e1f6cc37da9c173b7a7690b10b1c3f5
drm/amd/powerplay: avoid double check feature enabled

the unforce_dpm_levels doesn't need to check feature enablement.
because the smu_get_dpm_freq_range function has check feature logic.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c