linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Eger <eger-sender-da68b9@theboonies.us>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linux Frame Buffer Device Development
	<linux-fbdev-devel@lists.sourceforge.net>,
	James Simmons <jsimmons@infradead.org>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: Re: [PATCH 0/3] fb accel capabilities (aka fast radeon fb, the right way)
Date: Thu, 13 May 2004 08:26:44 -0400	[thread overview]
Message-ID: <1084451204.40a369846f626@mail.theboonies.us> (raw)
In-Reply-To: <Pine.GSO.4.58.0405131309030.9790@waterleaf.sonytel.be>

Quoting Geert Uytterhoeven <geert@linux-m68k.org>:

> > Specifically, I've added a .hwaccel field to fb_fix_screeninfo, which
> > should serve as the way framebuffers pass hints to higher layers.
>
> I think we agreed to put it in fb_info instead, since it doesn't really
> matter for user space.

It doesn't so much matter to me.  I just saw some built-in padding in
fb_fix_screeninfo I could steal..

> > This should totally obsolete the accel_flags in var (which till now has
> > had one half-heartedly used value FB_ACCELF_TEXT).
>
> Well, we still need a way to know when the fbdev has to reinitialize its
> accel engine, when switching the console from graphics mode (user space
> does accel) to text mode (kernel uses accel). Currently this is done when
> FB_ACCELF_TEXT is set.

thought this was changed to KD_GRAPHICS and KD_TEXT...

> BTW, we've been talking about allowing kernel messages (mainly oops and
> panic) to show up under X. Since we cannot use the accel engine for that,
> perhaps we need different routines for fb_{fillrect,copyarea,imageblit}()
> for the accelerated vs. non-accelerated cases? And fbcon could compare
> the function pointers, instead of looking at .hwaccel.

If we want the console to display an oops under X then the drawing functions
need to be smart enough to grok the current mode/state of the accel engine and
not rely on var.  Is that what we want?

Comparing pointers just won't work, though.  For example, the radeon driver
decides whether to call the cfb_fillrect() functions or do real hw accel from
within radeonfb_fillrect().

-dte


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click

  reply	other threads:[~2004-05-13 12:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-12 23:45 [PATCH 0/3] fb accel capabilities (aka fast radeon fb, the right way) David Eger
2004-05-12 23:47 ` [PATCH 1/3] fb accel capabilities (radeonfb copyarea() fix) David Eger
2004-05-12 23:49   ` [PATCH 2/3] fb accel capabilities (james' fbcon init cleanup) David Eger
2004-05-12 23:50   ` [PATCH 3/3] fb accel capabilities (the main patch) David Eger
2004-05-13 11:39     ` [PATCH 4/3] fb accel capabilities (more fb.h flags) David Eger
2004-05-13 11:39     ` [PATCH 5/3] fb accel capabilities (aty/aty*, aty/mach64*) David Eger
2004-05-13 11:15 ` [PATCH 0/3] fb accel capabilities (aka fast radeon fb, the right way) Geert Uytterhoeven
2004-05-13 12:26   ` David Eger [this message]
2004-05-13 22:52   ` Benjamin Herrenschmidt

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=1084451204.40a369846f626@mail.theboonies.us \
    --to=eger-sender-da68b9@theboonies.us \
    --cc=benh@kernel.crashing.org \
    --cc=eger-dated-1085056009.2e1759@theboonies.us \
    --cc=geert@linux-m68k.org \
    --cc=jsimmons@infradead.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).