drm/amdgpu: implement AMDGPU_VA_OP_CLEAR v2
authorChristian König <christian.koenig@amd.com>
Mon, 13 Mar 2017 09:13:38 +0000 (10:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:54:01 +0000 (23:54 -0400)
commitdc54d3d1744d23ed0b345fd8bc1c493b74e8df44
tree7cbdaf7c7edfe9bd86329737fdd5014b747594fd
parent663e4577a5733fab18d601128f54486d78595bc0
drm/amdgpu: implement AMDGPU_VA_OP_CLEAR v2

A new VM operation to remove all mappings in a range.

v2: limit unmapped area as noted by Jerry

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