drm/amdgpu: split VM PD and PT handling during CS
authorChristian König <christian.koenig@amd.com>
Fri, 11 Dec 2015 14:16:32 +0000 (15:16 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 18 Dec 2015 22:29:45 +0000 (17:29 -0500)
commit56467ebfb254836dc30eb45d4ac8a46a400bfad6
tree19629224afdc3328ede08e60ea46f0666c2d5ffe
parent3c0eea6c35d932c4d25070868067dc9cd9ceab91
drm/amdgpu: split VM PD and PT handling during CS

This way we avoid the extra allocation for the page directory entry.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c