]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/powerplay: pre-check the SMU state before issuing message
authorEvan Quan <evan.quan@amd.com>
Wed, 4 Dec 2019 09:29:52 +0000 (17:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Dec 2019 22:05:17 +0000 (17:05 -0500)
commitfcb1fe9c9e0031ff02aaa7532822807d27968044
tree3bd514be9d6e5dedb5ef842e01c361b74d46b6c1
parentebcef76b6c2209ef4e86e8640b8a5ac87721b584
drm/amd/powerplay: pre-check the SMU state before issuing message

Abort the message issuing if the SMU was not in the right state.

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