mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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>
(cherry picked from commit 4f8a225387)
This commit is contained in:
parent
e0b436252f
commit
e3bef4dfa3
2 changed files with 1 additions and 4 deletions
|
|
@ -1394,7 +1394,7 @@
|
|||
"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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue