]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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>
Wed, 20 Nov 2019 23:40:21 +0000 (18:40 -0500)
commit355d991cb6ff6ae76b5e28b8edae144124c730e4
treef40a048e5b923ecc56bf415ed98c43e9f34eb0d9
parent9ea3fa729a44e69f66f1ae063148739ecc089a17
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c