]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: handle multi level PD updates V2
authorChristian König <christian.koenig@amd.com>
Wed, 12 Oct 2016 13:13:52 +0000 (15:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:27 +0000 (23:55 -0400)
commited4d6b21e90627d19cfdf7bf4a6eb619f209d061
treeeee5e6370564458de917e5fabbd3370e81d6a3ab
parent7f8041e7e2606a361ff0935d65f5f3b94070026d
drm/amdgpu: handle multi level PD updates V2

Update all levels of the page directory.

V2:
a. sub level pdes always are written to incorrect place.
b. sub levels need to update regardless of parent updates.

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