]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: gma500: get control from firmware framebuffer if conflicts
authorMichael Chang <mchang@novell.com>
Mon, 30 May 2011 06:28:25 +0000 (14:28 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:36 +0000 (15:05 -0700)
commit50091c12f224d7b767efd11478f6948812728c07
treecfc9142dbb6af85ba8e1c20bebc0890b2960724b
parentb2577a0c1590467946eb245b76006a2369779a52
staging: gma500: get control from firmware framebuffer if conflicts

commit aaa5c677910d313ca1318c905c799c459c6f0078 upstream.

Many Linux distributions would enable vesafb in order to display
early stage boot splash. In this case, we will get garbled X
Window screen if running X fbdev on psbfb.

This is because fb0 is occupied by vesafb while psbfb is on fb1.
They tried to drive the same pieces of hardware at the same
time. With unmodified X start-up, it would try to use default
fb0 framebuffer device and unfortunately it is now broken
becaues fb1 supersedes it.

We should let psbfb takeover framebuffer control from vesafb
to get around this problem.

See also commit : 4410f3910947dcea8672280b3adecd53cec4e85e

Signed-off-by: Michael Chang <mchang@novell.com>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/psb_fb.c