]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sriov Don't send msg when smu suspend
authorJack Zhang <Jack.Zhang1@amd.com>
Wed, 5 Feb 2020 08:34:27 +0000 (16:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Feb 2020 16:44:24 +0000 (11:44 -0500)
commit9b5c9ae145fa28e0d73c1f815f7ba360156e9b73
treed7a445b730399a70a08d4905454eb5757e915de4
parent84a65b67a5ddeda0f58825059c12cca723b0dc8b
drm/amdgpu/sriov Don't send msg when smu suspend

For sriov and pp_onevf_mode, do not send message to set smu
status, because smu doesn't support these messages under VF.

Besides, it should skip smu_suspend when pp_onevf_mode is disabled.

Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c