History

drm/vc4: Export fence through syncobj

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)

Stefan Schake committed 8 years ago

Commit e84fcb91 parent 818f5c82 files · +34 −2Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/vc4_drm.h+6−0
@@ -187,6 +187,12 @@ struct drm_vc4_submit_cl { · 186 unmodified lines
187187 * will not start until the syncobj is signaled. 0 means ignore.
188188 */
189189 __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;
190196 };
191197
192198 /**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t