All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs
@ 2018-02-23 11:44 ` Neil Armstrong
  0 siblings, 0 replies; 16+ messages in thread
From: Neil Armstrong @ 2018-02-23 11:44 UTC (permalink / raw)
  To: airlied, architt, a.hajda
  Cc: Neil Armstrong, Jose.Abreu, dri-devel, linux-kernel

The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also
identified needing this workaround.
This patch adds the corresponding version to enable a single iteration for
this specific version.

Fixes: be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index a38db40..f5018f9 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -1637,6 +1637,8 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)
 	 * (and possibly on the platform). So far only i.MX6Q (v1.30a) and
 	 * i.MX6DL (v1.31a) have been identified as needing the workaround, with
 	 * 4 and 1 iterations respectively.
+	 * The Amlogic Meson GX SoCs (v2.01a) have been identifies as needing
+	 * the workaround with a single iteration.
 	 */
 
 	switch (hdmi->version) {
@@ -1644,6 +1646,7 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)
 		count = 4;
 		break;
 	case 0x131a:
+	case 0x201a:
 		count = 1;
 		break;
 	default:
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-04-26  8:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23 11:44 [PATCH] drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs Neil Armstrong
2018-02-23 11:44 ` Neil Armstrong
2018-03-06  9:53 ` Neil Armstrong
2018-03-06  9:53   ` Neil Armstrong
2018-03-06 10:24   ` Archit Taneja
2018-04-19  8:18 ` Neil Armstrong
2018-04-19  8:18   ` Neil Armstrong
2018-04-19  8:18   ` Neil Armstrong
2018-04-19  8:27   ` Greg KH
2018-04-19  8:27     ` Greg KH
2018-04-19  8:27     ` Greg KH
2018-04-26  8:38     ` Neil Armstrong
2018-04-26  8:38       ` Neil Armstrong
2018-04-26  8:38       ` Neil Armstrong
2018-04-26  8:59       ` Greg KH
2018-04-26  8:59         ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.