summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2017-09-12 22:42:14 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-10-06 16:47:56 -0400
commit7ca24cf2d2269bde25e21c02a77fe81995a081ae (patch)
tree88c7018f58df31f8890e15d735eb0868d8dc1c57 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parent684fd0af4732f373503c6af2973b4faa352db4e2 (diff)
downloadop-kernel-dev-7ca24cf2d2269bde25e21c02a77fe81995a081ae.zip
op-kernel-dev-7ca24cf2d2269bde25e21c02a77fe81995a081ae.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 9816f50..ad02d3f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -70,9 +70,10 @@
* - 3.18.0 - Export gpu always on cu bitmap
* - 3.19.0 - Add support for UVD MJPEG decode
* - 3.20.0 - Add support for local BOs
+ * - 3.21.0 - Add DRM_AMDGPU_FENCE_TO_HANDLE ioctl
*/
#define KMS_DRIVER_MAJOR 3
-#define KMS_DRIVER_MINOR 20
+#define KMS_DRIVER_MINOR 21
#define KMS_DRIVER_PATCHLEVEL 0
int amdgpu_vram_limit = 0;
OpenPOWER on IntegriCloud