Skip to content

Commit 807f6c8

Browse files
pinchartlpcercuei
authored andcommitted
drm/ingenic: Hardcode panel type to DPI
The ingenic driver supports DPI panels only at the moment, so hardcode their type to DPI instead of Unknown. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Paul Cercueil <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] # *** extracted tags *** Reviewed-by: Sam Ravnborg <[email protected]>
1 parent 6978bce commit 807f6c8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/gpu/drm/ingenic/ingenic-drm.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,10 +656,9 @@ static int ingenic_drm_probe(struct platform_device *pdev)
656656
return ret;
657657
}
658658

659-
if (panel) {
659+
if (panel)
660660
bridge = devm_drm_panel_bridge_add(dev, panel,
661-
DRM_MODE_CONNECTOR_Unknown);
662-
}
661+
DRM_MODE_CONNECTOR_DPI);
663662

664663
priv->dma_hwdesc = dma_alloc_coherent(dev, sizeof(*priv->dma_hwdesc),
665664
&priv->dma_hwdesc_phys,

0 commit comments

Comments
 (0)