diff options
author | Anshuman Gupta <anshuman.gupta@intel.com> | 2022-05-17 19:01:08 +0530 |
---|---|---|
committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2022-05-18 09:28:41 -0700 |
commit | 9dd9be530386093c30b3da80093a6887876040ec (patch) | |
tree | 2d680ca3cf5b443f5c1d06bf23a8fd0af03f6655 /lib/igt_device.h | |
parent | f8e20496602d57b8b62c22261af0615114c544f3 (diff) |
lib/igt_device: Get gfx PCI card root port
Utility library function to get the Gfx Card PCI topology
root port pci device using libpaciaccess.
root port will be used to get the real ACPI D state.
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'lib/igt_device.h')
-rw-r--r-- | lib/igt_device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_device.h b/lib/igt_device.h index 1aaa840e..800a0fcc 100644 --- a/lib/igt_device.h +++ b/lib/igt_device.h @@ -34,5 +34,6 @@ void igt_device_drop_master(int fd); int igt_device_get_card_index(int fd); struct pci_device *igt_device_get_pci_device(int fd); struct pci_device *__igt_device_get_pci_device(int fd, unsigned int vf_id); +struct pci_device *igt_device_get_pci_root_port(int fd); #endif /* __IGT_DEVICE_H__ */ |