intel: use PCI info to compute device uuid
authorJianxun Zhang <jianxun.zhang@linux.intel.com>
Thu, 6 Jan 2022 18:12:13 +0000 (10:12 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 13 Jan 2022 03:09:36 +0000 (03:09 +0000)
commitd86989bf73ed342acc5a7db882676909a186d6d4
tree9d6d6309e932bd081df06acfc27e0235e4509cd8
parentdb8405670a7275eb797cd2c185fee75785033108
intel: use PCI info to compute device uuid

With the new input from PCI bus and device fields, we can compute
device uuids in a multi-gpu system.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13936>
src/gallium/drivers/crocus/crocus_screen.c
src/gallium/drivers/iris/iris_screen.c
src/intel/common/intel_uuid.c
src/intel/common/intel_uuid.h
src/intel/vulkan/anv_device.c