drm/amd/powerplay: drop unnecessary SMU_MSG_GetDpmClockFreq check
authorEvan Quan <evan.quan@amd.com>
Tue, 9 Jun 2020 04:03:58 +0000 (12:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:19 +0000 (01:59 -0400)
commitb9fe63d2a030d04c876dc801f5953a54d81f527a
treebedd5841869f4c7920c05f81861376709c82b215
parent947119a3f9c9f9212a89fe864f0c40e903b24af0
drm/amd/powerplay: drop unnecessary SMU_MSG_GetDpmClockFreq check

Since SMU_MSG_GetDpmClockFreq is known to be supported for Vega20
and before ASICs only. For those ASICs supporting swSMU, it is not
supported.

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