panfrost: Remove unused ls_sb_slot from contexts

ls_sb_slot is unused now in cs_tracing_ctx and cs_exception_handler_ctx.
Let's remove it.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34808>
This commit is contained in:
Christoph Pillmayer 2025-05-14 11:07:46 +00:00 committed by Marge Bot
parent f75569734e
commit b115850ece
4 changed files with 0 additions and 6 deletions

View file

@ -125,7 +125,6 @@ csf_oom_handler_init(struct panfrost_context *ctx)
struct cs_exception_handler_ctx handler_ctx = {
.ctx_reg = cs_reg64(&b, TILER_OOM_CTX_REG),
.dump_addr_offset = offsetof(struct pan_csf_tiler_oom_ctx, dump_addr),
.ls_sb_slot = 0,
};
struct cs_exception_handler handler;

View file

@ -1831,7 +1831,6 @@ cs_nop(struct cs_builder *b)
struct cs_exception_handler_ctx {
struct cs_index ctx_reg;
unsigned dump_addr_offset;
uint8_t ls_sb_slot;
};
struct cs_exception_handler {
@ -1986,7 +1985,6 @@ struct cs_tracing_ctx {
bool enabled;
struct cs_index ctx_reg;
unsigned tracebuf_addr_offset;
uint8_t ls_sb_slot;
};
static inline void

View file

@ -716,7 +716,6 @@ init_cs_builders(struct panvk_cmd_buffer *cmdbuf)
.ctx_reg = cs_subqueue_ctx_reg(b),
.tracebuf_addr_offset =
offsetof(struct panvk_cs_subqueue_context, debug.tracebuf.cs),
.ls_sb_slot = SB_ID(LS),
};
}
}

View file

@ -48,14 +48,12 @@ generate_tiler_oom_handler(struct panvk_device *dev,
struct cs_exception_handler_ctx handler_ctx = {
.ctx_reg = cs_subqueue_ctx_reg(&b),
.dump_addr_offset = TILER_OOM_CTX_FIELD_OFFSET(reg_dump_addr),
.ls_sb_slot = SB_ID(LS),
};
struct cs_tracing_ctx tracing_ctx = {
.enabled = tracing_enabled,
.ctx_reg = cs_subqueue_ctx_reg(&b),
.tracebuf_addr_offset =
offsetof(struct panvk_cs_subqueue_context, debug.tracebuf.cs),
.ls_sb_slot = SB_ID(LS),
};
cs_exception_handler_def(&b, &handler, handler_ctx) {