mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-14 14:00:17 +01:00
panfrost: Rename unknown_address_0 -> scratchpad
It's the analogue pointer in SFBD. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
8b290bb13d
commit
6c6372770c
3 changed files with 4 additions and 3 deletions
|
|
@ -135,7 +135,7 @@ panfrost_emit_sfbd(struct panfrost_batch *batch, unsigned vertex_count)
|
|||
.unk3 = 0x3,
|
||||
},
|
||||
.clear_flags = 0x1000,
|
||||
.unknown_address_0 = panfrost_batch_get_scratchpad(batch)->gpu,
|
||||
.scratchpad = panfrost_batch_get_scratchpad(batch)->gpu,
|
||||
.tiler = panfrost_emit_midg_tiler(batch, vertex_count),
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1470,7 +1470,8 @@ struct mali_sfbd_format {
|
|||
struct mali_single_framebuffer {
|
||||
u32 unknown1;
|
||||
u32 unknown2;
|
||||
u64 unknown_address_0;
|
||||
mali_ptr scratchpad;
|
||||
|
||||
u64 zero1;
|
||||
u64 zero0;
|
||||
|
||||
|
|
|
|||
|
|
@ -753,7 +753,7 @@ pandecode_sfbd(uint64_t gpu_va, int job_no, bool is_fragment, unsigned gpu_id)
|
|||
pandecode_prop("clear_stencil = 0x%x", s->clear_stencil);
|
||||
}
|
||||
|
||||
MEMORY_PROP(s, unknown_address_0);
|
||||
MEMORY_PROP(s, scratchpad);
|
||||
const struct midgard_tiler_descriptor t = s->tiler;
|
||||
|
||||
bool has_hierarchy = !(gpu_id == 0x0720 || gpu_id == 0x0820 || gpu_id == 0x0830);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue