From f9745d59f0de2a2ea21860b4ce386fa8bc96846b Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Mon, 28 Apr 2025 15:00:23 +0200 Subject: [PATCH] panvk: Fix the deviceID reported by the driver Report the -rXpY info in the deviceID. Reviewed-by: John Anthony Reviewed-by: Erik Faye-Lund Signed-off-by: Boris Brezillon Part-of: --- src/panfrost/vulkan/panvk_vX_physical_device.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/panfrost/vulkan/panvk_vX_physical_device.c b/src/panfrost/vulkan/panvk_vX_physical_device.c index 41bc892eb02..be218f93cc9 100644 --- a/src/panfrost/vulkan/panvk_vX_physical_device.c +++ b/src/panfrost/vulkan/panvk_vX_physical_device.c @@ -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 */