Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d15d9fd0 authored by Jonas Karlman's avatar Jonas Karlman Committed by Andrzej Hajda
Browse files

drm: bridge: dw-hdmi: Fix overflow workaround for Rockchip SoCs



The Rockchip RK3288 SoC (v2.00a) and RK3328/RK3399 SoCs (v2.11a) have
also been identified as needing this workaround with a single iteration.

Fixes: be41fc55 ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")
Signed-off-by: default avatarJonas Karlman <jonas@kwiboo.se>
Tested-by: default avatarHeiko Stueber <heiko@sntech.de>
Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/AM3PR03MB0966818FAAAE6192FF4ED11AAC7D0@AM3PR03MB0966.eurprd03.prod.outlook.com
parent 1a07a94b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1800,6 +1800,8 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)
	 * iteration for others.
	 * The Amlogic Meson GX SoCs (v2.01a) have been identified as needing
	 * the workaround with a single iteration.
	 * The Rockchip RK3288 SoC (v2.00a) and RK3328/RK3399 SoCs (v2.11a) have
	 * been identified as needing the workaround with a single iteration.
	 */

	switch (hdmi->version) {
@@ -1808,7 +1810,9 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)
		break;
	case 0x131a:
	case 0x132a:
	case 0x200a:
	case 0x201a:
	case 0x211a:
	case 0x212a:
		count = 1;
		break;