Thread (19 messages) 19 messages, 5 authors, 2005-03-15

Re: Re: [PATCH][RFC] Add support for Epson S1D13806 FB

flat view

From: Antonino A. Daplas <hidden>
Date: 2005-03-14 15:06:15

On Monday 14 March 2005 22:35, Paul Mundt wrote:
On Mon, Mar 14, 2005 at 10:10:35PM +0800, Antonino A. Daplas wrote:
quoted
BTW, I would guess that scrolling is slow in this driver.  Since this
driver can do pan_display, If this:

info->flags = FBINFO_DEFAULT | FBINFO_HWACCEL_YPAN;

is added somewhere before register_framebuffer(), and var->xres_virtual >
var->xres, you might get a several-fold increase in scrolling speed
(since scrolling mode will be SCROLL_PAN_REDRAW instead of
SCROLL_REDRAW).
This is interesting. When FBINFO_HWACCEL_YPAN was added to hitfb, it slowed
down scrolling by several orders of magnitude. Perhaps it was something
relating to how the pan_display was implemented, but it's definitely not
a general win for everyone..
In the case of hitfb, fillrect and copyarea are both accelerated.  So the proper flags would
be:

FBINFO_DEFAULT | FBINFO_HWACCEL_YPAN | FBINFO_HWACCEL_COPYAREA |
FBINFO_HWACCEL_FILLRECT.

If you think that ypan has problems, then you can remove the
FBINFO_HWACCEL_YPAN part.

Tony




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help