]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
OMAPDSS: DISPC: Fix 34xx overlay scaling calculation
authorIvaylo Dimitrov <freemangordon@abv.bg>
Mon, 13 Jan 2014 16:33:02 +0000 (18:33 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 14 Jan 2014 08:06:45 +0000 (10:06 +0200)
commite4998634dd3874e24bbf7937305c5ac708243908
tree9722b5e03d8e5fdadbb19b671591034e677aad47
parent0eb0dafb674cd6bfac2e3204b2f8b907e26b1138
OMAPDSS: DISPC: Fix 34xx overlay scaling calculation

commit 7faa92339bbb1e6b9a80983b206642517327eb75 OMAPDSS: DISPC: Handle
synclost errors in OMAP3 introduces limits check to prevent SYNCLOST errors
on OMAP3. However, it misses the logic found in Nokia kernels that is
needed to correctly calculate whether 3 tap or 5 tap rescaler to be used as
well as the logic to fallback to 3 taps if 5 taps clock results in too
tight horizontal timings. Without that patch "horizontal timing too tight"
errors are seen when a video with resolution above 640x350 is tried to be
played. The patch is a forward-ported logic found in Nokia N900 and N9/50
kernels.

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c