mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
pan/decode: Dump scratchpad size if present
This will help us narrow the size required for thread local storage. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3950>
This commit is contained in:
parent
d385c5840f
commit
ed52855680
1 changed files with 8 additions and 0 deletions
|
|
@ -699,6 +699,14 @@ pandecode_shared_memory(const struct mali_shared_memory *desc, bool is_compute)
|
|||
MEMORY_PROP(desc, scratchpad);
|
||||
MEMORY_PROP(desc, shared_memory);
|
||||
MEMORY_PROP(desc, unknown1);
|
||||
|
||||
if (desc->scratchpad) {
|
||||
struct pandecode_mapped_memory *smem =
|
||||
pandecode_find_mapped_gpu_mem_containing(desc->scratchpad);
|
||||
|
||||
pandecode_msg("scratchpad size %u\n", smem->length);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static struct pandecode_fbd
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue