]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: add a VM mapping replace operation v2
authorChristian König <christian.koenig@amd.com>
Mon, 13 Mar 2017 09:13:39 +0000 (10:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:54:01 +0000 (23:54 -0400)
commit80f95c579d800fa22e9e57ecb3d50b9e93bc1f82
tree833a2a919c669f013318bf84397230f9553afe83
parentdc54d3d1744d23ed0b345fd8bc1c493b74e8df44
drm/amdgpu: add a VM mapping replace operation v2

Add a new operation to replace mappings in a VM with a new one.

v2: Fix Jerry's comment, separate out clear operation.

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