

v3dv: enable multiple semaphores on cl submission
source link: https://gitlab.freedesktop.org/mesa/mesa/-/commit/ff8586c3452453527ae4c4d794edcb81ad65e661
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

v3dv: enable multiple semaphores on cl submission
Whenever v3d kernel-driver supports multisync extension, use it to enable more than one semaphores in cl submission. In CL, we have two kind of job (bin and render), therefore, we need also to determine the stage to sync, that means to add job dependencies/wait semaphores. Also, as we currently process all signal semaphores of a cmd buffer batch together in the submit master thread (when the last wait thread completes), there isn't now a situation in which GPU jobs need to handle signal VkSemaphores. Signed-off-by: Melissa Wen <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]> Part-of: <!13178>
Recommend
-
8
v3dv: add support to multiple wait and signal semaphores We extended our kernel interface to support more than one wait and signal semaphores on job submission. For this, when kernel-driver supports the multiple...
-
4
v3dv: wrap wait semaphores info in v3dv_submit_info_semaphores Instead of pass pSubmit to queue_submit_cmd_buffer, create a struct v3dv_submit_info_semaphores to wrap semaphores data from VkSubmitInfo. In the next commit, this struc...
-
3
v3dv: process signal semaphores in the very last job With multiple semaphores support, we can use a GPU job to handle multiple signal semaphores in the end of a cmd buffer batch. It means, the last job in the last cmd buffer will be...
-
6
v3dv: enable multiple semaphores for tfu job Whenever v3d kernel-driver supports multisync extension, use it to enable more than one semaphores in a tfu job. Signed-off-by:
-
5
Commit fd973218 authored 8 months ago by Melissa Wen
-
7
Commit 0ab98612 authored 7 months ago by Melissa Wen
-
5
v3dv: store wait semaphores in event_wait_cpu_job_info Instead of a boolean (sem_wait) in v3dv_event_wait_cpu_job_info, that is used to determine wait condition for jobs put in a wait thread, copy the wait semaphores data and store...
-
4
v3dv: enable multiple semaphores for csd job Whenever v3d kernel-driver supports multisync extension, use it to allow add multiple semaphores as csd job dependency. Signed-off-by:
-
3
v3dv: check multiple semaphores capability Check if kernel-driver supports multisync extension Signed-off-by: Melissa Wen <
-
4
v3dv: enable multisync in the simulator (!14768) · Merge requests · Mesa Use drmSyncobjSignal to signal out_syncobjs when a CL submission ends in the simulator. In this case, out_syncs can be signal semaphores...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK