Skip to content

Commit

Permalink
drm/vmwgfx: Remove busy_places
Browse files Browse the repository at this point in the history
Unused since commit a78a8da
("drm/ttm: replace busy placement with flags v6")

Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Reviewed-by: Martin Krastev <martin.krastev@broadcom.com>
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250108201355.2521070-1-ian.forbes@broadcom.com
  • Loading branch information
Ian Forbes authored and Zack Rusin committed Jan 14, 2025
1 parent cb343de commit 9cdebfa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ int vmw_bo_pin_in_start_of_vram(struct vmw_private *dev_priv,
VMW_BO_DOMAIN_VRAM,
VMW_BO_DOMAIN_VRAM);
buf->places[0].lpfn = PFN_UP(bo->resource->size);
buf->busy_places[0].lpfn = PFN_UP(bo->resource->size);
ret = ttm_bo_validate(bo, &buf->placement, &ctx);

/* For some reason we didn't end up at the start of vram */
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/vmwgfx/vmwgfx_bo.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ struct vmw_bo {

struct ttm_placement placement;
struct ttm_place places[5];
struct ttm_place busy_places[5];

/* Protected by reservation */
struct ttm_bo_kmap_obj map;
Expand Down

0 comments on commit 9cdebfa

Please sign in to comment.