Commit c15b1244 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Begin looking into some... mysteries

parent b6d2ae6e
......@@ -575,6 +575,8 @@ struct mali_single_framebuffer {
u32 zero6[7];
// 48
u32 unknown8; // 0x02000000
u32 unknown9; // 0x00000001
......
......@@ -54,6 +54,8 @@ void main(void) {
rc = pandev_ioctl(fd, MALI_IOCTL_GET_CONTEXT_ID, &get_context_id_3);
if (rc) printf("Error %d in GET_CONTEXT_ID_3\n", rc);
#if 0
#endif
u64 alloc_gpu_va_4;
pandev_standard_allocate(fd, 32, MALI_MEM_PROT_CPU_RD | MALI_MEM_PROT_CPU_WR | MALI_MEM_PROT_GPU_RD, &alloc_gpu_va_4);
u64 alloc_gpu_va_5;
......@@ -413,7 +415,7 @@ void main(void) {
.unknown2 = 0xb84e0281,
.width = MALI_POSITIVE(400),
.height = MALI_POSITIVE(320),
.weights = { 0x0, 0x0, 0x0, 0x0, 0x20e69c0, 0x1, 0xfffff9c0, 0x0, },
.weights = { 0x0, 0x0, 0x0, 0x0, /* 0x20e69c0 */ 0x20e6900, 0x1, 0xfffff9c0, 0x0, },
.unknown_address_0 = alloc_gpu_va_11 + 0,
.unknown_address_1 = alloc_gpu_va_11 + 24576,
.unknown_address_2 = alloc_gpu_va_11 + 25088,
......@@ -439,6 +441,8 @@ void main(void) {
framebuffer_va | MALI_EXT_RES_ACCESS_EXCLUSIVE,
};
printf("VA: %llx\n", framebuffer_va);
struct mali_jd_atom_v2 atoms_0[] = {
{
.jc = job_0_p,
......
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