Mesa (main): turnip: Match the blob's format for vendorID and deviceID.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Oct 1 22:56:04 UTC 2021
Module: Mesa
Branch: main
Commit: 7e471541e0d18a1385e6b7d777ac0cd9c24fee55
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7e471541e0d18a1385e6b7d777ac0cd9c24fee55
Author: Emma Anholt <emma at anholt.net>
Date: Fri Sep 24 11:46:10 2021 -0700
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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13041>
---
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 },
More information about the mesa-commit
mailing list