]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: workaround for MFLAG + NV12 issue
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 19 Nov 2014 10:50:16 +0000 (12:50 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Feb 2015 10:15:14 +0000 (12:15 +0200)
commit084b7cf3d931b5a2bdb194d6030f6be81160abef
tree034c50bc3ff80ba7c89a018dd5177bbab2109e2b
parent5d0f196c14441ca897a8b6296a8e337e4a52080f
OMAPDSS: workaround for MFLAG + NV12 issue

It was found that having two displays enabled and having an NV12 overlay
on one of the displays will cause underflows/synclosts. Debugging this
pointed to some issue with MFLAG.

It is unclear why this issue is happening, but it looks like there is a
HW bug related to MFLAG and FIFO management. Disabling MFLAG makes this
issue go away, but then we lose the benefit of MFLAG. Also forcing MFLAG
always on makes the issue go away.

Also, using certain values for MFLAG_START, MFLAG thresholds and PRELOAD
makes the issue go away, but there was no obvious logic to which values
work and which don't.

As a workaround until more information about this is found, force MFLAG
always on to make NV12 usable.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dispc.c