diff options
| author | Marek Olšák <[email protected]> | 2017-09-12 20:42:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-10-06 20:47:56 +0000 |
| commit | 7ca24cf2d2269bde25e21c02a77fe81995a081ae (patch) | |
| tree | 88c7018f58df31f8890e15d735eb0868d8dc1c57 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/syncobj: add a new helper drm_syncobj_get_fd (diff) | |
| download | kernel-7ca24cf2d2269bde25e21c02a77fe81995a081ae.tar.gz kernel-7ca24cf2d2269bde25e21c02a77fe81995a081ae.zip | |
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 <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 |
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 9816f50a7498..ad02d3fbb44c 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; |
