anv: Implement VK_EXT_pci_bus_info
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sun, 14 Oct 2018 12:12:50 +0000 (13:12 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 16 Oct 2018 11:47:55 +0000 (12:47 +0100)
commit322a919a41f92f65f4621e565c94aa45a737bd03
treeb98d85e6899010cb7fa30c0b21cfee2816f36da5
parent8550be7a2fd151e050932c9fc1349b93ab1b9992
anv: Implement VK_EXT_pci_bus_info

Even though the Intel GPU are always at the same PCI location, all the
info we need is already provided by libdrm. Let's be future proof.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_extensions.py
src/intel/vulkan/anv_private.h