Skip to content

Commit 9cdebfa

Browse files
en4bzzackr
authored andcommitted
drm/vmwgfx: Remove busy_places
Unused since commit a78a8da ("drm/ttm: replace busy placement with flags v6") Signed-off-by: Ian Forbes <[email protected]> Reviewed-by: Martin Krastev <[email protected]> Signed-off-by: Zack Rusin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent cb343de commit 9cdebfa

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/gpu/drm/vmwgfx/vmwgfx_bo.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ int vmw_bo_pin_in_start_of_vram(struct vmw_private *dev_priv,
228228
VMW_BO_DOMAIN_VRAM,
229229
VMW_BO_DOMAIN_VRAM);
230230
buf->places[0].lpfn = PFN_UP(bo->resource->size);
231-
buf->busy_places[0].lpfn = PFN_UP(bo->resource->size);
232231
ret = ttm_bo_validate(bo, &buf->placement, &ctx);
233232

234233
/* For some reason we didn't end up at the start of vram */

drivers/gpu/drm/vmwgfx/vmwgfx_bo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ struct vmw_bo {
8383

8484
struct ttm_placement placement;
8585
struct ttm_place places[5];
86-
struct ttm_place busy_places[5];
8786

8887
/* Protected by reservation */
8988
struct ttm_bo_kmap_obj map;

0 commit comments

Comments
 (0)