Files
linux-apfs/drivers/video
Paul Mundt 74f482cca5 fb: nvidiafb: Try harder at initial mode setting.
The current nvidiafb_check_var() simply bails out if the selected mode is
out of range of the panel dimensions.  A good question would be why the
bogus mode is being selected in the first place -- the panel dimensions
that are read back are certainly bogus, but alas, I have no idea where to
even begin looking at the i2c/EDID/DDC mess:

nvidiafb: Device ID: 10de0165
nvidiafb: CRTC0 analog not found
nvidiafb: CRTC1 analog not found
nvidiafb: EDID found from BUS1
nvidiafb: CRTC 0 is currently programmed for DFP
nvidiafb: Using DFP on CRTC 0
nvidiafb: Panel size is 1280 x 1024
nvidiafb: Panel is TMDS
nvidiafb: unable to setup MTRR
nvidiafb: Flat panel dithering disabled
nvidiafb: PCI nVidia NV16 framebuffer (64MB @ 0xC0000000)

In my .config I presently have:

CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=y
CONFIG_FB_NVIDIA_I2C=y

I've not tried fiddling with these options, as I haven't the vaguest idea
what I should be looking at.

As a workaround, simply groveling for a new mode based on the probed
dimensions seems to work ok.  While it would be nice to debug this further
and sort out why the panel information is bogus, I think it's still worth
retrying the mode based on the panel information at hand as a last-ditch
effort, rather than simply bailing out completely.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:16 -08:00
..
2008-02-03 17:31:49 +02:00
2007-10-18 14:37:17 -07:00
2007-10-16 09:43:14 -07:00
2008-02-03 17:31:49 +02:00
2007-10-19 11:53:42 -07:00
2007-07-31 15:39:39 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-10-18 14:37:17 -07:00
2007-10-13 21:53:08 -07:00
2007-07-26 11:35:18 -07:00
2007-10-27 22:18:12 -07:00
2008-02-03 17:31:49 +02:00
2007-11-29 09:24:52 -08:00
2008-02-06 10:41:15 -08:00
2008-02-06 10:41:15 -08:00
2007-05-08 11:15:26 -07:00
2007-10-13 21:53:08 -07:00
2007-11-14 18:45:42 -08:00
2008-02-06 10:41:15 -08:00
2008-02-06 10:41:16 -08:00
2007-10-16 09:43:20 -07:00
2008-01-11 11:47:43 -08:00
2007-10-16 09:43:14 -07:00
2008-02-03 17:31:49 +02:00
2007-10-16 09:43:22 -07:00
2007-10-16 09:43:19 -07:00
2007-10-16 09:43:18 -07:00
2007-05-08 11:15:32 -07:00
2007-07-17 10:23:13 -07:00
2007-05-23 20:14:13 -07:00
2007-10-14 08:56:33 -07:00