diff options
author | Laurent Pinchart <[email protected]> | 2019-08-24 00:23:53 +0300 |
---|---|---|
committer | Paul Cercueil <[email protected]> | 2019-08-29 12:01:32 +0200 |
commit | 807f6c8472da716e29744e1fa35480b08af3e4bc (patch) | |
tree | 2bcaeb4484ec5df79fd522e7f27786485ca00160 | |
parent | 6978bce054247e4cfccdf689ce263e076499f905 (diff) |
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]>
-rw-r--r-- | drivers/gpu/drm/ingenic/ingenic-drm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c index e9f9e9fb9b17..6381652a8829 100644 --- a/drivers/gpu/drm/ingenic/ingenic-drm.c +++ b/drivers/gpu/drm/ingenic/ingenic-drm.c @@ -656,10 +656,9 @@ static int ingenic_drm_probe(struct platform_device *pdev) return ret; } - if (panel) { + if (panel) bridge = devm_drm_panel_bridge_add(dev, panel, - DRM_MODE_CONNECTOR_Unknown); - } + DRM_MODE_CONNECTOR_DPI); priv->dma_hwdesc = dma_alloc_coherent(dev, sizeof(*priv->dma_hwdesc), &priv->dma_hwdesc_phys, |