aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJayesh Choudhary2024-11-07 04:30:22 -0600
committerPraneeth Bajjuri2024-11-07 11:49:28 -0600
commit118cf0c8b392bed94437f1519de10b63705dbacd (patch)
tree7806079146c6f98e1d8e97f02300376cf4b89846
parentfdbf7ac7428ef133553e63a2fa7872662edcee54 (diff)
downloadti-linux-kernel-118cf0c8b392bed94437f1519de10b63705dbacd.tar.gz
ti-linux-kernel-118cf0c8b392bed94437f1519de10b63705dbacd.tar.xz
ti-linux-kernel-118cf0c8b392bed94437f1519de10b63705dbacd.zip
HACK: drm/panel-edp: remove ddc support for TI platformscicd.scarthgap.20241107152910.01.06
DDC is adding non-functional modes in the connector. Remove this support for TI platforms where we use 800x600 resolution. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com> Tested-by: Harikrishna Shenoy <h-shenoy@ti.com> Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
-rw-r--r--drivers/gpu/drm/panel/panel-edp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index 523a4c8bc1eb..813f33b67dae 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -878,7 +878,8 @@ static int panel_edp_probe(struct device *dev, const struct panel_desc *desc,
878 if (!panel->ddc) 878 if (!panel->ddc)
879 return -EPROBE_DEFER; 879 return -EPROBE_DEFER;
880 } else if (aux) { 880 } else if (aux) {
881 panel->ddc = &aux->ddc; 881 if (!of_device_is_compatible(dev->of_node, "ti,panel-edp"))
882 panel->ddc = &aux->ddc;
882 } 883 }
883 884
884 if (!of_get_display_timing(dev->of_node, "panel-timing", &dt)) 885 if (!of_get_display_timing(dev->of_node, "panel-timing", &dt))