]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm/dp: do not touch the MMSS_DP_INTF_CONFIG for tpg
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Mon, 2 Dec 2024 20:41:59 +0000 (12:41 -0800)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Thu, 12 Dec 2024 19:32:52 +0000 (11:32 -0800)
commit9ffbf5ef0e8d6e1b76440a6d77311d0c5d6e3979
treee9a556b87448c436ed499b48133addcbd86929d9
parentce55101e6ba188296dbdb9506665d26f23110292
drm/msm/dp: do not touch the MMSS_DP_INTF_CONFIG for tpg

MMSS_DP_INTF_CONFIG has already been setup by the main datapath
for DP to account for widebus to be used/unused etc.

In current implementation, TPG only switches the DP controller
to use the main datapath stream OR use the test pattern but expects
the rest of the controller to be already setup.

Keeping the same behavior intact, drop the clearing of MMSS_DP_INTF_CONFIG
from the msm_dp_catalog_panel_tpg_enable() API.

Fixes: 757a2f36ab09 ("drm/msm/dp: enable widebus feature for display port")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/626888/
Link: https://lore.kernel.org/r/20241202-tpg-v1-2-0fd6b518b914@quicinc.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/dp/dp_catalog.c