diff options
| author | Christian König <[email protected]> | 2016-10-12 13:13:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-03-30 03:55:27 +0000 |
| commit | 194d2161131b35f9cd4cf3e355f2d7cd3b296898 (patch) | |
| tree | eee5e6370564458de917e5fabbd3370e81d6a3ab /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amdgpu: handle multi level PD in the LRU (diff) | |
| download | kernel-194d2161131b35f9cd4cf3e355f2d7cd3b296898.tar.gz kernel-194d2161131b35f9cd4cf3e355f2d7cd3b296898.zip | |
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 <[email protected]> (V1)
Reviewed-by: Alex Deucher <[email protected]> (V1)
Signed-off-by: Chunming Zhou <[email protected]> (V2)
Acked-by: Alex Deucher <[email protected]> (V2)
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 2e11b48d92e7..bf64a0d1c1f4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -777,7 +777,7 @@ static int amdgpu_bo_vm_update_pte(struct amdgpu_cs_parser *p) struct amdgpu_bo *bo; int i, r; - r = amdgpu_vm_update_page_directory(adev, vm); + r = amdgpu_vm_update_directories(adev, vm); if (r) return r; |
