diff options
author | Marek Olšák <marek.olsak@amd.com> | 2017-09-12 23:42:13 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-06 23:47:53 +0300 |
commit | 684fd0af4732f373503c6af2973b4faa352db4e2 (patch) | |
tree | 55c17b90deb8da81a6a62ef36a6ecee9dc779919 /include/drm | |
parent | 1321fd2c010e7ccb474cda6b8793747c7a3a775b (diff) | |
download | linux-684fd0af4732f373503c6af2973b4faa352db4e2.tar.xz |
drm/syncobj: add a new helper drm_syncobj_get_fd
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_syncobj.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_syncobj.h b/include/drm/drm_syncobj.h index e7f0035bb8f8..43e2f382d2f0 100644 --- a/include/drm/drm_syncobj.h +++ b/include/drm/drm_syncobj.h @@ -140,5 +140,6 @@ int drm_syncobj_create(struct drm_syncobj **out_syncobj, uint32_t flags, struct dma_fence *fence); int drm_syncobj_get_handle(struct drm_file *file_private, struct drm_syncobj *syncobj, u32 *handle); +int drm_syncobj_get_fd(struct drm_syncobj *syncobj, int *p_fd); #endif |