]> git.baikalelectronics.ru Git - kernel.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)
commitb9e8076a04b66be43c420b6707405b3eb0ac8056
tree21d850599c9ce2b75d967927afa6b59adadfda74
parenta22a037243eb4693c2fe01ef92c1d33e2c842e9d
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