Skip to content

Draft: v6.4.3.p4.6 support#5

Open
bl4ckb0ne wants to merge 2 commits intoetnaviv:masterfrom
bl4ckb0ne:v6.4.3.p4.6
Open

Draft: v6.4.3.p4.6 support#5
bl4ckb0ne wants to merge 2 commits intoetnaviv:masterfrom
bl4ckb0ne:v6.4.3.p4.6

Conversation

@bl4ckb0ne
Copy link

Requires etnaviv/galcore_headers#3

Compiles but segfaults in libGAL.so

Program received signal SIGSEGV, Segmentation fault.
0x0000fffff71efeb8 in gcoOS_GetTLS () from /usr/lib/libGAL.so
(gdb) bt
#0  0x0000fffff71efeb8 in gcoOS_GetTLS () from /usr/lib/libGAL.so
#1  0x0000fffff7097540 in gcoHAL_SetHardwareType () from /usr/lib/libGAL.so
#2  0x0000fffff7252da4 in ?? () from /usr/lib/libgbm_viv.so
#3  0x0000fffff7253010 in gbm_viv_create_buffers () from /usr/lib/libgbm_viv.so
#4  0x0000fffff72532ac in ?? () from /usr/lib/libgbm_viv.so
#5  0x0000000000405640 in init_surface (modifier=<optimized out>, modifier@entry=0) at ../common.c:96
#6  0x0000000000405c1c in init_gbm (drm_fd=<optimized out>, w=1920, h=1080, format=format@entry=875713112, modifier=modifier@entry=0, 
    surfaceless=surfaceless@entry=false) at ../common.c:139
#7  0x000000000040bf60 in main (argc=<optimized out>, argv=<optimized out>) at ../kmscube.c:229

Builds on #4

@austriancoder
Copy link

The change looks fine - have something equal locally. I also needed some mmap/munmap changes. The commit message could be improved.

But overall we can land it.

@bl4ckb0ne
Copy link
Author

I haven't worked out all of the details in gc_abi,h, I might copy it from the imx8 one and add the new things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants