Rick Kerkhof
2016-Oct-27 10:07 UTC
[Nouveau] Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
Op do 27 okt. 2016 om 11:59 schreef Mika Westerberg < mika.westerberg at linux.intel.com>:> 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. > > diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c > index fcd4ce6f78d5..af9c3e15dd74 100644 > --- a/drivers/acpi/power.c > +++ b/drivers/acpi/power.c > @@ -444,6 +444,9 @@ void acpi_power_add_remove_device(struct acpi_device > *adev, bool add) > if (!adev->power.flags.power_resources) > return; > > + acpi_handle_info(adev->handle, "Adding power resources for %s\n", > + dev_name(&adev->dev)); > + > for (state = ACPI_STATE_D0; state <= ACPI_STATE_D3_HOT; state++) > acpi_power_expose_hide(adev, > > &adev->power.states[state].resources, >Thank you for the patch, I have applied it to the kernel sources but I'm not sure how to proceed from now on. Should I compile the whole kernel or can I just build an out-of-tree acpi module? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20161027/b047ecc5/attachment-0001.html>
Mika Westerberg
2016-Oct-27 10:12 UTC
[Nouveau] Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
On Thu, Oct 27, 2016 at 10:07:45AM +0000, Rick Kerkhof wrote:> Thank you for the patch, I have applied it to the kernel sources but > I'm not sure how to proceed from now on. Should I compile the whole > kernel or can I just build an out-of-tree acpi module?You need to build the whole kernel, install and reboot.
Rick Kerkhof
2016-Oct-27 10:34 UTC
[Nouveau] Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
Op do 27 okt. 2016 om 12:12 schreef Mika Westerberg < mika.westerberg at linux.intel.com>:> On Thu, Oct 27, 2016 at 10:07:45AM +0000, Rick Kerkhof wrote: > > Thank you for the patch, I have applied it to the kernel sources but > > I'm not sure how to proceed from now on. Should I compile the whole > > kernel or can I just build an out-of-tree acpi module? > > You need to build the whole kernel, install and reboot. >Thanks, it's compiling now, I'll take it for a test drive once it is done and installed and provide you with a dmesg log. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20161027/64fc7985/attachment-0001.html>
Possibly Parallel Threads
- Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
- Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
- Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
- Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources
- Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources