public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: FB: Properly initialise struct in full-screen update
@ 2007-04-02 14:53 Daniel Stone
  2007-04-03 18:24 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Stone @ 2007-04-02 14:53 UTC (permalink / raw)
  To: linux-omap-open-source

Make sure out_x, out_y, out_width and out_height are initialised when we
perform a full-screen update.

This hunk appears to have been dropped from the N800 omapfb merge.

Signed-off-by: Daniel Stone <daniel.stone@nokia.com>
---
 drivers/video/omap/omapfb_main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c
index 52de408..7915b1e 100644
--- a/drivers/video/omap/omapfb_main.c
+++ b/drivers/video/omap/omapfb_main.c
@@ -756,6 +756,10 @@ static int omapfb_update_full_screen(str
 	win.y = 0;
 	win.width = fbi->var.xres;
 	win.height = fbi->var.yres;
+	win.out_x = 0;
+	win.out_y = 0;
+	win.out_width = fbi->var.xres;
+	win.out_height = fbi->var.yres;
 	win.format = 0;
 
 	omapfb_rqueue_lock(fbdev);
-- 
1.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-03 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-02 14:53 [PATCH] ARM: OMAP: FB: Properly initialise struct in full-screen update Daniel Stone
2007-04-03 18:24 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox