Re: [PATCH 2/3] drm/amdgpu: fix and cleanup cpu visible VRAM handling

2018-04-09 Thread zhoucm1
On 2018年04月09日 18:18, Christian König wrote: The detection if a BO was placed in CPU visible VRAM was incorrect. Fix it and merge it with the correct detection in amdgpu_ttm.c Signed-off-by: Christian König Reviewed-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 6

Re: [PATCH 2/3] drm/amdgpu: fix and cleanup cpu visible VRAM handling

2018-04-09 Thread Michel Dänzer
On 2018-04-09 12:18 PM, Christian König wrote: > The detection if a BO was placed in CPU visible VRAM was incorrect. > > Fix it and merge it with the correct detection in amdgpu_ttm.c > > Signed-off-by: Christian König Good catch! All three patches are Reviewed-by: Michel Dänzer -- Earthli

[PATCH 2/3] drm/amdgpu: fix and cleanup cpu visible VRAM handling

2018-04-09 Thread Christian König
The detection if a BO was placed in CPU visible VRAM was incorrect. Fix it and merge it with the correct detection in amdgpu_ttm.c Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 6 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 21 + dr