File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -996,20 +996,6 @@ static int ttm_bo_move_buffer(struct ttm_buffer_object *bo,
996
996
997
997
lockdep_assert_held (& bo -> resv -> lock .base );
998
998
999
- /*
1000
- * Don't wait for the BO on initial allocation. This is important when
1001
- * the BO has an imported reservation object.
1002
- */
1003
- if (bo -> mem .mem_type != TTM_PL_SYSTEM || bo -> ttm != NULL ) {
1004
- /*
1005
- * FIXME: It's possible to pipeline buffer moves.
1006
- * Have the driver move function wait for idle when necessary,
1007
- * instead of doing it here.
1008
- */
1009
- ret = ttm_bo_wait (bo , interruptible , no_wait_gpu );
1010
- if (ret )
1011
- return ret ;
1012
- }
1013
999
mem .num_pages = bo -> num_pages ;
1014
1000
mem .size = mem .num_pages << PAGE_SHIFT ;
1015
1001
mem .page_alignment = bo -> mem .page_alignment ;
You can’t perform that action at this time.
0 commit comments