gfx: overlay: Clip the overlay correctly
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Mar 2012 13:25:44 +0000 (15:25 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:46 +0000 (12:30 +0300)
commite61b51a0d6f88b7b25f8048e52c2aad64e408c36
tree6c374cbbbc207acdd1cdb79961924c1b2b2d6093
parent409f9fd4e3839c8c82cc5db974e7aa37b0eae9f0
gfx: overlay: Clip the overlay correctly

When the panel fitter is used the overlay output is scaled by the panel
fitter as well. So to correctly clip the overlay to the screen edges
user the information in crtc->mode instead of crtc->hwmode.

Issue: ANDROID-1462
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/staging/mrst/drv/mdfld_overlay.c