linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [ PATCH-LINK ] fb accel capabilities - take 2
@ 2004-05-28  1:11 Thomas Winischhofer
  2004-05-28  3:38 ` David Eger
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Winischhofer @ 2004-05-28  1:11 UTC (permalink / raw)
  To: linux-fbdev-devel


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).

You are aware of the fact that some of the fb drivers have maintainers. 
aren't you?

How about properly documenting what you actually do and let the driver 
maintainer handle the implementation?

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?

Thomas

-- 
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net          http://www.winischhofer.net/
twini AT xfree86 DOT org


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [ PATCH-LINK ] fb accel capabilities - take 2
@ 2004-05-28 11:58 Thomas Winischhofer
  2004-05-29  8:36 ` David Eger
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Winischhofer @ 2004-05-28 11:58 UTC (permalink / raw)
  To: linux-fbdev-devel

[-- 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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Screen Refresh
@ 2004-05-05 13:47 Lucas Correia Villa Real
  2004-05-15 13:58 ` [ PATCH-LINK ] fb accel capabilities - take 2 David Eger
  0 siblings, 1 reply; 8+ messages in thread
From: Lucas Correia Villa Real @ 2004-05-05 13:47 UTC (permalink / raw)
  To: linux-fbdev-devel

Hi,

I'm writing a device driver for a monochrome LCD display managed by a 
controller that will be plugged into the CPU through a SPI, that is, I cannot 
directly memory-map it's address, since the communication will be done via 
a serial interface.

I've seen good chunks of code tonight (fbcon.c, fbmem.c and fbcon_mfb.c), but 
an unique question still remains: I didn't see anywhere *how* the buffer is 
updated to the video card. As far I could see on others drivers that I've 
read, they are doing that by memory mapping the video card's memory, and 
hence any write done into the buffer will be automagically reflected on the 
screen.

On my case I probably won't be able to memory map it's video memory. So, is 
there a way to get notified (at driver level) when some write is going to 
happen? Or should I just install a timer and use some kind of 
double-buffering scheme to verify if changes happened?

Many thanks in advance,
Lucas


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-05-31  1:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28  1:11 [ PATCH-LINK ] fb accel capabilities - take 2 Thomas Winischhofer
2004-05-28  3:38 ` David Eger
2004-05-28  7:42   ` Antonino A. Daplas
  -- strict thread matches above, loose matches on Subject: below --
2004-05-28 11:58 Thomas Winischhofer
2004-05-29  8:36 ` David Eger
2004-05-30 11:44   ` Thomas Winischhofer
2004-05-31  1:08     ` 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

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).