Rename 'without-cl' to 'nocl' and 'only-cl' to 'cl'.
Change-Id: Iddff1af5d28f12a52ced6ed96142e9f9947b5615
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
1. fixup time consuming on glclear, cause by dri2
2. fixup mmap failed, pixmap egl image must use gbm map
3. Use env RK_MALI_SURFACELESS_DISABLE to disable EGL_KHR_surfaceless_context
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I099343c4f82872420dfb34c3926beb6fa1ec0753
disable cache on DRM_IOCTL_MODE_CREATE_DUMB, on gbm_bo_create
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I6956c6943eab5c81b8d583b257e6a7d7154fbc1d
Compared to g13p0-01eac0-6, the following changes are made:
- GBM: YUV format and wl_buffer importation support
- F: wayland: from 陈渐飞: Fix 2 bugs
Change-Id: I806f63818b3a75e61bba951440ae97817fdf1f5c
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
run `./scripts/normalize.sh`
note: The required patchelf version on PC.
patchelf > 0.9
Change-Id: I57b4ef6fd7c4b11e47df4a9a10e93e989d8d09d1
Signed-off-by: Jacob Chen <cc@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Include following changes:
gbm/wayland: add USE_RK_DRM to close authorize and busid
wayland: 移除wayland_server中对"authorize_allocator"接口的调用.
Change-Id: If1f396a6bc4c582ecd214bf8d9241bb7cdbbf2e6
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Major changes:
1/ Allow mixed platforms, e.g. x11-wayland-gbm.
2/ Move extra features, e.g. without-cl, from subversion to platform.
3/ Rename all libraries with GBM API to libmali-*-gbm.so
Change-Id: I9364f8298080788b41c5f3a3cf69aec9a2859ff5
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
1/ Support eglCreateImageKHR() with EGL_WAYLAND_BUFFER_WL.
2/ Fix crash when cleanup resources after eglTerminate().
Change-Id: I1d5f3f9a44f091e5bae2982348956bc10ff2bab9
Signed-off-by: Putin Lee <putin.li@rock-chips.com>
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Some pre-built mali libraries would have local symbol issue:
readelf -s <libmali.so>:
Warning: local symbol 9 found at index >= .dynsym's sh_info value of 9
Let's use lief to increase .dynsym section's sh_info to workaround it.
Change-Id: Icf2037824d9c1312c5b24b982f628319a118988a
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Include followinig change:
rk_exts: wayland: 添加 egl_spec 定义的 "swap_interval 为 0" 行为
This could also fix the issue reported in https://redmine.rock-chips.com/issues/335131.
According to the back_trace when the app was stuck,
it's confirmed that get_window_target_buffer() in libmali was blocked in 'osu_sem_wait(&surf->buffer_limit);',
while the value of 'surf->buffer_limit' is 0.
The same stuck problem had been encountered and resolved
in the completed task "adding support for the case of swap_interval is 0", from which this commit comes.
The cause of the problem was that the original wayland/client/winsys/mali_egl_winsys.c
did not deal with buffer_release_event properly.
It was resolved by adding egl_winsys_surface::buffer_queue
and corresponding processes of handling events_for_buffers.
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I4d4e2651114f221ffc0117b4a8166fa1b7cb8f02
We've bumped to midgard r18 and bifrost g2p0 for a long time.
Change-Id: Iaf8a688117ccdb23357aa067fb670f386dce2895
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Speed up normalize.sh and update_debian.sh.
Also remove the unneeded default libs.
Change-Id: I92745708496e28d5e2adfef24dfb4f5fd59c9f5e
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Compared to previous version, only libmalis with primary_winsys of x11 are changed.
Include following changes :
add platform_get_window for X11 eglCreatePlatformWindowSurfaceEXT()
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: Ibc0340ca709a10e50cf8d2cb395b25773eb2dbd1
The "3" at the end is "rk_so_ver".
It was reported by Jeffy Chen
that the patchelf, I used to process libs of libmali_for_356x_of_g2p0-01eac0-2,
is too old, resulting in building errors, such as :
root@Jeffy-Linux:/nvme/external/libmali/lib/aarch64-linux-gnu# aarch64-linux-gnu-strip libmali-bifrost-g52-g2p0.so
aarch64-linux-gnu-strip: stJK01Xo: not enough room for program headers, try linking with -N
aarch64-linux-gnu-strip:stJK01Xo[.note.gnu.build-id]: bad value
...
So, the libs of libmali_for_356x_of_g2p0-01eac0-3 were processed
by the patchelf provided by Jeffy Chen.
Change-Id: I0c321872efaa7a48fd57b075af631678d9be88ba
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>