Re: [PATCH] gma500: Add option to disable LVDS

From: Patrik Jakobsson
Date: Wed May 11 2011 - 13:00:05 EST


On Wed, May 11, 2011 at 2:41 PM, Patrik Jakobsson
<patrik.r.jakobsson@xxxxxxxxx> wrote:
> On Wed, May 11, 2011 at 10:10:22AM +0100, Alan Cox wrote:
>> > pipes and LVDS only finds a bogus mode of 0x0 pixels. Not sure why
>> > LVDS takes over instead of SDVO since it has valid modes, but my
>> > screen just goes into powersave when no proper PLL can be set for the
>> > bogus mode.
>>
>> Well that is hopeful. If we get a bogus 0x0 pixel mode it means it did
>> detect something invalid but for some reason we didn't punt on it.
>>
>> Alan

> Here's the dmesg with drm_debug=7, LVDS is also enabled here.

> [  165.383050] [drm:parse_lfp_panel_data], Found panel mode in BIOS VBT tables:
> [  165.383060] [drm:drm_mode_debug_printmodeline], Modeline 0:"0x0" 0 0 0 0 0 0 0 0 0 0 0x8 0x0

The mode comes from the video bios table. When skipping the bios probe
I get a working framebuffer but the backlight code crashes so this
needs to be handled.

I'll send a patch that throws away that mode and skips backlight if
there is no lvds ouput.

-Patrik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/