DP Test Patten Generator is a very useful tool to debug issues such as blank screen or corruption seen on the DP monitor by isolating it to whether the corruption is coming from further upstream such as DPU OR from the DP controller and below. It was noted in [1] that this API is unused. Rather than dropping the API, it should be fixed and used. Hence, this series fixes the DP Test Patten Generator API and also utilizes it by adding a debugfs for it. [1] : https://patchwork.freedesktop.org/patch/623508/?series=141074&rev=1 To: Rob Clark <robdclark@xxxxxxxxx> To: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> To: Sean Paul <sean@xxxxxxxxxx> To: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx> To: David Airlie <airlied@xxxxxxxxx> To: Simona Vetter <simona@xxxxxxxx> To: Stephen Boyd <swboyd@xxxxxxxxxxxx> To: Kuogee Hsieh <quic_khsieh@xxxxxxxxxxx> Cc: linux-arm-msm@xxxxxxxxxxxxxxx Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx Cc: freedreno@xxxxxxxxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: Jessica Zhang <quic_jesszhan@xxxxxxxxxxx> Signed-off-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx> --- Abhinav Kumar (3): drm/msm/dp: account for widebus in msm_dp_catalog_panel_tpg_enable() drm/msm/dp: do not touch the MMSS_DP_INTF_CONFIG for tpg drm/msm/dp: add a debugfs node for using tpg drivers/gpu/drm/msm/dp/dp_catalog.c | 15 +++++++-- drivers/gpu/drm/msm/dp/dp_debug.c | 61 +++++++++++++++++++++++++++++++++++++ drivers/gpu/drm/msm/dp/dp_panel.h | 2 ++ 3 files changed, 76 insertions(+), 2 deletions(-) --- base-commit: 798bb342e0416d846cf67f4725a3428f39bfb96b change-id: 20241202-tpg-3f7543c036ac Best regards, -- Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx>