From: "Michel Dänzer" <michel@daenzer.net>
To: Antonino Daplas <adaplas@pol.net>
Cc: fbdev <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: Comments on fbgen.c and fbcon-accel.c
Date: 07 May 2002 00:24:59 +0200 [thread overview]
Message-ID: <1020723899.2536.7357.camel@tibook> (raw)
In-Reply-To: <1020535355.797.0.camel@daplas>
On Sat, 2002-05-04 at 20:01, Antonino Daplas wrote:
> On Sat, 2002-05-04 at 05:47, James Simmons wrote:
> >
> > > I have a few observations on fbgen and fbcon-accel.
>
> One more thing I've noticed with gen_set_var. Basically, gen_set_var
> will proceed if it satisfies 2 conditions -- during initialization (con
> < 0) and if the new var is different from the old var.
>
> The above is fine if everything is done in the console. However,
> problems may arise if an app that touches the graphics hardware (ie X)
> is launched. From the point of view of fbcon, the hardware state hasn't
> changed (compare of newvar with oldvar is false) when display is
> switched back to console. And if that app did not fully restore the
> hardware state, we will be left with a corrupted display.
>
> So, it's probably better if set_par() and pan_display() are allowed to
> proceed unconditionally within gen_set_var. It might take a few more
> milliseconds to switch consoles each time, but we are assured that the
> hardware state is always coherent with the current var.
>
> What do you think?
I think this is giving away an advantage. The X server is a bad example
as it can use the framebuffer device fine.
If it's really a problem, maybe we could figure out a way to detect when
it's safe to optimize stuff away or as a last resort make it an option?
--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
next prev parent reply other threads:[~2002-05-06 22:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1020419481.724.0.camel@daplas>
2002-05-03 21:47 ` [Linux-fbdev-devel] Comments on fbgen.c and fbcon-accel.c James Simmons
2002-05-04 15:48 ` Antonino Daplas
[not found] ` <1020535355.797.0.camel@daplas>
2002-05-06 22:24 ` Michel Dänzer [this message]
2002-05-07 1:34 ` Antonino Daplas
2002-05-07 8:00 ` Geert Uytterhoeven
2002-05-07 13:26 ` Antonino Daplas
2002-05-07 22:50 ` Michel Dänzer
2002-05-31 20:45 ` 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=1020723899.2536.7357.camel@tibook \
--to=michel@daenzer.net \
--cc=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.