drm/amdgpu: add vm ioctl
authorChunming Zhou <David1.Zhou@amd.com>
Mon, 24 Apr 2017 03:09:04 +0000 (11:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:07 +0000 (17:40 -0400)
commitcfbcacf42803a690be40068325d20d74b6093c8c
tree4d48cd92c048b3ecf74b52d3afb23d6ae388f110
parent63a7c7487fb20422a4a71d0bfef5ac2a69caaf68
drm/amdgpu: add vm ioctl

It will be used for reserving vmid for shader debugging
that requires a fixed vmid.

v2: fix warning (Alex)

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
include/uapi/drm/amdgpu_drm.h