Re: [PATCH 01/11] ACPI: video: Ignore devices that aren't present in hardware

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

 



On Thu, 2008-07-17 at 19:32 +0200, Thomas Renninger wrote:
> This is a reimplemention of commit
> 0119509c4fbc9adcef1472817fda295334612976
> from Matthew Garrett <mjg59@xxxxxxxxxxxxx>
> 
> This patch got removed because of a regression: ThinkPads with a
> Intel graphics card and an Integrated Graphics Device BIOS implementation
> stopped working.
> In fact, they only worked because the ACPI device of the discrete, the
> wrong one, got used (via int10). So ACPI functions were poking on the wrong
> hardware used which is a sever bug.
> The next patch provides support for above ThinkPads to be able to
> switch brightness via the legacy thinkpad_acpi driver and automatically
> detect when to use it.

Sorry, but I still can't find the code to detect thinkpad laptops.
there should be a dmi check in video_detect.c, right?
Or do I miss something?

thanks,
rui

> 
> Original commit message from Matthew Garrett:
>     Vendors often ship machines with a choice of integrated or discrete
>     graphics, and use the same DSDT for both. As a result, the ACPI video
>     module will locate devices that may not exist on this specific platform.
>     Attempt to determine whether the device exists or not, and abort the
>     device creation if it doesn't.
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=9614
> 
> Signed-off-by: Thomas Renninger <trenn@xxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux