diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-24 00:23:53 +0300 |
---|---|---|
committer | Paul Cercueil <paul@crapouillou.net> | 2019-08-29 13:01:32 +0300 |
commit | 807f6c8472da716e29744e1fa35480b08af3e4bc (patch) | |
tree | 2bcaeb4484ec5df79fd522e7f27786485ca00160 /drivers | |
parent | 6978bce054247e4cfccdf689ce263e076499f905 (diff) | |
download | linux-807f6c8472da716e29744e1fa35480b08af3e4bc.tar.xz |
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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190823212353.29369-1-laurent.pinchart@ideasonboard.com
# *** extracted tags ***
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'drivers')
-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, |