]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix and cleanup VM ready check
authorChristian König <christian.koenig@amd.com>
Thu, 24 Aug 2017 10:32:55 +0000 (12:32 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:56 +0000 (15:27 -0400)
commitaee695449409e6765956cbc38eeae4c26341c0ff
tree3cb6ab57a8e2e59347216a2daf24e93068c6c3e2
parent618ee5766d661ed9281fc94d8cc08aa2ba0dfb69
drm/amdgpu: fix and cleanup VM ready check

Stop checking the mapped BO itself, cause that one is
certainly not a page table.

Additional to that move the code into amdgpu_vm.c

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@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