summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
diff options
context:
space:
mode:
authorYifan Zha <Yifan.Zha@amd.com>2022-08-23 13:54:57 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-09-01 15:11:57 -0400
commit72be7316587835e0c76dad472569453e902b562e (patch)
treed2aece432242225908329ab8309cb75e9e41af6c /drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
parent828418259254863e0af5805bd712284e2bd88e3b (diff)
downloadlinux-72be7316587835e0c76dad472569453e902b562e.tar.bz2
drm/amd: Skip smu_v13 register irq on SRIOV VF
[Why] VF do not need to handle SMU IRQ state. L1 Policy will block VF access THM_THERMAL_INT_CTRL and MP1_SMN_IH_SW_INT/CNTL. [How] Skip smu_v13 init register_irq_handler under SRIOV VF. And add irq_src check in enable/disable thermal alert to avoid thermal alert enable/disable fail. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Yifan Zha <Yifan.Zha@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c')
0 files changed, 0 insertions, 0 deletions