Commit 9acc81fd authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Rename resolution check

parent 5c7118c7
......@@ -677,10 +677,10 @@ struct mali_single_framebuffer {
u32 zero6[7];
// 48
/* Very weird format, see generation code in trans_builder.c */
u32 resolution_check;
u32 unknown8; // 0x02000000
u32 unknown9; // 0x00000001
u32 unknown9;
u64 unknown_address_1; /* Pointing towards... a zero buffer? */
u64 unknown_address_2;
......
......@@ -296,7 +296,7 @@ panwrap_replay_sfbd(uint64_t gpu_va, int job_no)
MEMORY_PROP(s, unknown_address_1);
MEMORY_PROP(s, unknown_address_2);
panwrap_prop("unknown8 = 0x%" PRIx32, s->unknown8);
panwrap_prop("resolution_check = 0x%" PRIx32, s->resolution_check);
panwrap_prop("unknown9 = 0x%" PRIx32, s->unknown9);
MEMORY_PROP(s, tiler_heap_free);
......
......@@ -120,7 +120,7 @@ trans_emit_fbd(struct panfrost_context *ctx)
* wants this. The formula itself was discovered mostly by manual
* bruteforce... don't envy me, guys */
framebuffer.unknown8 = 0x200 * ((rw + rh) / 96);
framebuffer.resolution_check = 0x200 * ((rw + rh) / 96);
return framebuffer;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment