ac: for userq do not set info->has_fw_based_shadowing

register shadow enabling for user queue is different code flow than
kernel queue. In case of kernel queue preamble ib is initialized which
is not requried for kernel queue.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34803>
This commit is contained in:
Yogesh Mohan Marimuthu 2025-05-16 10:46:46 +05:30 committed by Marge Bot
parent 0298ee5719
commit 1af419deed

View file

@ -1714,7 +1714,6 @@ ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
return AC_QUERY_GPU_INFO_FAIL;
}
info->has_fw_based_shadowing = true;
info->fw_based_mcbp.shadow_size = fw_info.gfx.shadow_size;
info->fw_based_mcbp.shadow_alignment = fw_info.gfx.shadow_alignment;
info->fw_based_mcbp.csa_size = fw_info.gfx.csa_size;