sub function power management (gpu + audio device)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey guys,

I've been writing dynamic power management code for the secondary
GPUs, however a lot of these GPUs have audio codecs as a subfunction
PCI device.

So we get 01:00.0 as the GPU and 01:00.1 as the HDMI audio device.

Now we have a single power switch for these devices, and generally the
power switch is hit when the ACPI entry to D3 is called for the GPU
and it shuts off the whole device.

So the problem I'm having is how to have the audio device
(snd_hda_intel), understand that it needs to have the GPU devices D0
called before it can do its own D0, and thats its D3 should be called
before the GPU drivers D3.

Any pointers? Do I need to create a separate pm domain for these
devices? how does the ordering work then?

Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux