drm/amdgpu: fix clear_all and replace handling in the VM (v2)
authorJunwei Zhang <Jerry.Zhang@amd.com>
Tue, 5 Jun 2018 09:31:51 +0000 (17:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jun 2018 18:45:20 +0000 (13:45 -0500)
commit387f49e5467244b7bcb4cad0946a5d0fcade5f92
tree2c142842de4e29955e4294f78ecd53bdf5cc17f2
parent235293901c11705f94744c08582e1ff339ee29b2
drm/amdgpu: fix clear_all and replace handling in the VM (v2)

v2: assign bo_va as well

We need to put the lose ends on the invalid list because it is possible
that we need to split up huge pages for them.

Cc: stable@vger.kernel.org
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com> (v2)
Reviewed-by: David Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c