]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/vmwgfx: Remove busy_places
authorIan Forbes <ian.forbes@broadcom.com>
Wed, 8 Jan 2025 20:13:55 +0000 (14:13 -0600)
committerZack Rusin <zack.rusin@broadcom.com>
Tue, 14 Jan 2025 18:01:16 +0000 (13:01 -0500)
Unused since commit a78a8da51b36
("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
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
drivers/gpu/drm/vmwgfx/vmwgfx_bo.h

index a0e433fbcba67cab54eb3e2cf52eff3ffe18ac3c..5f13285f83e0b5f8f9a8536e9ab1e0187bd4deb7 100644 (file)
@@ -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 */
index 43b5439ec9f7600753a2d58c52414cf873d521cb..07749f0a5f294df48cb420f2fafee43c6fbf7dba 100644 (file)
@@ -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;