drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs
authorEvan Quan <evan.quan@amd.com>
Thu, 14 Nov 2019 07:30:39 +0000 (15:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 19:35:10 +0000 (14:35 -0500)
commit1ac38dbf6edeaeb34a859b6e266c2462b6fee1eb
tree78358833ab8cf7df5e9aae4a9d9f737abe5ae316
parenta310a1b4c1a9b3a487f95c2fa5559a2869f56f15
drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs

Otherwise, the error message prompted will confuse user.

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