anv: Remove protected memory support from compute queue

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 <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30723>
This commit is contained in:
José Roberto de Souza 2025-01-22 12:21:18 -08:00 committed by Marge Bot
parent 008ac818ba
commit 4860532f49

View file

@ -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,
};