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

Commit 46a93041 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

drm/omap: fix WBDELAYCOUNT for HDMI



For HDMI, WBDELAYCOUNT starts counting at the start of vsync, not at the
start of vfp.

This patch adjusts the wbdelay for HDMI accordingly.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 9f7853ae
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2816,6 +2816,10 @@ int dispc_wb_setup(struct dispc_device *dispc,
	} else {
		int wbdelay;

		if (channel_in == DSS_WB_TV_MGR)
			wbdelay = min(vm->vsync_len + vm->vback_porch,
				(u32)255);
		else
			wbdelay = min(vm->vfront_porch +
				vm->vsync_len + vm->vback_porch, (u32)255);