mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-18 12:58:22 +02:00
panfrost: Pass tiler heap info through pan_tiler_context
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Constantine Shablya <constantine.shablya@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26698>
This commit is contained in:
parent
42138ee1c8
commit
00fb95175f
2 changed files with 6 additions and 0 deletions
|
|
@ -3709,6 +3709,8 @@ batch_get_polygon_list(struct panfrost_batch *batch)
|
|||
batch->tiler_ctx.midgard.disable = !has_draws;
|
||||
batch->tiler_ctx.midgard.no_hierarchical_tiling =
|
||||
dev->model->quirks.no_hierarchical_tiling;
|
||||
batch->tiler_ctx.midgard.heap.start = dev->tiler_heap->ptr.gpu;
|
||||
batch->tiler_ctx.midgard.heap.size = panfrost_bo_size(dev->tiler_heap);
|
||||
}
|
||||
|
||||
return batch->tiler_ctx.midgard.polygon_list->ptr.gpu;
|
||||
|
|
|
|||
|
|
@ -81,6 +81,10 @@ struct pan_tiler_context {
|
|||
bool disable;
|
||||
bool no_hierarchical_tiling;
|
||||
struct panfrost_bo *polygon_list;
|
||||
struct {
|
||||
mali_ptr start;
|
||||
unsigned size;
|
||||
} heap;
|
||||
} midgard;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue