3
v3dv: store wait semaphores in event_wait_cpu_job_info
source link: https://gitlab.freedesktop.org/mesa/mesa/-/commit/d5bd18fbb3002293853780b3988e5cb9313d226e
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: 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 it as struct v3dv_submit_info_semaphores. In the following patches we enable multiple semaphores in GPU jobs, and therefore we need this data to add wait semaphores as job dependencies for pending jobs submitted from a wait thread. Signed-off-by: Melissa Wen <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]> Part-of: <!13178>
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK