Re: [PATCH] drm/amdgpu: fix vm_cpu_update hit NULL pointer

2019-03-25 Thread Christian König
details maybe? Thanks /Monk -Original Message- From: Christian König Sent: Friday, March 22, 2019 11:43 PM To: Liu, Monk ; amd-...@freedesktop.org Subject: Re: [PATCH] drm/amdgpu: fix vm_cpu_update hit NULL pointer Am 22.03.19 um 06:30 schrieb Monk Liu: should use amdgpu_bo_map, otherwise

RE: [PATCH] drm/amdgpu: fix vm_cpu_update hit NULL pointer

2019-03-24 Thread Liu, Monk
Hi Christian Why it is the wrong time ? the pte/pd bo already reserved, some details maybe? Thanks /Monk -Original Message- From: Christian König Sent: Friday, March 22, 2019 11:43 PM To: Liu, Monk ; amd-...@freedesktop.org Subject: Re: [PATCH] drm/amdgpu: fix vm_cpu_update hit NULL

Re: [PATCH] drm/amdgpu: fix vm_cpu_update hit NULL pointer

2019-03-22 Thread Christian König
Am 22.03.19 um 06:30 schrieb Monk Liu: should use amdgpu_bo_map, otherwise you'll hit NULL pointer bug if with amdgpu_bo_kptr Yeah that is a known problem. NAK to this one cause that would map the BO at the wrong time. But in general I have a proper fix for this in the pipeline. Christian.

[PATCH] drm/amdgpu: fix vm_cpu_update hit NULL pointer

2019-03-21 Thread Monk Liu
should use amdgpu_bo_map, otherwise you'll hit NULL pointer bug if with amdgpu_bo_kptr Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c