public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Stone <daniel.stone@nokia.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: FB: Properly initialise struct in full-screen update
Date: Mon, 2 Apr 2007 17:53:36 +0300	[thread overview]
Message-ID: <20070402162902.EEAF5CEF47@intune.research.nokia.com> (raw)

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

             reply	other threads:[~2007-04-02 14:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02 14:53 Daniel Stone [this message]
2007-04-03 18:24 ` [PATCH] ARM: OMAP: FB: Properly initialise struct in full-screen update Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070402162902.EEAF5CEF47@intune.research.nokia.com \
    --to=daniel.stone@nokia.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox