From: "Antonino A. Daplas" <adaplas@gmail.com>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: Knut Petersen <Knut_Petersen@t-online.de>
Subject: Re: BUG: fb_imageblit called before fb_check_var and fb_set_par function
Date: Thu, 25 Aug 2005 22:05:26 +0800 [thread overview]
Message-ID: <430DD026.2070303@gmail.com> (raw)
In-Reply-To: <430DB8E6.8000204@t-online.de>
Knut Petersen wrote:
> Hi everybody,
>
> under certain circumstances the X trident driver does disable mmio
> upon returning to a linux console. As mapped ioports are no longer
> available, this is an immediate problem.
>
> I never had expected that upon switching from X to a linux console
> drawing functions like fb_imageblit would be called before the
> fb_check_var and fb_set_par functions have been called. But that´s
> definitely the case.
>
I'm surprised. That was a problem in earlier versions of the kernel
but I think that was fixed. If you look at fbcon code, all calls to
drawing functions:
putcs, bmove, scroll, cursor, flashcursor, etc has an
if (fbcon_is_inactive()) in the beginning.
And everytime the vt switches from KD_GRAPHICS to KD_TEXT (ie from X),
a set_var()/ set_par() will be called automatically to reset the fbdev
drivers before the "drawing" functions are called.
Can you instrument where this is happening? Because if it still is,
then that is a show-stopping bug.
Tony
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
next prev parent reply other threads:[~2005-08-25 14:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-25 12:26 BUG: fb_imageblit called before fb_check_var and fb_set_par function Knut Petersen
2005-08-25 14:05 ` Antonino A. Daplas [this message]
2005-08-25 15:59 ` Knut Petersen
2005-08-25 18:09 ` Antonino A. Daplas
2005-08-26 8:23 ` Knut Petersen
2005-08-26 14:01 ` Antonino A. Daplas
2005-08-26 16:30 ` Knut Petersen
2005-08-26 17:00 ` Antonino A. Daplas
2005-08-26 18:21 ` Knut Petersen
2005-08-27 0:36 ` Antonino A. Daplas
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=430DD026.2070303@gmail.com \
--to=adaplas@gmail.com \
--cc=Knut_Petersen@t-online.de \
--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.