diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2019-04-01 17:51:01 +0800 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2019-04-01 12:08:44 +0200 |
commit | ea569910cbab980abb42daa603ad4e8f5f9deaaa (patch) | |
tree | a56df20b9d3a48a21eeccc1a5a3623455c5c84a2 /drivers/gpu/drm/drm_ioctl.c | |
parent | bc9c80fe01a2570a2fd78abbc492b377b5fda068 (diff) | |
download | linux-stable-ea569910cbab980abb42daa603ad4e8f5f9deaaa.tar.gz linux-stable-ea569910cbab980abb42daa603ad4e8f5f9deaaa.tar.bz2 linux-stable-ea569910cbab980abb42daa603ad4e8f5f9deaaa.zip |
drm/syncobj: add transition iotcls between binary and timeline v2
we need to import/export timeline point.
v2: unify to one transfer ioctl
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/295790/?series=58813&rev=1
Diffstat (limited to 'drivers/gpu/drm/drm_ioctl.c')
-rw-r--r-- | drivers/gpu/drm/drm_ioctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index 7a534c184e52..92b3b7b2fd81 100644 --- a/drivers/gpu/drm/drm_ioctl.c +++ b/drivers/gpu/drm/drm_ioctl.c @@ -686,6 +686,8 @@ static const struct drm_ioctl_desc drm_ioctls[] = { DRM_UNLOCKED|DRM_RENDER_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE, drm_syncobj_fd_to_handle_ioctl, DRM_UNLOCKED|DRM_RENDER_ALLOW), + DRM_IOCTL_DEF(DRM_IOCTL_SYNCOBJ_TRANSFER, drm_syncobj_transfer_ioctl, + DRM_UNLOCKED|DRM_RENDER_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_SYNCOBJ_WAIT, drm_syncobj_wait_ioctl, DRM_UNLOCKED|DRM_RENDER_ALLOW), DRM_IOCTL_DEF(DRM_IOCTL_SYNCOBJ_TIMELINE_WAIT, drm_syncobj_timeline_wait_ioctl, |