]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] atyfb: Get initial mode timings from LCD BIOS
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 7 Nov 2005 09:00:41 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:51 +0000 (07:53 -0800)
commit832f4a88b6c191811b667b35954f5de5b5808f35
tree51b7a8eb48e553dc514c016a8522d8ac4209bc33
parent3f2081b815b14aa783e12c90cacaa8e4042af81a
[PATCH] atyfb: Get initial mode timings from LCD BIOS

Reported by: Jean-Philippe GuĂ©rard (Bugzilla Bug 1782)

"I've tried with video=atyfb:debug and video=atyfb:debug,mode:1280x600, \
nomtrr.

In both case, the screen stays black, but seems divided into 4 vertical bands.
 Some white lines pop up randomly on each vertical band."

The problem is a combination of an incorrect xclk plus lack of timing
information.  The adapter is attached to an LCD device that can do 1280x600
(which is not a standard resolution).  The global mode database does not have
an entry for it.  Fortunately, the Video BIOS contains the complete timing
info for this display, however, atyfb is not making use of it.

Add support to get the timing information from the BIOS, if available.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/atyfb_base.c