Re: [PATCH libdrm 1/3] amdgpu: remove invalid check in amdgpu_bo_alloc

2018-09-17 Thread Zhang, Jerry(Junwei)
On 09/14/2018 09:09 PM, Christian König wrote: The heap is checked by the kernel and not libdrm, to make it even worse it prevented allocating resources other than VRAM and GTT. Signed-off-by: Christian König Reviewed-by: Junwei Zhang --- amdgpu/amdgpu_bo.c | 9 ++--- 1 file changed,

[PATCH libdrm 1/3] amdgpu: remove invalid check in amdgpu_bo_alloc

2018-09-14 Thread Christian König
The heap is checked by the kernel and not libdrm, to make it even worse it prevented allocating resources other than VRAM and GTT. Signed-off-by: Christian König --- amdgpu/amdgpu_bo.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/amdgpu/amdgpu_bo.c b/amdgpu/amdgpu