aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
authorWayne Lin <[email protected]>2024-02-02 09:34:11 +0000
committerAlex Deucher <[email protected]>2024-02-22 15:15:11 +0000
commitc9aef4f6c6d7cdc92a64ffe761c6921ec85157ae (patch)
tree1586951b7b783856f0c3fd79ae2a5f02b399349a /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
parentdrm/amd/display: Remove redundant FPU guard (diff)
downloadkernel-c9aef4f6c6d7cdc92a64ffe761c6921ec85157ae.tar.gz
kernel-c9aef4f6c6d7cdc92a64ffe761c6921ec85157ae.zip
drm/amd/display: adjust few initialization order in dm
[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 <[email protected]> Reviewed-by: Aurabindo Pillai <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
0 files changed, 0 insertions, 0 deletions