]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Add LightSBR SMU MSG support
authorshaoyunl <shaoyun.liu@amd.com>
Wed, 10 Mar 2021 17:03:37 +0000 (12:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:25:43 +0000 (23:25 -0400)
commit98300d2cabd5d5d30065bda5fadc72b9e6e70423
treec9c02d3723a2b8ce97773494beb5934b18b5fbf8
parent037d6f7075e53adc325af3cbe5a095b441c6bc07
drm/amd/pm: Add LightSBR SMU MSG support

This new MSG provide the interface for driver to enable/disable the Light Secondary Bus Reset
support from SMU. When enabled, SMU will only do minimum NBIO response to the SBR request and
leave the real HW reset to be handled by driver later. When disabled (default state),SMU will
pass the request to PSP for a HW reset

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/inc/arcturus_ppsmc.h
drivers/gpu/drm/amd/pm/inc/smu_types.h
drivers/gpu/drm/amd/pm/inc/smu_v11_0.h
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c