drm/amdgpu/swsmu: add interrupt work handler for smu11 parts
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Oct 2020 14:43:28 +0000 (10:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Oct 2020 14:43:28 +0000 (10:43 -0400)
commit234676d6dbbcd8b2a495e76efdc69e24c0aa300f
tree4d7334ccdc713db398708c0feb0b94d2096490a9
parent1a8a763b218cef8cf881fc0d1d739283db24c167
drm/amdgpu/swsmu: add interrupt work handler for smu11 parts

We need to schedule the smu AC/DC interrupt ack to avoid
potentially sleeping if the smu message mutex is contended.

Fixes: e1188aacad1730 ("drm/amdgpu/smu11: add support for SMU AC/DC interrupts")
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/smu_v11_0.h
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c