panfrost: Pass no_hierarchical_tiling 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:
committed by
Marge Bot
parent
00d4a7c7fd
commit
42138ee1c8
@@ -3707,6 +3707,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;
|
||||
}
|
||||
|
||||
return batch->tiler_ctx.midgard.polygon_list->ptr.gpu;
|
||||
|
||||
@@ -571,7 +571,7 @@ pan_emit_midgard_tiler(const struct panfrost_device *dev,
|
||||
const struct pan_fb_info *fb,
|
||||
const struct pan_tiler_context *tiler_ctx, void *out)
|
||||
{
|
||||
bool hierarchy = !dev->model->quirks.no_hierarchical_tiling;
|
||||
bool hierarchy = !tiler_ctx->midgard.no_hierarchical_tiling;
|
||||
|
||||
assert(tiler_ctx->midgard.polygon_list->ptr.gpu);
|
||||
|
||||
|
||||
@@ -79,6 +79,7 @@ struct pan_tiler_context {
|
||||
mali_ptr bifrost;
|
||||
struct {
|
||||
bool disable;
|
||||
bool no_hierarchical_tiling;
|
||||
struct panfrost_bo *polygon_list;
|
||||
} midgard;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user