mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 04:23:35 +02:00
[Why] Observe error message "Can't retrieve aconnector in hpd_rx_irq_offload_work" when boot up with a mst tbt4 dock connected. After analyzing, there are few parts needed to be adjusted: 1. hpd_rx_offload_wq[].aconnector is not initialzed before the dmub outbox hpd_irq handler get registered which causes the error message. 2. registeration of hpd and hpd_rx_irq event for usb4 dp tunneling is not aligned with legacy interface sequence [How] Put DMUB_NOTIFICATION_HPD and DMUB_NOTIFICATION_HPD_IRQ handler registration into register_hpd_handlers() to align other interfaces and get hpd_rx_offload_wq[].aconnector initialized earlier than that. Leave DMUB_NOTIFICATION_AUX_REPLY registered as it was since we need that while calling dc_link_detect(). USB4 connection status will be proactively detected by dc_link_detect_connection_type() in amdgpu_dm_initialize_drm_device() Cc: Stable <stable@vger.kernel.org> Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
|---|---|---|
| .. | ||
| amdgpu_dm_color.c | ||
| amdgpu_dm_crc.c | ||
| amdgpu_dm_crc.h | ||
| amdgpu_dm_crtc.c | ||
| amdgpu_dm_crtc.h | ||
| amdgpu_dm_debugfs.c | ||
| amdgpu_dm_debugfs.h | ||
| amdgpu_dm_hdcp.c | ||
| amdgpu_dm_hdcp.h | ||
| amdgpu_dm_helpers.c | ||
| amdgpu_dm_irq_params.h | ||
| amdgpu_dm_irq.c | ||
| amdgpu_dm_irq.h | ||
| amdgpu_dm_mst_types.c | ||
| amdgpu_dm_mst_types.h | ||
| amdgpu_dm_plane.c | ||
| amdgpu_dm_plane.h | ||
| amdgpu_dm_pp_smu.c | ||
| amdgpu_dm_psr.c | ||
| amdgpu_dm_psr.h | ||
| amdgpu_dm_replay.c | ||
| amdgpu_dm_replay.h | ||
| amdgpu_dm_services.c | ||
| amdgpu_dm_trace.h | ||
| amdgpu_dm_wb.c | ||
| amdgpu_dm_wb.h | ||
| amdgpu_dm.c | ||
| amdgpu_dm.h | ||
| dc_fpu.c | ||
| dc_fpu.h | ||
| Makefile | ||