diff options
| -rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 640fb265dd5a..cf8834779f55 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c | |||
| @@ -584,6 +584,10 @@ static int ttm_bo_evict(struct ttm_buffer_object *bo, bool interruptible, | |||
| 584 | evict_mem = bo->mem; | 584 | evict_mem = bo->mem; |
| 585 | evict_mem.mm_node = NULL; | 585 | evict_mem.mm_node = NULL; |
| 586 | 586 | ||
| 587 | placement.fpfn = 0; | ||
| 588 | placement.lpfn = 0; | ||
| 589 | placement.num_placement = 0; | ||
| 590 | placement.num_busy_placement = 0; | ||
| 587 | bdev->driver->evict_flags(bo, &placement); | 591 | bdev->driver->evict_flags(bo, &placement); |
| 588 | ret = ttm_bo_mem_space(bo, &placement, &evict_mem, interruptible, | 592 | ret = ttm_bo_mem_space(bo, &placement, &evict_mem, interruptible, |
| 589 | no_wait); | 593 | no_wait); |
