mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
radv: Require gang submit and compute for transfer queues
RADV's transfer queue implementation will use compute for the transfer operations that aren't supported by the SDMA, so we'll need gang submissions for that. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39057>
This commit is contained in:
parent
f481a5f887
commit
65bf4e7dcd
1 changed files with 3 additions and 0 deletions
|
|
@ -94,6 +94,9 @@ radv_transfer_queue_enabled(const struct radv_physical_device *pdev)
|
|||
!(instance->perftest_flags & RADV_PERFTEST_TRANSFER_QUEUE))
|
||||
return false;
|
||||
|
||||
if (!pdev->info.has_gang_submit || !radv_compute_queue_enabled(pdev))
|
||||
return false;
|
||||
|
||||
return pdev->info.gfx_level >= GFX9;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue