]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform
authorEvan Quan <evan.quan@amd.com>
Fri, 17 Dec 2021 11:05:06 +0000 (19:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Dec 2021 18:08:28 +0000 (13:08 -0500)
commitb18d369a9473f83882de50dd91d5c088307578f8
tree3562d5ee76b32d318df8d5332836fdd7a5246f46
parentb890ad00836d61ad28333982f398238f2908eeda
drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform

By setting mp1_state as PP_MP1_STATE_UNLOAD, MP1 will do some proper cleanups and
put itself into a state ready for PNP. That can workaround some random resuming
failure observed on BOCO capable platforms.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c