Commit bf25dac3 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Tomi Valkeinen

drm: omapdrm: Fix DPI on platforms using the DSI VDDS

Commit d178e034 ("drm: omapdrm: Move FEAT_DPI_USES_VDDS_DSI feature
to dpi code") replaced usage of platform data version with SoC matching
to configure DPI VDDS. The SoC match entries were incorrect, they should
have matched on the machine name instead of the SoC family. Fix it.

The result was observed on OpenPandora with OMAP3530 where the panel only
had the Blue channel and Red&Green were missing. It was not observed on
GTA04 with DM3730.

Fixes: d178e034 ("drm: omapdrm: Move FEAT_DPI_USES_VDDS_DSI feature to dpi code")
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reported-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Tested-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Cc: stable@vger.kernel.org # 4.14
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 23970e15
...@@ -566,8 +566,8 @@ static int dpi_verify_pll(struct dss_pll *pll) ...@@ -566,8 +566,8 @@ static int dpi_verify_pll(struct dss_pll *pll)
} }
static const struct soc_device_attribute dpi_soc_devices[] = { static const struct soc_device_attribute dpi_soc_devices[] = {
{ .family = "OMAP3[456]*" }, { .machine = "OMAP3[456]*" },
{ .family = "[AD]M37*" }, { .machine = "[AD]M37*" },
{ /* sentinel */ } { /* sentinel */ }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment