ac/gpu_info: remove bogus assertion about number of COMPUTE/SDMA queues
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>
This commit is contained in:
committed by
Marge Bot
parent
fb64f7c676
commit
4f8a225387
@@ -705,9 +705,6 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user