public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Witkowski <neuro@o2.pl>
To: linux-kernel@vger.kernel.org
Subject: Explicitly putting a PCI device to ACPI D0
Date: Wed, 16 Sep 2009 09:10:24 +0200	[thread overview]
Message-ID: <200909160910.24329.neuro@o2.pl> (raw)

Hi,

I've been searching for my answer for a while now, and since I haven't found it anywhere, 
I've decided to post to LKML, hoping that someone here can help me.

First, I'll explain the background of my problem. My grief is the switchable GPU in my 
Lenovo Ideapad U330. The BIOS supports two options "Discrete only" (only the ATI card is 
visible on the BUS) and "Switchable" (both ATI and Intel card visible on the bus). The 
problem is the lack of a third option "Integrated", in which only the Intel card would be 
powered off. Lenovo refused to introduce such an option into the BIOS, stating that it's a 
feature request and not a bug.

To save battery power I'd like to be able to run on the Intel card. However, with the 
"Switchable" option, powertop indicates huge power usage (24W), which can only be 
explained by the fact that both cards draw power.

Thus, my question is the following:
Is there a way to explicitly put a device into ACPI D0? I would like to do that to the ATI 
card on boot.

I've tried the following code:
http://ftp.chg.ru/pub/parallel/scyld/diag/pci-config.c
But it didn't work (the ATI card was still on).

Cheers,
Michal

             reply	other threads:[~2009-09-16  7:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16  7:10 Michal Witkowski [this message]
2009-09-16 16:09 ` Explicitly putting a PCI device to ACPI D0 Jesse Barnes
2009-09-16 16:33   ` Alex Deucher
2009-09-16 19:24     ` Michal Witkowski

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=200909160910.24329.neuro@o2.pl \
    --to=neuro@o2.pl \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox