diff --git a/.pick_status.json b/.pick_status.json index 7f02ae35a57..26879da1d0d 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -7614,7 +7614,7 @@ "description": "anv: only use compressed memory types on Xe2+", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "252cac1e5c4a4197d49ae29123e78ffe602a5ac9", "notes": null diff --git a/src/intel/vulkan/xe/anv_device.c b/src/intel/vulkan/xe/anv_device.c index fca775e228c..3b67ab2feab 100644 --- a/src/intel/vulkan/xe/anv_device.c +++ b/src/intel/vulkan/xe/anv_device.c @@ -154,7 +154,7 @@ anv_xe_physical_device_init_memory_types(struct anv_physical_device *device) device->memory.types[device->memory.type_count++] = (struct anv_memory_type) { .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, .heapIndex = 0, - .compressed = true, + .compressed = device->info.ver >= 20, }; device->memory.types[device->memory.type_count++] = (struct anv_memory_type) { .propertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |