From 7e471541e0d18a1385e6b7d777ac0cd9c24fee55 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Fri, 24 Sep 2021 11:46:10 -0700 Subject: [PATCH] turnip: Match the blob's format for vendorID and deviceID. This should hopefully cause us the least trouble with apps tuning for device performance. Part-of: --- src/freedreno/vulkan/tu_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 272d3b8563a..9976d4f1ba1 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -959,8 +959,8 @@ tu_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice, pProperties->properties = (VkPhysicalDeviceProperties) { .apiVersion = TU_API_VERSION, .driverVersion = vk_get_driver_version(), - .vendorID = 0, /* TODO */ - .deviceID = 0, + .vendorID = 0x5143, + .deviceID = pdevice->dev_id.chip_id, .deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU, .limits = limits, .sparseProperties = { 0 },