Bug 42842
Summary: | Dual channel LVDS is not configured correctly | ||
---|---|---|---|
Product: | Drivers | Reporter: | Austin Lund (austin.lund) |
Component: | Video(DRI - Intel) | Assignee: | drivers_video-dri-intel (drivers_video-dri-intel) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | daniel, eugenio.piasini, florian, julian.simioni, yani.ioannou |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.3-rc5 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg output drm.debug=15
dmidecode output dual link quirk |
Description
Austin Lund
2012-03-01 11:45:34 UTC
Created attachment 72652 [details]
dmesg output drm.debug=15
This output is generated without having any display to generate it. There is no error as such, but the display is configured incorrectly.
I'm not sure, but I think it switches to a 1280x800 mode which should be possible with a single LVDS channel, but I'm not sure if that's how things work. The native resolution of the display is 1680x1050.
Please test the drm-intel-testing branch from http://cgit.freedesktop.org/~danvet/drm-intel/log/?h=drm-intel-testing If that kernel doesn't work by default, it has gained a new lvds_channel_mode. In any case, please attach the output of the dmidecode tool to this bug. Created attachment 72712 [details]
dmidecode output
The dmidecode is not very helpful. It doesn't even report the integrated graphics, just the discrete nVidia one.
The intel-drm-testing branch works if I set lvds_channel_mode=2, but not for 0.
I would have thought the "right" way to do this would be to calculate how many LVDS channels are required on a mode by mode basis given the limits of the LVDS protocol and the timing of the mode.
Created attachment 72713 [details]
dual link quirk
Please test this patch and if it works, supply your Tested-by.
Tested and works. The Macbookpro8,3 probably needs this too but I do not have that hardware to test it on. Ok, I've submitted this patch for inclusion. Unfortunately due to some dependencies with new patches, it'll likely only get in for 3.5 (and not get backported). So please keep on applying this on till then. Thanks for reporting this issue. Just adding a +1: I tested this on my MacbookPro8,2 and everything works with no extra kernel options once the dual link quirk diff is applied. A patch referencing this bug report has been merged in Linux v3.5-rc1: commit 121d527a323f3fde313a8f522060ba859ee405b3 Author: Takashi Iwai <tiwai@suse.de> Date: Tue Mar 20 13:07:06 2012 +0100 drm/i915: Add lvds_channel module option A patch referencing this bug report has been merged in Linux v3.5-rc1: commit 618563e3945b9d0864154bab3c607865b557cecc Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Sun Apr 1 13:38:50 2012 +0200 drm/i915: Add a dual link lvds quirk for MacBook Pro 8,2 |