]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] nvidiafb: Fix initial display corruption on certain laptops
authorAntonino Daplas <adaplas@pol.net>
Mon, 8 Aug 2005 06:22:43 +0000 (14:22 +0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 8 Aug 2005 18:46:24 +0000 (11:46 -0700)
commit1e087abe3dcc7a1ad15d421b31eb7928a596a574
tree0e645dfdd902e76c47884c8629b69a4089cca05e
parent30622b47b6a622baf8632759c3669a0bc6511e5e
[PATCH] nvidiafb: Fix initial display corruption on certain laptops

Reported by:Vincent Fortier (Bugzilla Bug 4768)

"At boot time the screen appears moved to the mid right portion of the actual
video pannel making the end of the line appears at the left edge...  It simply
looks like moved half way to the right"

His particular hardware has a display with an unusual dimension (1920x1200) but
unfortunately has no EDID block. None of the entries in the global mode
database is correct for this particular display, and it particularly has
difficulty scaling up 640x480 (the default startup mode of nvidiafb) to
1920x1200 which causes the above described problem.

1, Add 1920x1200 to the global mode database.

2. Let nvidiafb base the startup mode from the flatpanel dimensions only if the
  EDID block is absent, no boot mode parameter is specified by the user, and
  a flatpanel/LCD display is attached.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/modedb.c
drivers/video/nvidia/nvidia.c