From 268dba8c489a5ae6bce17c6e958c6f7eae10f515 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Fri, 24 Apr 2026 12:49:13 +0100 Subject: [PATCH] radv: don't pass GPU name to disk_cache_create Signed-off-by: Rhys Perry Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_physical_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index 5a044fdb845..1719a1e6e29 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -2687,10 +2687,10 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm */ char buf[VK_UUID_SIZE * 2 + 1]; mesa_bytes_to_hex(buf, pdev->cache_uuid, VK_UUID_SIZE); - pdev->vk.disk_cache = disk_cache_create(pdev->name, buf, 0); + pdev->vk.disk_cache = disk_cache_create("RADV", buf, 0); pdev->disk_cache_meta = - disk_cache_create_custom(pdev->name, buf, 0, "radv_builtin_shaders", 1024 * 1024 * 32 /* 32MiB */); + disk_cache_create_custom("RADV", buf, 0, "radv_builtin_shaders", 1024 * 1024 * 32 /* 32MiB */); radv_get_physical_device_properties(pdev);