Commit 3e3cdbc6 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

tiler_jc_list -> tiler_heap_free as revealed from previous commit

parent 53494f6e
......@@ -684,8 +684,8 @@ struct mali_single_framebuffer {
u64 unknown_address_1; /* Pointing towards... a zero buffer? */
u64 unknown_address_2;
/* Determined by symmetry with the replay soft job, documented in the kernel */
u64 tiler_jc_list;
/* See mali_kbase_replay.c */
u64 tiler_heap_free;
u64 unknown_address_4;
......
......@@ -299,7 +299,7 @@ panwrap_replay_sfbd(uint64_t gpu_va, int job_no)
panwrap_prop("unknown8 = 0x%" PRIx32, s->unknown8);
panwrap_prop("unknown9 = 0x%" PRIx32, s->unknown9);
MEMORY_PROP(s, tiler_jc_list);
MEMORY_PROP(s, tiler_heap_free);
MEMORY_PROP(s, unknown_address_4);
......
......@@ -85,9 +85,9 @@ trans_emit_fbd(struct panfrost_context *ctx)
.unknown_address_2 = ctx->scratchpad.gpu + 0x6200,
.unknown8 = 0x1000,
.unknown9 = 0xf0,
.tiler_jc_list = ctx->tiler_jc_list.gpu,
.tiler_heap_free = ctx->tiler_heap.gpu,
//.unknown_address_4 = 0x10a165000,
.unknown_address_4 = ctx->tiler_jc_list.gpu | 0x8000000, /* WTF?! */
.unknown_address_4 = ctx->tiler_heap.gpu | 0x8000000, /* WTF?! */
};
/* Attach dimension information. TODO: Update unknown8 */
......@@ -1240,7 +1240,7 @@ trans_setup_hardware(struct panfrost_context *ctx)
trans_allocate_slab(ctx, &ctx->scratchpad, 8, true, true, 0, 0, 0);
trans_allocate_slab(ctx, &ctx->varying_mem, 32, false, true, MALI_MEM_COHERENT_LOCAL, 0, 0);
trans_allocate_slab(ctx, &ctx->shaders, 4096, true, false, MALI_MEM_PROT_GPU_EX, 1, 0);
trans_allocate_slab(ctx, &ctx->tiler_jc_list, 32768, false, false, MALI_MEM_GROW_ON_GPF, 1, 128);
trans_allocate_slab(ctx, &ctx->tiler_heap, 32768, false, false, MALI_MEM_GROW_ON_GPF, 1, 128);
}
/* New context creation, which also does hardware initialisation since I don't
......
......@@ -54,7 +54,7 @@ struct panfrost_context {
struct panfrost_memory cmdstream;
struct panfrost_memory shaders;
struct panfrost_memory scratchpad;
struct panfrost_memory tiler_jc_list;
struct panfrost_memory tiler_heap;
struct panfrost_memory varying_mem;
struct panfrost_memory 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