2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/msm/dp
James A. MacInnes 83c4c67076 drm/msm/dp: Disable wide bus support for SDM845
When widebus was enabled for DisplayPort in commit c7c4122026
("drm/msm/dp: enable widebus on all relevant chipsets") it was clarified
that it is only supported on DPU 5.0.0 onwards which includes SC7180 on
DPU revision 6.2.  However, this patch missed that the description
structure for SC7180 is also reused for SDM845 (because of identical
io_start address) which is only DPU 4.0.0, leading to a wrongly enbled
widebus feature and corruption on that platform.

Create a separate msm_dp_desc_sdm845 structure for this SoC compatible,
with the wide_bus_supported flag turned off.

Fixes: c7c4122026 ("drm/msm/dp: enable widebus on all relevant chipsets")
Signed-off-by: James A. MacInnes <james.a.macinnes@gmail.com>
[DB: reworded commit text following Marijn's suggestion]
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/636944/
Link: https://lore.kernel.org/r/20250212-sdm845_dp-v2-1-4954e51458f4@gmail.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2025-06-09 01:31:42 +03:00
..
dp_audio.c drm/msm/dp: reuse generic HDMI codec implementation 2025-05-02 03:54:03 +03:00
dp_audio.h drm/msm/dp: reuse generic HDMI codec implementation 2025-05-02 03:54:03 +03:00
dp_aux.c drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_aux.h drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_catalog.c drm/msm/dp: drop obsolete audio headers access through catalog 2024-12-22 09:25:42 +02:00
dp_catalog.h drm/msm/dp: drop obsolete audio headers access through catalog 2024-12-22 09:25:42 +02:00
dp_ctrl.c drm/msm/dp: Introduce link training per-segment for LTTPRs 2025-05-12 19:18:49 +03:00
dp_ctrl.h drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_debug.c drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_debug.h drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_display.c drm/msm/dp: Disable wide bus support for SDM845 2025-06-09 01:31:42 +03:00
dp_display.h drm/msm/dp: reuse generic HDMI codec implementation 2025-05-02 03:54:03 +03:00
dp_drm.c drm/msm/dp: reuse generic HDMI codec implementation 2025-05-02 03:54:03 +03:00
dp_drm.h drm/bridge: Pass full state to atomic_post_disable 2025-02-19 16:59:13 +01:00
dp_link.c drm/display: dp: change drm_dp_dpcd_read_link_status() return value 2025-03-25 16:20:38 +02:00
dp_link.h drm/msm/dp: Prepare for link training per-segment for LTTPRs 2025-05-12 19:18:49 +03:00
dp_panel.c drm/msm/dp: Account for LTTPRs capabilities 2025-05-12 19:18:49 +03:00
dp_panel.h drm/msm/dp: drop struct msm_dp_panel_in 2024-12-22 09:25:59 +02:00
dp_reg.h drm/msm/dp: enable SDP and SDE periph flush update 2024-03-04 11:38:51 +02:00
dp_utils.c drm/msm/dp: fix msm_dp_utils_pack_sdp_header interface 2024-12-02 18:41:42 -08:00
dp_utils.h drm/msm/dp: fix msm_dp_utils_pack_sdp_header interface 2024-12-02 18:41:42 -08:00