Allow specifying a syncobj on render job submission where we store the fence for the job. This gives userland flexible access to the fence. v2: Use 0 as invalid syncobj to drop flag (Eric) Don't reintroduce the padding (Eric)
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -187,6 +187,12 @@ struct drm_vc4_submit_cl { · 186 unmodified lines | |||
| 187 | * will not start until the syncobj is signaled. 0 means ignore. | 187 | * will not start until the syncobj is signaled. 0 means ignore. |
| 188 | */ | 188 | */ |
| 189 | __u32 in_sync; | 189 | __u32 in_sync; |
| 190 | |||
| 191 | /* Syncobj handle to export fence to. If set, the fence in the syncobj | ||
| 192 | * will be replaced with a fence that signals upon completion of this | ||
| 193 | * render job. 0 means ignore. | ||
| 194 | */ | ||
| 195 | __u32 out_sync; | ||
| 190 | }; | 196 | }; |
| 191 | 197 | ||
| 192 | /** | 198 | /** |