Re: [PATCH] drm/i915: set LVDS connector status to unknown if the lid is closed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 11, 2010 at 3:32 PM, Adam Jackson <ajax@xxxxxxxxxx> wrote:
> On Wed, 2010-08-11 at 01:16 +0200, Andrei Paskevich wrote:
>> Currently, the LVDS connector on i915-equipped laptops
>> is always reported as connected, regardless of the lid
>> state and presence of external monitors. This was done
>> because of too many BIOSes reporting lid status in
>> an unreliable way. However, in a quite usual setup of
>> a laptop attached to an external monitor, the only way
>> to obtain the monitor's resolution on boot is to disable
>> the LVDS via the boot command line, which is unfortunate
>> as one have to reboot to get the internal screen back.
>
> If ACPI lid status were even remotely reliable for Intel machines, this
> might be a good idea.

I don't agree: if lid status were reliable, there would be no need for this,
as we could just report a lid-closed LVDS disconnected (as it was done
in intel_lvds.c before). The trick with the "unknown" status is really useful
when ACPI erroneously reports the lid as closed and there are no other
connected monitors.

The purpose of the proposed patch is to provide a correct screen mode
on boot for those Intel laptops which have correct ACPI lid status handling
(and such laptops do exist) without changing the existing behaviour in
the default case.

Andrei
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux