From 4860532f49907333e5cd9622010f4fd263589b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= Date: Wed, 22 Jan 2025 12:21:18 -0800 Subject: [PATCH] anv: Remove protected memory support from compute queue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CCS don't support MI_SET_APPID instruction, that might be the reason some tests protected memory tests fail on CCS. Re-enable it if a workaround/solution is found. Reviewed-by: Lionel Landwerlin Signed-off-by: José Roberto de Souza Part-of: --- src/intel/vulkan/anv_physical_device.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_physical_device.c b/src/intel/vulkan/anv_physical_device.c index 57c9a35e35d..e496baacb85 100644 --- a/src/intel/vulkan/anv_physical_device.c +++ b/src/intel/vulkan/anv_physical_device.c @@ -2338,11 +2338,14 @@ anv_physical_device_init_queue_families(struct anv_physical_device *pdevice) }; } if (c_count > 0) { + /* TODO: CCS don't support MI_SET_APPID instruction, that might be + * the reason some tests protected memory tests fail on CCS. + * Re-enable it if a workaround/solution is found. + */ pdevice->queue.families[family_count++] = (struct anv_queue_family) { .queueFlags = VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT | - sparse_flags | - protected_flag, + sparse_flags, .queueCount = c_count, .engine_class = compute_class, };