mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
v3dv: add a comment to clarify how we should implement uuid / deviceID retrieval
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
9de4ab17c5
commit
0f0a0145a9
1 changed files with 7 additions and 0 deletions
|
|
@ -543,6 +543,13 @@ v3dv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
|
|||
.nonCoherentAtomSize = 256,
|
||||
};
|
||||
|
||||
/* FIXME:
|
||||
* Getting deviceID and UUID will probably require to use the kernel pci
|
||||
* interface. See this:
|
||||
* https://www.kernel.org/doc/html/latest/PCI/pci.html#how-to-find-pci-devices-manually
|
||||
* And check the getparam ioctl in the i915 kernel with CHIPSET_ID for
|
||||
* example.
|
||||
*/
|
||||
*pProperties = (VkPhysicalDeviceProperties) {
|
||||
.apiVersion = v3dv_physical_device_api_version(pdevice),
|
||||
.driverVersion = vk_get_driver_version(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue