drm: omapdrm: Fix DPI on platforms using the DSI VDDS
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 16 Nov 2017 08:50:19 +0000 (09:50 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 30 Nov 2017 10:25:37 +0000 (12:25 +0200)
commitbf25dac38f71d392a31ec074f55cbc941f1eaf1d
tree9c7f2f90e56f5725d777c77e05842f6f0ecc1363
parent23970e150a0a49f9a966c46e5d22fed06226098f
drm: omapdrm: Fix DPI on platforms using the DSI VDDS

Commit d178e034d565 ("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: d178e034d565 ("drm: omapdrm: Move FEAT_DPI_USES_VDDS_DSI feature to dpi code")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reported-by: H. Nikolaus Schaller <hns@goldelico.com>
Tested-by: H. Nikolaus Schaller <hns@goldelico.com>
Cc: stable@vger.kernel.org # 4.14
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dpi.c