mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
panfrost: Use the handler size returned by cs_exception_handler_def()
Use the handler size returned by cs_exception_handler_def() instead of extracting it from the cs_builder state. Signed-off-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/32353>
This commit is contained in:
parent
16dd990bac
commit
b11e9168d8
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ csf_oom_handler_init(struct panfrost_context *ctx)
|
|||
assert(cs_is_valid(&b));
|
||||
cs_finish(&b);
|
||||
ctx->csf.tiler_oom_handler.cs_bo = cs_bo;
|
||||
ctx->csf.tiler_oom_handler.length = b.root_chunk.size * 8;
|
||||
ctx->csf.tiler_oom_handler.length = handler.length * sizeof(uint64_t);
|
||||
ctx->csf.tiler_oom_handler.save_bo = reg_save_bo;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue