All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Albert Vilella <avilella@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: another discrete nvidia switch on/off for an assortment of laptops
Date: Wed, 6 Jan 2010 14:33:15 +0000	[thread overview]
Message-ID: <20100106143315.GA13984@srcf.ucam.org> (raw)
In-Reply-To: <358f4d650912291430u5e266764jd98a814621659c1@mail.gmail.com>

On Tue, Dec 29, 2009 at 10:30:47PM +0000, Albert Vilella wrote:
> Hi again,
> 
> In this occasion not providing a working module, but just a grep to
> show 5 different laptop
> models that use an almost identical ACPI call to report on the
> discrete nvidia graphics switch:

The NVIF interface is not the correct one to use. There's a _DSM method 
on the Nvidia PCI device that will call the appropriate methods. nouveau 
should support this in the current kernels - right now it'll just set 
the graphics to whatever state the BIOS has programmed. A module 
parameter to change the default might be interesting.

If you want to do this with the nvidia binary driver, you'll need to get 
nvidia to add support.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

      parent reply	other threads:[~2010-01-06 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-29 22:30 another discrete nvidia switch on/off for an assortment of laptops Albert Vilella
2009-12-30  5:44 ` Len Brown
2009-12-30  9:32   ` Norbert Preining
2010-01-06 14:33 ` Matthew Garrett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100106143315.GA13984@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=avilella@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.