diff options
author | Jason Ekstrand <[email protected]> | 2017-08-25 11:35:27 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-08-28 19:33:43 -0700 |
commit | 144487ebb8ab7505152318e08176885fd6475fe6 (patch) | |
tree | 13ca9dc583331d63ab28fa0cc20d2cc0f416ea86 /src/intel/vulkan/anv_gem.c | |
parent | 3cd26d981b007c2667156c2a5049de96f1bf9cf1 (diff) |
anv/gem: Add a flags parameter to syncobj_create
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_gem.c')
-rw-r--r-- | src/intel/vulkan/anv_gem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_gem.c b/src/intel/vulkan/anv_gem.c index 57a8b79f4ac..9bd37f4cb3d 100644 --- a/src/intel/vulkan/anv_gem.c +++ b/src/intel/vulkan/anv_gem.c @@ -438,10 +438,10 @@ anv_gem_sync_file_merge(struct anv_device *device, int fd1, int fd2) } uint32_t -anv_gem_syncobj_create(struct anv_device *device) +anv_gem_syncobj_create(struct anv_device *device, uint32_t flags) { struct drm_syncobj_create args = { - .flags = 0, + .flags = flags, }; int ret = anv_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_CREATE, &args); |