Skip to contentSkip to conversation

drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs

PATCH New Neil Armstrong 2 participants 2 messages Apr 19, 2018 – Apr 26, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs

commit 9c305eb442f3b371fc722ade827bbf673514123e upstream

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")
[narmstrong: s/identifies/identified and rebased against Jernej's change]
[narmstrong: v4.14 to v4.16 backport]
Cc <[email protected]> # 4.14.x
---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +3 -0
index bf14214..4db31b8 100644
@@ -1634,6 +1634,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 identified as needing
+	 * the workaround with a single iteration.
 	 */
 
 	switch (hdmi->version) {
@@ -1641,6 +1643,7 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)
 		count = 4;
 		break;
 	case 0x131a:
+	case 0x201a:
 		count = 1;
 		break;
 	default:
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs

Quoted 7 lines · Neil Armstrong

commit 9c305eb442f3b371fc722ade827bbf673514123e upstream

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.

Quoted 7 lines
Fixes be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")
[narmstrong: s/identifies/identified and rebased against Jernej's change]
[narmstrong: v4.14 to v4.16 backport]
Cc <[email protected]> # 4.14.x

Now applied, thanks.

greg k-h