Re: [PATCH] drm/amdgpu: Verify root PD is mapped into kernel address space.

2018-07-05 Thread Christian König
Am 05.07.2018 um 04:09 schrieb zhoucm1: On 2018年07月05日 03:49, Andrey Grodzovsky wrote: Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault. Fix: Move amdgpu_bo_kmap into amdgpu_vm_bo_base_init to cover all cases and avoid code duplication with amdgpu_vm_alloc

Re: [PATCH] drm/amdgpu: Verify root PD is mapped into kernel address space.

2018-07-04 Thread zhoucm1
On 2018年07月05日 03:49, Andrey Grodzovsky wrote: Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault. Fix: Move amdgpu_bo_kmap into amdgpu_vm_bo_base_init to cover all cases and avoid code duplication with amdgpu_vm_alloc_levels. Link: https://bugs.freedesktop.o

[PATCH] drm/amdgpu: Verify root PD is mapped into kernel address space.

2018-07-04 Thread Andrey Grodzovsky
Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault. Fix: Move amdgpu_bo_kmap into amdgpu_vm_bo_base_init to cover all cases and avoid code duplication with amdgpu_vm_alloc_levels. Link: https://bugs.freedesktop.org/show_bug.cgi?id=107065 Signed-off-by: Andrey Gro