]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add FENCE_TO_HANDLE ioctl that returns syncobj or sync_file
authorMarek Olšák <marek.olsak@amd.com>
Tue, 12 Sep 2017 20:42:14 +0000 (22:42 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Oct 2017 20:47:56 +0000 (16:47 -0400)
commit7a597e608cd25ad28465a16343e3b9e72101694d
tree88c7018f58df31f8890e15d735eb0868d8dc1c57
parente460e22029187fa509b50451e69e887f3708ff22
drm/amdgpu: add FENCE_TO_HANDLE ioctl that returns syncobj or sync_file

for being able to convert an amdgpu fence into one of the handles.
Mesa will use this.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
include/uapi/drm/amdgpu_drm.h