Some libraries would not work with new hack.
Change-Id: I3d43e56b5a64971c595630a8ef3e5430417295f6
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Workaround local symbol warning:
'found local symbol in global part of symbol table'
Or:
'invalid local symbol in global part of symbol table'
depends on lief (pip3 install lief)
Change-Id: I66fbd9ce924354e2ffc1024903e61bf2ac01011d
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
To make sure that the libmali.so is loaded before the initial no-load
dlopen() here.
Fix dlopen() error when linking with libmali-hook.so alone:
FATAL: dlopen(libmali.so.1) failed((null))
Change-Id: I66599d9125322a956470189e926870bb6fcb635c
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
sha1sum is 4247499486eb7a657a4be449ebbf80a4a9e09b5c
MUST be used with valhall_device_driver of DDK g21p0-01eac0
For the device driver, DDK version, such as "g21p0-01eac0", could be found
in file kernel/drivers/gpu/arm/bifrost/Kbuild:
"MALI_RELEASE_NAME ?= '"g21p0-01eac0"'".
It could be also found in commits messages under kernel/drivers/gpu/arm/bifrost,
such as:
"MALI: rockchip: upgrade bifrost DDK to g21p0-01eac0, from g18p0-01eac0".
Change-Id: I19aca1a6753a6c1a3cc3ebf96613efbcd75b7a73
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
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
Add EGL_KHR_surfaceless_context support for GLES1 | GLES2 bit
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: I6674c2372a977fdb2b0cdbb77ed32f764ad33eb2
sha1sum is 4247499486eb7a657a4be449ebbf80a4a9e09b5c
MUST be used with valhall_device_driver of DDK g21p0-01eac0
For the device driver, DDK version, such as "g21p0-01eac0", could be found
in file kernel/drivers/gpu/arm/bifrost/Kbuild:
"MALI_RELEASE_NAME ?= '"g21p0-01eac0"'".
It could be also found in commits messages under kernel/drivers/gpu/arm/bifrost,
such as:
"MALI: rockchip: upgrade bifrost DDK to g21p0-01eac0, from g18p0-01eac0".
Change-Id: Ie4f775f28f80dc98ae43992d63d3653544eb0d69
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
It might require custom firmware dir for cases like 'usr merge'.
Change-Id: Icaacd3fa26a8ff5bb2e7b8413c6e165b331ab16b
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
The asneeded might be enabled by default in the OS.
Change-Id: I4d18b04a3619673b403af85069d3f0300a1c3731
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
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>
The cc.has_function() would fail if any dependency not found.
Change-Id: I208a391f4d3c23a072bb6f2c25c9f8ec8c4f8a18
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
It's part of EGL 1.5 features, some clients might call them directly.
Change-Id: I508d4c5afb73f2d8c1d9d781b2a64154296207b0
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>