From: Peter Wu <peter-VTkQYDcBqhK7DlmcbJSQ7g@public.gmane.org>
To: Dave Airlie <airlied-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH v3 0/4] nouveau RPM fixes for Optimus (final)
Date: Wed, 27 Jul 2016 14:02:16 +0200 [thread overview]
Message-ID: <20160727120216.GD3562@al> (raw)
In-Reply-To: <20160715131218.2416-1-peter-VTkQYDcBqhK7DlmcbJSQ7g@public.gmane.org>
Ping, would it be possible to get some acks and merge it for 4.8?
Current -next is broken (on modern laptops as expected) and these series
fix the issues according to an IRC report.
The audio issue mentioned below should not give issues, modern laptops
do not seem to expose the audio device by default
(https://bugs.freedesktop.org/show_bug.cgi?id=75985). On Windows the
audio device only appears after inserting the HDMI/miniDP cable (my
laptop has no other connectors), enabling the card for rendering
purposes has no effect on the availability of the audio device.
Kind regards,
Peter
On Fri, Jul 15, 2016 at 03:12:14PM +0200, Peter Wu wrote:
> Hi,
>
> Here are two patches to fix an issue reported on kernel bugzilla (infinite loop
> due to unchecked function) and a more important fix to fix hanging Optimus
> machines when runtime PM is enabled (with pm/pci patches).
>
> These are the final patches targeting v4.8. Changes compared to v2[1]:
> collected R-b from Hans and Mika and fixed a minor comment style issue.
>
> I recommend it to be merged before the pci/pm patches[2], otherwise there is a
> window where newer Nvidia Optimus laptops might fail to runtime resume and/or
> lock up. Once the pci/pm branch is merged I will propose another patch to
> improve reliability[3].
>
> Known issue with patch 4: when a Nvidia HDMI audio function is present, the
> bridge will not suspend and hence the Nvidia card will still be powered. Fixing
> this properly will require more work[4], until then you can kill the audio
> device and make runtime PM work properly:
>
> echo 1 > /sys/bus/pci/devices/0000:01:00.1/remove
>
> Kind regards,
> Peter
>
> [1]: https://lists.freedesktop.org/archives/nouveau/2016-July/025519.html
> [2]: https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/?h=pci/pm
> [3]: http://www.spinics.net/lists/linux-pci/msg52601.html
> [4]: https://lists.freedesktop.org/archives/dri-devel/2016-July/112759.html
>
> Peter Wu (4):
> drm/nouveau/acpi: ensure matching ACPI handle and supported functions
> drm/nouveau/acpi: return supported DSM functions
> drm/nouveau/acpi: check for function 0x1B before using it
> drm/nouveau/acpi: fix lockup with PCIe runtime PM
>
> drivers/gpu/drm/nouveau/nouveau_acpi.c | 105 +++++++++++++++++++++------------
> 1 file changed, 68 insertions(+), 37 deletions(-)
>
> --
> 2.9.0
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
prev parent reply other threads:[~2016-07-27 12:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-15 13:12 [PATCH v3 0/4] nouveau RPM fixes for Optimus (final) Peter Wu
2016-07-15 13:12 ` Peter Wu
2016-07-15 13:12 ` [PATCH v3 4/4] drm/nouveau/acpi: fix lockup with PCIe runtime PM Peter Wu
2016-07-15 16:10 ` [Nouveau] [PATCH v3 0/4] nouveau RPM fixes for Optimus (final) Ilia Mirkin
2016-07-15 16:10 ` Ilia Mirkin
2016-07-15 16:27 ` [Nouveau] " Alex Deucher
2016-07-15 16:31 ` Ilia Mirkin
2016-07-15 16:40 ` Alex Deucher
2016-07-15 16:40 ` Alex Deucher
2016-07-15 16:42 ` Ilia Mirkin
2016-07-15 16:42 ` Ilia Mirkin
2016-07-15 16:36 ` [Nouveau] " Peter Wu
2016-07-15 16:41 ` Ilia Mirkin
2016-07-15 16:54 ` Peter Wu
2016-07-15 16:54 ` Peter Wu
2016-07-15 23:24 ` Peter Wu
[not found] ` <20160715131218.2416-1-peter-VTkQYDcBqhK7DlmcbJSQ7g@public.gmane.org>
2016-07-15 13:12 ` [PATCH v3 1/4] drm/nouveau/acpi: ensure matching ACPI handle and supported functions Peter Wu
2016-07-15 13:12 ` [PATCH v3 2/4] drm/nouveau/acpi: return supported DSM functions Peter Wu
2016-07-15 13:12 ` [PATCH v3 3/4] drm/nouveau/acpi: check for function 0x1B before using it Peter Wu
2016-07-27 12:02 ` Peter Wu [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=20160727120216.GD3562@al \
--to=peter-vtkqydcbqhk7dlmcbjsq7g@public.gmane.org \
--cc=airlied-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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.