drm/amd/display: Add tunneling IRQ handler
authorCruise Hung <Cruise.Hung@amd.com>
Thu, 20 Feb 2025 03:29:50 +0000 (11:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:41:08 +0000 (10:41 -0500)
commitc286e8501adedc2a22620a5c60dcd14286b38514
tree5f133d35dfd60f3ee497d5542b0e47611e0a77e8
parent5ad8eed17232410edd127a00c3ed8ab1c03972e1
drm/amd/display: Add tunneling IRQ handler

USB4 DP BW Allocation uses DP_TUNNELING_IRQ to indicate the status update.
The DP_TUNNELING_IRQ is defined in LINK_SERVICE_IRQ_VECTOR_ESI0. When
receiving DP HPD IRQ in USB4, read the LINK_SERVICE_IRQ_VECTOR_ESI0.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Cruise Hung <Cruise.Hung@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dp_types.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c