Thread (5 messages) 5 messages, 4 authors, 2008-04-15

Re: OLPC: gxfb/lxfb: add DCON panel modes to framebuffer drivers

From: Jordan Crouse <hidden>
Date: 2008-04-14 15:12:51
Also in: lkml

On 14/04/08 10:33 +0200, Arnd Bergmann wrote:
On Monday 14 April 2008, Andres Salomon wrote:
quoted
Since there's no way to autodetect panel modes, we're forced to hardcode
them in the driver and add a big fat #ifdef.  The OLPC DCON needs a
specific mode line (at 1200x900).  This adds it to both gxfb and lxfb.

Signed-off-by: Andres Salomon <redacted>
Since the XO is based on Open Firmware, shouldn't the panel size really be
a property in the device tree that can be read by this driver?
Andre's description was slightly misleading.  We could probably detect
the panel mode, but there isn't any reason to since the panel timings
are well known and won't change.  While OFW detection would be good
computer science fu, it would be a wasted effort since its so easy to hard
code them into the table.

Jordan

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help