Thread (11 messages) 11 messages, 3 authors, 2003-05-13

RE: [PATCH 2.5.68] Epson 1355 Rewrite for 2.5

From: Christopher Hoover <hidden>
Date: 2003-05-07 08:33:22

The cfb generic code works wonderfully well on the EP7212 CPU/EPSON 1355
because the processor can do the math in 32-bits just fine, it just
needs to issue 16-bit reads and writes to the framebuffer memory.  Since
you had that nice FB{READ|WRITE} abstraction in there, it was easy to
make a small tweak to be able to use my own FB{READ|WRITE} routines that
break each (aligned) FB{READ|WRITE} into two 16-bit reads/writes.
That's all that has to happen.  I inlined the speical fb{read|write}
routines and got good code with decent performance.

What I'm hearing is that you woud prefer that I include my own routines
over the pre-processor hackery.  Be warned that it is mostly going to be
a cut-n-paste job -- even if I wrote the routines totally from scratch I
would handle 32-bits of pixel(s) at a time.

I shall plow forward ...

-ch



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help