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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user