Commit 26932fff authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Break up weights -- I misread kernel code

parent c15b1244
......@@ -543,9 +543,10 @@ struct mali_single_framebuffer {
u16 width;
u16 height;
u32 zero3[4];
u32 zero3[8];
u32 weights[8];
mali_ptr unknown_address_5;
u64 unknown10;
/* Depth and stencil buffers are interleaved, it appears, as they are
* set to the same address in captures. Both fields set to zero if the
......
......@@ -265,7 +265,8 @@ panwrap_replay_sfbd(uint64_t gpu_va, int job_no)
panwrap_prop("width = MALI_POSITIVE(%" PRId16 ")", s->width + 1);
panwrap_prop("height = MALI_POSITIVE(%" PRId16 ")", s->height + 1);
panwrap_property_u32_list("weights", s->weights, MALI_FBD_HIERARCHY_WEIGHTS);
MEMORY_PROP(s, unknown_address_5);
panwrap_prop("unknown10 = 0x%" PRIx64, s->unknown10);
/* Earlier in the actual commandstream -- right before width -- but we
* delay to flow nicer */
......
......@@ -177,7 +177,6 @@ void main(void) {
.unknown2 = 0x30000000,
.width = MALI_POSITIVE(400),
.height = MALI_POSITIVE(320),
.weights = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, },
.clear_flags = 0x1000,
.unknown_address_0 = alloc_gpu_va_11 + 0,
.unknown_address_1 = alloc_gpu_va_11 + 24576,
......@@ -415,7 +414,9 @@ void main(void) {
.unknown2 = 0xb84e0281,
.width = MALI_POSITIVE(400),
.height = MALI_POSITIVE(320),
#if 0
.weights = { 0x0, 0x0, 0x0, 0x0, /* 0x20e69c0 */ 0x20e6900, 0x1, 0xfffff9c0, 0x0, },
#endif
.unknown_address_0 = alloc_gpu_va_11 + 0,
.unknown_address_1 = alloc_gpu_va_11 + 24576,
.unknown_address_2 = alloc_gpu_va_11 + 25088,
......
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