From: Christian König Date: Wed, 25 Oct 2017 19:37:35 +0000 (+0200) Subject: drm/amdgpu: don't wait interruptible while binding GART space X-Git-Tag: v4.19~1610^2~33^2~268 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a018f28a8996114515c29d8db4d8ec392306e43;p=platform%2Fkernel%2Flinux-rpi3.git drm/amdgpu: don't wait interruptible while binding GART space Display can't seem to handle this correctly. Signed-off-by: Christian König Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index bdefc7b..470b911 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c @@ -912,7 +912,7 @@ int amdgpu_ttm_bind(struct ttm_buffer_object *bo, struct ttm_mem_reg *bo_mem) placements.flags = (bo->mem.placement & ~TTM_PL_MASK_MEM) | TTM_PL_FLAG_TT; - r = ttm_bo_mem_space(bo, &placement, &tmp, true, false); + r = ttm_bo_mem_space(bo, &placement, &tmp, false, false); if (unlikely(r)) return r;