[Nouveau] [Bug 75985] [NVC1] HDMI audio device only visible after rescan

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 4 00:21:25 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=75985

--- Comment #108 from Daniel Drake <dan at reactivated.net> ---
If codec devices are always child devices of the controller, then I also wonder
if codec_powered could be completely removed.

Seems like the PM core already ensures the children are inactive before
suspending the controller:

> The idle callback (a subsystem-level one, if present, or the driver one) is
> executed by the PM core whenever the device appears to be idle, which is
> indicated to the PM core by two counters, the device's usage counter and the
> counter of 'active' children of the device.
> 
>   * If any of these counters is decreased using a helper function provided by
>     the PM core and it turns out to be equal to zero, the other counter is
>     checked.  If that counter also is equal to zero, the PM core executes the
>     idle callback with the device as its argument.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20191004/f9cedd30/attachment.html>


More information about the Nouveau mailing list