]> 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>
Mon, 27 Aug 2018 16:09:39 +0000 (11:09 -0500)
commit79baf0ad9d849936fe3865bc07f06183203f742a
treee6824e56a53614cd7f9096d9405c00a42600fa0f
parent0ff97265403d59a684be8666710156706ccfd8fa
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