mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "D. Hazelton" <dhazelton@enter.net>
To: "Dave Airlie" <airlied@gmail.com>
Cc: Alan <alan@lxorguk.ukuu.org.uk>, "Adam Jackson" <ajax@nwnk.net>,
	"Arjan van de Ven" <arjan@infradead.org>,
	"Casey Dahlin" <cjdahlin@ncsu.edu>,
	linux-kernel@vger.kernel.org
Subject: Re: Overriding X on panic
Date: Sun, 26 Nov 2006 17:42:39 -0500	[thread overview]
Message-ID: <200611261742.39469.dhazelton@enter.net> (raw)
In-Reply-To: <21d7e9970611261419s12da9881h1f19adcf11756769@mail.gmail.com>

On Sunday 26 November 2006 17:19, Dave Airlie wrote:
> On 11/27/06, Alan <alan@lxorguk.ukuu.org.uk> wrote:
> > On Sun, 26 Nov 2006 09:18:41 +0100
> >
> > Arjan van de Ven <arjan@infradead.org> wrote:
> > > > The mode switch sequences for modern cards are a bit more hairy than
> > > > lists of I/O poking unfortunately.
> > >
> > > for the Intel hw Keith doesn't seem to think it's all that much of a
> > > problem though...
> >
> > Including the TV out, odder LCD panels, non BIOS modes etc ? If so then
> > it might be an interesting test case for intelfb to grow some kind of
> > console helper interface
>
> It's non-trivial, I think you are better off going initially with just
> using the current framebuffer that X is using, I know ajax was doing
> some hacking on this with a "user"-framebuffer, until I disuaded him
> due to I think the trouble caused by dual-head and something else I
> can't remember..
>
> I personally think we need to probably just bite the bullet and start
> sticking graphics drivers into the kernel, the new randr-1.2 interface
> for X is probably a good starting point for a generic mode setting
> interface that isn't so X dependent and could replace fbdev with
> something more sane wrt dualhead and multiple outputs... fbdev could
> be implemented on top of that layer then.. also suspend/resume really
> needs this sort of thing....

I've been working on this myself. Unfortunately the box I was using for devel 
has died and the start I made on the work was lost several months ago when I 
had a hard drive die on me. (I really need to go buy a UPS and a better surge 
protector - the box I was doing devel on bought it in a lightning strike and 
the hard drive I had used as a backup just died)

> My main worry with integrating graphics drivers into the kernel is
> that when they don't work the user gets no screen, with network/sound
> etc this isn't so bad, but if they can't see a screen debugging gets
> to be a bit more difficult....

Yeah - this is why the work I was doing kept the old vgacon around and used 
fbcon on those platforms that needed it (unchanged). My plan was to add a 
graphics system that would "take over" from the boot console when it was 
ready to take over.

DRH

  reply	other threads:[~2006-11-26 22:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-25  5:54 Casey Dahlin
2006-11-25  8:32 ` Arjan van de Ven
2006-11-25 16:10   ` Alan
2006-11-26  2:48     ` Matthew Garrett
2006-11-26  8:18     ` Arjan van de Ven
2006-11-26 14:22       ` Alan
2006-11-26 22:19         ` Dave Airlie
2006-11-26 22:42           ` D. Hazelton [this message]
2006-11-29 13:57           ` Pavel Machek
2006-11-25 16:09 ` Alan
2006-11-26 12:40   ` James Courtier-Dutton

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=200611261742.39469.dhazelton@enter.net \
    --to=dhazelton@enter.net \
    --cc=airlied@gmail.com \
    --cc=ajax@nwnk.net \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=arjan@infradead.org \
    --cc=cjdahlin@ncsu.edu \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®