]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add AMD GPU multi-function power dependencies
authorEvan Quan <evan.quan@amd.com>
Fri, 3 Sep 2021 06:33:11 +0000 (14:33 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 15 Sep 2021 21:31:41 +0000 (16:31 -0500)
commit60b78ed088ebe1a872ee1320b6c5ad6ee2c4bd9a
treefc7b2de2759647331b374c9df1081d01033e1685
parent6bd65974dedd1e8638e6665e92ccbf26e8a67cbf
PCI: Add AMD GPU multi-function power dependencies

Some AMD GPUs have built-in USB xHCI and USB Type-C UCSI controllers with
power dependencies between the GPU and the other functions as in
6d2e369f0d4c ("PCI: Add NVIDIA GPU multi-function power dependencies").

Add device link support for the AMD integrated USB xHCI and USB Type-C UCSI
controllers.

Without this, runtime power management, including GPU resume and temp and
fan sensors don't work correctly.

Reported-at: https://gitlab.freedesktop.org/drm/amd/-/issues/1704
Link: https://lore.kernel.org/r/20210903063311.3606226-1-evan.quan@amd.com
Signed-off-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
drivers/pci/quirks.c