All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antonino Daplas <adaplas@pol.net>
To: fbdev <linux-fbdev-devel@lists.sourceforge.net>
Subject: problem with gen_update_var
Date: 11 Jun 2002 00:41:12 +0800	[thread overview]
Message-ID: <1023690850.568.1.camel@daplas> (raw)

[-- Attachment #1: Type: text/plain, Size: 144 bytes --]

Hi,

gen_update_var will break panning/wrapping since it passes info->var to
fb_pan_display.  However, fbcon updates display->var.

Tony

 





[-- Attachment #2: fbgen.c.diff --]
[-- Type: text/plain, Size: 430 bytes --]

--- fbgen.c.orig	Mon Jun 10 06:30:29 2002
+++ fbgen.c	Mon Jun 10 06:26:44 2002
@@ -514,6 +514,9 @@
     
 	if (con == info->currcon) {
 		if (info->fbops->fb_pan_display) {
+			info->var.xoffset = fb_display[con].var.xoffset;
+			info->var.yoffset = fb_display[con].var.yoffset;
+			info->var.vmode = fb_display[con].var.vmode;
 			if ((err = info->fbops->fb_pan_display(&info->var, con, info)))
 				return err;
 		}

             reply	other threads:[~2002-06-10 16:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-10 16:41 Antonino Daplas [this message]
2002-06-17 19:27 ` problem with gen_update_var James Simmons
2002-06-17 19:58   ` Antonino Daplas
2002-06-17 20:38     ` James Simmons

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=1023690850.568.1.camel@daplas \
    --to=adaplas@pol.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.