]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix VM clearing for the root PD
authorChristian König <christian.koenig@amd.com>
Thu, 16 Aug 2018 10:01:03 +0000 (12:01 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Aug 2018 21:04:14 +0000 (16:04 -0500)
commit840a47aa0739f07fd2012776ef1df9a0bb5577b9
treed7cadb99b518661cd74318ff08b691070a3e4a5d
parent2269d159954dd442da22e6a3428e0ba4fe852360
drm/amdgpu: fix VM clearing for the root PD

We need to figure out the address after validating the BO, not before.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c