File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -514,6 +514,8 @@ struct drm_amdgpu_gem_op {
514514#define AMDGPU_VM_MTYPE_UC (4 << 5)
515515/* Use Read Write MTYPE instead of default MTYPE */
516516#define AMDGPU_VM_MTYPE_RW (5 << 5)
517+ /* Use wait_syncobj/signal_syncobj and do not apply implicit sync */
518+ #define AMDGPU_VM_EXPLICIT_SYNC (1 << 9)
517519
518520struct drm_amdgpu_gem_va {
519521 /** GEM object handle */
@@ -529,6 +531,15 @@ struct drm_amdgpu_gem_va {
529531 __u64 offset_in_bo ;
530532 /** Specify mapping size. Must be correctly aligned. */
531533 __u64 map_size ;
534+
535+ /** pointer to array of struct drm_amdgpu_cs_chunk_syncobj */
536+ __u64 wait_syncobj ;
537+ /** pointer to array of struct drm_amdgpu_cs_chunk_syncobj */
538+ __u64 signal_syncobj ;
539+ /** length of wait_syncobj in number of elements. */
540+ __u32 num_wait_syncobj ;
541+ /** length of signal_syncobj in number of elements. */
542+ __u32 num_signal_syncobj ;
532543};
533544
534545#define AMDGPU_HW_IP_GFX 0
You can’t perform that action at this time.
0 commit comments