1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/link
Ilya Bakoulin 2faa3653d6 drm/amd/display: Work around bad DPCD state on link loss
[Why]
This display doesn't properly indicate link loss through DPCD bits such
as CR_DONE / CHANNEL_EQ_DONE / SYMBOL_LOCKED / INTERLANE_ALIGN_DONE,
which all remain set.

In addition, DPCD200Eh doesn't match the value of DPCD204h in all cases.

For these reasons, we can miss re-training the link, since we don't
properly detect link loss with this display.

[Why]
Add display-specific workaround to read DPCD204h, so that we can detect
link loss based on 128b132b-specific status bits in this register.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Ilya Bakoulin <ilya.bakoulin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-06-30 13:11:35 -04:00
..
accessories drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
hwss drm/amd/display: Clean FPGA code in dc 2023-06-09 10:44:11 -04:00
protocols drm/amd/display: Work around bad DPCD state on link loss 2023-06-30 13:11:35 -04:00
link_detection.c drm/amd/display: limit DPIA link rate to HBR3 2023-06-15 10:44:57 -04:00
link_detection.h drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
link_dpms.c drm/amd/display: Add control flag to dc_stream_state to skip eDP BL off/link off 2023-06-09 12:41:29 -04:00
link_dpms.h drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
link_factory.c drm/amd/display: Convert connector signal id to string 2023-06-09 09:39:41 -04:00
link_factory.h drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
link_hwss_hpo_frl.c drm/amd/display: extract set stream attribute to link_hwss 2022-04-05 10:29:48 -04:00
link_resource.c drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
link_resource.h drm/amd/display: convert link.h functions to function pointer style 2023-03-14 15:35:03 -04:00
link_validation.c drm/amd/display: enable dpia validate 2023-06-09 09:39:22 -04:00
link_validation.h drm/amd/display: Add function pointer for validate bw usb4 2023-03-22 00:59:45 -04:00
Makefile drm/amd/display: link link_dp_dpia_bw.o in makefile 2023-03-07 14:22:40 -05:00