]> git.karo-electronics.de Git - karo-tx-linux.git/commit
OMAP: DSS2: Fix update area calculations with multiple scaled overlays
authorTomi Valkeinen <tomi.valkeinen@nokia.com>
Wed, 9 Jun 2010 12:09:30 +0000 (15:09 +0300)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Tue, 3 Aug 2010 12:18:45 +0000 (15:18 +0300)
commit8cab90fdb4c71f9a92c09c015aee42ff2149b317
tree76d367e62d5bc784f10a74c62da45376f8723580
parent75c7d59daf502a4eb040e181120fb83b4a8c0719
OMAP: DSS2: Fix update area calculations with multiple scaled overlays

When there are multiple scaled overlays simply checking whether the update
area intersects any of them in order is not enough. If eg. VID1 starts out
completely outside the update area but VID2 causes the update area to
increase in such a way that VID1 now falls partially within the increased
update area VID1 should be rechecked and the update area possibly
increased even further to fully encompass VID1. So simply keep looping
over the overlays until such time that none of the overlays caused the
update area to change.

Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/dss/manager.c