mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 18:20:23 +01:00
panvk: Fix the deviceID reported by the driver
Report the -rXpY info in the deviceID. Reviewed-by: John Anthony <john.anthony@arm.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39267>
This commit is contained in:
parent
6dff2220fa
commit
f9745d59f0
1 changed files with 1 additions and 6 deletions
|
|
@ -615,12 +615,7 @@ panvk_per_arch(get_physical_device_properties)(
|
|||
.driverVersion = vk_get_driver_version(),
|
||||
.vendorID =
|
||||
instance->force_vk_vendor ? instance->force_vk_vendor : ARM_VENDOR_ID,
|
||||
|
||||
/* Collect arch_major, arch_minor, arch_rev and product_major,
|
||||
* as done by the Arm driver.
|
||||
*/
|
||||
.deviceID = device->kmod.dev->props.gpu_id &
|
||||
(ARCH_MAJOR | ARCH_MINOR | ARCH_REV | PRODUCT_MAJOR),
|
||||
.deviceID = device->kmod.dev->props.gpu_id,
|
||||
.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
|
||||
|
||||
/* Vulkan 1.0 limits */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue