From: Thomas Winischhofer <thomas@winischhofer.net>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [ PATCH-LINK ] fb accel capabilities - take 2
Date: Fri, 28 May 2004 13:58:35 +0200 [thread overview]
Message-ID: <40B7296B.4030804@winischhofer.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: Re: [Linux-fbdev-devel] [ PATCH-LINK ] fb accel capabilities - take 2 --]
[-- Type: message/rfc822, Size: 3753 bytes --]
From: Thomas Winischhofer <thomas@winischhofer.net>
To: David Eger <eger@theboonies.us>
Subject: Re: [Linux-fbdev-devel] [ PATCH-LINK ] fb accel capabilities - take 2
Date: Fri, 28 May 2004 13:27:33 +0200
Message-ID: <40B72225.4090901@winischhofer.net>
David Eger wrote:
> Thomas Winischhofer eloquently put:
>
>>David Eger wrote:
>> > If the patch looks good to you (James, Geert, BenH), I'd like to
>> > forward it on to Linus followed by the individual driver updates
>> > (that'll take a little longer -- I need to revise how drivers do
>> > things like remember noaccel, etc. and update them).
>>
>>How about properly documenting what you actually do and let the driver
>>maintainer handle the implementation?
>
>
> see the update to skeletonfb.c
I saw that but no explanation on eg. the new PAN flags; what has hw
accel with panning to do? Or do these just mean that the driver CAN pan?
>>General question (not to you only): How about considering the 2.6 series
>>as "stable" as everybody else does and keep it to fixing bugs instead of
>>change the driver API the Xth time?
>
>
>
> If you want to handle the fix for sisfb, please do, I'll skip over that one ;-)
Yes please. However, you may very well do the changes yourself, but
please mail them to me as the maintainer and not directly to the kernel
maintainer.
> It's all part of fixing bugs ;-) When my "accelerated" fb driver is still
> super-slow, i consider that a bug. And it's a bug of the framebuffer
> subsystem, not really of the drivers. Your lovely
> SiS310SubsequentScreenToScreenCopy() and friends (do I smell xfree86 code here?
> ;-) )
Yes, you do ;) (I wrote that, too, so it would have been a waste not
recycling it)
> would probably work great if they were ever called. Currently, they're
> not :-P
Erm, I wasn't aware of this. Interesting... Personally, since sisfb does
y-panning I didn't see any speed regressions compared with 2.4 yet.
> The patch (a later version mailed to lkml against mainline) fixes an issue
> discussed in a large thread previously. The Linux 2.6 fbdriver/kernel
> interface is opaque as to what hardware acceleration a video card *actually*
> provides. There are a bunch of entry-points, but they're often done by
> software. This patch fixes the framebuffer interface so that fbcon (currently
> the only app that really lives on top of the fb subsystem) can sanely choose
> its method of rendering.
I thought the acceleration features are all used opaquely (?) through
the fb_ops structure... what's that one good for if I also need to set a
flag for each supported function? The NULLs in the structure are to be
filled out by the layer above using the non-accelerated functions.... Me
thought.
Allright, keep on doing what you do. But please be more verbose in the
include files as to what the flags actually mean.
Are these to set/cleared exclusively by the driver or must the driver
expect them to change? (I mean for example that fbset in 2.4 could be
used to disable acceleration, which is important to DirectFB)
Is there any driver already finished so that I can look it up somewhere?
Will an old driver (status as of now) work at all with the new flags not
being touched? Will it compile? (That *should* work IMHO)
Thomas
--
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net http://www.winischhofer.net/
twini AT xfree86 DOT org
next reply other threads:[~2004-05-28 11:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-28 11:58 Thomas Winischhofer [this message]
2004-05-29 8:36 ` [ PATCH-LINK ] fb accel capabilities - take 2 David Eger
2004-05-29 12:14 ` fbset noaccel David Eger
2004-05-31 1:08 ` Antonino A. Daplas
2004-05-30 11:44 ` [ PATCH-LINK ] fb accel capabilities - take 2 Thomas Winischhofer
2004-05-31 1:08 ` Antonino A. Daplas
-- strict thread matches above, loose matches on Subject: below --
2004-05-28 1:11 Thomas Winischhofer
2004-05-28 3:38 ` David Eger
2004-05-28 7:42 ` Antonino A. Daplas
2004-05-05 13:47 Screen Refresh Lucas Correia Villa Real
2004-05-15 13:58 ` [ PATCH-LINK ] fb accel capabilities - take 2 David Eger
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=40B7296B.4030804@winischhofer.net \
--to=thomas@winischhofer.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 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).