[Nouveau] Acer Aspire V7-582PG (Haswell, GTX 750M) fails to power off GPU via Power Resources

Rick Kerkhof rick.2889 at gmail.com
Thu Oct 27 10:07:57 UTC 2016


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>


More information about the Nouveau mailing list