Major changes:
1/ Add gbm_bo_create_with_modifiers2 and gbm_surface_create_with_modifiers2.
2/ Add headers for different versions of GBM.
3/ Detect platforms from library content.
Change-Id: Iaca158a926f5fe8c14698eb7e2ad5a427eb1632c
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
When used in conjunction with the kernel patch "WA: Mali: bifrost: disable tiler heap reclaiming,"
it can resolve the issue reported in https://redmine.rock-chips.com/issues/414343.
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I3be309548d78d358df25625a1576a5a987adbdc5
sha1sum is 05cb1dee820b5e874fa7b03c941b58dfc01360ed.
MUST be used with valhall_device_driver of DDK g18p0-01eac0
The DDK version, such as "g18p0-01eac0", could be found
in file kernel-5.10/drivers/gpu/arm/bifrost/Kbuild:
"MALI_RELEASE_NAME ?= '"g18p0-01eac0"'".
It could be also found in commits messages under kernel-5.10/drivers/gpu/arm/bifrost,
such as: "MALI: rockchip: upgrade bifrost DDK to g18p0-01eac0, from g17p0-01eac0".
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I2502f4764c762f28ee388a350b38bd16aac449ed
sha1sum is 1761c6fffbee4616831b9ffd71c5d372d6cd3954
MUST be used with valhall_device_driver of DDK g17p0-01eac0
The DDK version, such as "g17p0-01eac0", could be found
in file kernel-5.10/drivers/gpu/arm/bifrost/Kbuild:
"MALI_RELEASE_NAME ?= '"g17p0-01eac0"'".
It could be also found in commits messages under kernel-5.10/drivers/gpu/arm/bifrost,
such as:
"5fd0cf3 MALI: rockchip: upgrade bifrost DDK to g17p0-01eac0, from g15p0-01eac0".
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I0f149a24013f8b9528e95369634b40e878434c21
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>
sha1sum is a6c773301766a84e9e8687b5ba5fb7be8e51ad57.
MUST be used with valhall_device_driver of DDK g15p0-01eac0.
valhall_device_driver is for Mali Valhall GPU, such as G610 in rk3588.
bifrost_device_driver is for Mali Bifrost GPU, such as G52 in rk3568 and G31 in rk3326.
They use the same set of codes, the main part is under kernel-5.10/drivers/gpu/arm/bifrost.
If config MALI_CSF_SUPPORT is enabled, the directory would be built as valhall_device_driver;
otherwise, it would be built as bifrost_device_driver.
The DDK version, such as "g15p0-01eac0", could be found
in file kernel-5.10/drivers/gpu/arm/bifrost/Kbuild:
"MALI_RELEASE_NAME ?= '"g15p0-01eac0"'".
It could be also found in commits messages under kernel-5.10/drivers/gpu/arm/bifrost,
such as:
"4491e60 MALI: rockchip: upgrade bifrost DDK to g15p0-01eac0, from g13p0-01eac0".
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I47bc8004c85b5cdfb1f8f89a3033881a2f21b734
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>
The gpu driver needs to be upgraded to g13p0-01eac0 to solve the problem of
gpu stability in certain scenarios. Also, the firmware needs to be updated
synchronously to solve the performance problems associated with the
new driver.
Change-Id: I22fc3239efd614c82ffcf3211bfb01bcf4c12fca
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Use ' ' to split the outout of new grabber.sh.
Change-Id: I1ecd4c2c9f52bf2e64dd45e6a52fd3eb4148e80a
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>