Re: new fixes for sony-acpi

Matthias Welwarsky
2009-03-28T14:19:28Z

On Saturday 28 March 2009 13:22:13 Matthew Garrett wrote:
> On Sat, Mar 28, 2009 at 09:41:12AM +0100, Matthias Welwarsky wrote:
> > Looking at the somewhat twisted way the Sony DSDT code handles power
> > management for the graphics adapters, I have my doubts that there will be
> > a generic way. Of course a framework like for the rf kill switch could be
> > useful, but the vendor and model specific code would end up in
> > sony-laptop anyway.
>
> The Dell XPS 13 has an identical _DSM despite having dual nvidia/nvidia
> graphics. The _DSM code in the Vaio DSDT is also very stylistically
> different to the rest of it, heavily supporting the idea that it's
> nvidia-derived code.

Since it's not covered by any standard, I guess switching methods will deviate
over time as more hybrid graphics laptops are released. It could be
interesting to add generic functions to access _DSM methods, which is part of
the ACPI spec.

But first and foremost I'm interested in how to initialize it the secondary
adapter to the point where an X driver would be able to work with it.
Obviously _DSM is not enough. What could I try additionally?

Oh, and no need to Cc me, I've subscribed to the list meanwhile.

regards,
matthias