]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OLPC: gxfb/lxfb: add DCON panel modes to framebuffer drivers
authorAndres Salomon <dilinger@queued.net>
Mon, 28 Apr 2008 09:15:31 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:40 +0000 (08:58 -0700)
commit3553a2fa8cbfc9f85f1809366be5884054f52c6d
tree21d850599c9ce2b75d967927afa6b59adadfda74
parentfd96795630428ceca775bd1effc5bf41a9fe5272
OLPC: gxfb/lxfb: add DCON panel modes to framebuffer drivers

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.

(Jordan said: 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.)

Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/geode/gxfb_core.c
drivers/video/geode/lxfb_core.c