All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Wu <peter@lekensteyn.nl>
To: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Rick Kerkhof <rick.2889@gmail.com>,
	linux-acpi@vger.kernel.org, nouveau@lists.freedesktop.org,
	linux-pci@vger.kernel.org, Robert Moore <Robert.Moore@intel.com>,
	Lv Zheng <lv.zheng@intel.com>
Subject: Re: Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
Date: Fri, 28 Oct 2016 13:09:30 +0200	[thread overview]
Message-ID: <20161028110930.GA1521@al> (raw)
In-Reply-To: <20161028085630.GD1476@lahna.fi.intel.com>

On Fri, Oct 28, 2016 at 11:56:30AM +0300, Mika Westerberg wrote:
> On Thu, Oct 27, 2016 at 06:06:48PM +0200, Peter Wu wrote:
> > On Thu, Oct 27, 2016 at 12:55:08PM +0300, Mika Westerberg wrote:
> > > On Thu, Oct 27, 2016 at 09:42:28AM +0000, Rick Kerkhof wrote:
> > > >    No, there are not. Here is the recursive directory listing:
> > > 
> > > Are you able to try the following patch and send me dmesg (or attach it
> > > to that bug)? It should show if the ACPI core even tries to add those
> > > power resources.
> > 
> > So Rick has tested this patch now on top of 4.8.4 (mainline fails to
> > boot due to a kbuild issue which I reported elsewhere), but the output
> > is empty. That seems to indicate that flags.power_resources is unset.
> 
> Is it completely empty or is it empty just for RP05? It should print out
> all devices with power resources.

\NVP2 and \NVP3 are the only power resources under RP05 and defined in
SSDT1, there are no others.

Kind regards,
Peter

> > Given that _PS3 exists and is indeed a package with some elements, it
> > seems that acpi_extract_power_resources is failing. Note that in the
> > SSDT, the power resource NVP3 was referenced before it was defined,
> > could that result in this enumeration failure? Relevant SSDT excerpt:
> > 
> >     Scope (\_SB.PCI0.RP05)
> >     {
> >         Name (_PR3, Package (0x01)  // _PR3: Power Resources for D3hot
> >         {
> >             NVP3
> >         })
> >         // ...
> >     }
> > 
> >     PowerResource (NVP3, 0x00, 0x0000)
> 
> That and the fact that they come from an SSDT instead of DSDT may cause
> this. However, I'm not expert in ACPICA so adding Bob and Lv if they
> have ideas.
> 
> Bob, Lv, the bug in question is: https://bugs.freedesktop.org/show_bug.cgi?id=98398

  reply	other threads:[~2016-10-28 11:09 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-98398-8800@http.bugs.freedesktop.org/>
     [not found] ` <bug-98398-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2016-10-22 21:55   ` [Bug 98398] Vgaswitcharoo fails to turn off GPU properly bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-22 22:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-22 22:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-22 23:16   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-22 23:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-23 14:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-24 10:09   ` [Bug 98398] Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU with runtime PM bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-24 13:21   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-26 19:35   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-26 22:42   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-26 22:56     ` Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources Peter Wu
2016-10-27  8:17       ` Mika Westerberg
2016-10-27  8:17         ` Mika Westerberg
     [not found]         ` <20161027081748.GX1476-3PARRvDOhMZrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2016-10-27  9:06           ` Peter Wu
2016-10-27  9:06             ` Peter Wu
2016-10-27  9:15             ` Rick Kerkhof
     [not found]               ` <CANni8hdMs4pL0m6FrgeyJjE2R2C=6PaHbVbMVoUU+NszJuf9OA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-27  9:30                 ` Mika Westerberg
2016-10-27  9:30                   ` Mika Westerberg
     [not found]                   ` <20161027093011.GZ1476-3PARRvDOhMZrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2016-10-27  9:35                     ` Peter Wu
2016-10-27  9:35                       ` Peter Wu
2016-10-27  9:42                     ` Rick Kerkhof
     [not found]                       ` <CANni8her35iORgrZOkDzxhfVaOOzObTLG2Ly0kkNZPDTrbyfQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-27  9:55                         ` Mika Westerberg
2016-10-27  9:55                           ` Mika Westerberg
     [not found]                           ` <20161027095508.GA1476-3PARRvDOhMZrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2016-10-27 10:07                             ` Rick Kerkhof
     [not found]                               ` <CANni8hfSnT46pH8EnA1f00SWXUrJ=8PHRjydricGbH4AS4mR7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-27 10:12                                 ` Mika Westerberg
2016-10-27 10:12                                   ` Mika Westerberg
     [not found]                                   ` <20161027101204.GB1476-3PARRvDOhMZrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2016-10-27 10:34                                     ` Rick Kerkhof
2016-10-27 16:06                           ` Peter Wu
2016-10-28  8:56                             ` Mika Westerberg
2016-10-28 11:09                               ` Peter Wu [this message]
2016-10-28 11:19                                 ` Mika Westerberg
2016-10-28 12:30                                   ` Peter Wu
2016-10-28 14:10                                     ` Mika Westerberg
2016-10-28 14:10                                       ` Mika Westerberg
2016-10-29  0:49                                       ` Zheng, Lv
2016-10-30 14:18                                         ` Peter Wu
2016-10-29  0:42                               ` Zheng, Lv
2016-10-30 11:08                                 ` Peter Wu
2016-10-28 23:23   ` [Bug 98398] Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU with runtime PM bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-11-12 23:01   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-11-12 23:07   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-11-15 21:30   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-11-24  0:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04  9:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

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=20161028110930.GA1521@al \
    --to=peter@lekensteyn.nl \
    --cc=Robert.Moore@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=nouveau@lists.freedesktop.org \
    --cc=rick.2889@gmail.com \
    /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.