drm/amdgpu: don't wait interruptible while binding GART space
authorChristian König <christian.koenig@amd.com>
Wed, 25 Oct 2017 19:37:35 +0000 (21:37 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:33:16 +0000 (16:33 -0500)
Display can't seem to handle this correctly.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c

index bdefc7b..470b911 100644 (file)
@@ -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;