mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
ac: fix getting mcbp info for userq
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:
parent
794b6a14bb
commit
97c48c5aa7
1 changed files with 1 additions and 1 deletions
|
|
@ -1707,7 +1707,7 @@ ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
|||
info->has_attr_ring = info->attribute_ring_size_per_se > 0;
|
||||
}
|
||||
|
||||
if (info->gfx_level >= GFX11 && debug_get_bool_option("AMD_USERQ", false)) {
|
||||
if (info->gfx_level >= GFX11 && (info->userq_ip_mask & (1 << AMD_IP_GFX))) {
|
||||
struct drm_amdgpu_info_uq_fw_areas fw_info;
|
||||
|
||||
r = ac_drm_query_uq_fw_area_info(dev, AMDGPU_HW_IP_GFX, 0, &fw_info);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue