For example, my polaris10 GPU now returns 3 compute queues.
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25876>
(cherry picked from commit
4f8a2253875fdb677beb85c91ecb033cbf231fc7)
"description": "ac/gpu_info: remove bogus assertion about number of COMPUTE/SDMA queues",
"nominated": true,
"nomination_type": 0,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null
return false;
}
- assert(util_is_power_of_two_or_zero(info->ip[AMD_IP_COMPUTE].num_queues));
- assert(util_is_power_of_two_or_zero(info->ip[AMD_IP_SDMA].num_queues));
-
r = amdgpu_query_firmware_version(dev, AMDGPU_INFO_FW_GFX_ME, 0, 0, &info->me_fw_version,
&info->me_fw_feature);
if (r) {