PD#SWPL-152890
Problem:
Some one may need to config pins via user space
Solution:
export some debugfs nodes from driver
usage:
1. echo gpiox_y input/output-low/high > gpio
2. echo gpiox_y bias-disable/up/down > bias
3. echo gpiox_y 500/2500/3000/4000 > drive_strength
Verify:
t7_an400 & sc2
Change-Id: Ic380ee98609c897463f3db5be3c4c941633537fa
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-175869
Problem:
Kernel 6.6 only keeps dma_resv_list in dma_resv, so dma_resv_add_excl_fence
for exclusive fence is not used.
Usage of new interface dma_resv_add_fence() is incomplete, and that causes
error of NULL dma_resv_list pointer.
Solution:
Before dma_resv_add_fence(), dma_resv must have been locked with
dma_resv_lock(), and dma_resv_reserve_fences() must have been called.
Verify:
sm1
Test:
DRM-OSD-20
Change-Id: I9fa463e66318acb581fdd21fb12a209aecd5e927
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
PD#SWPL-177341
Problem:
pte_clear cannot use after kernel upgrade
Solution:
use __pte_clear to substitute
Verify:
local
Change-Id: Ia13a7b3916cb33139da847e5730ad15c6fda3825
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-147355
Problem:
due to lockup when dmc irq ratio is too high
Solution:
use dmc irq thread when irq ratio is too high
Verify:
local
Change-Id: Ie13d584f81563e3c2e111fb5d6033f0e2aa0d337
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-145646
Problem:
Adds debugfs for codec status management.
Solution:
Add codec state module, mainly collect and
manage codec status information, and facilitate
the management of the configuration of each module.
Verify:
ohm
Change-Id: I8f877a954f9873c4aa4d632e007a67c0a41ff2b1
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-139378
Problem:
playback not smooth when startup
Solution:
CMA used up when startup and cause cma alloc slow
delay enable CMA until swap free ratio less than 70%
Verify:
sc2
Change-Id: I42ddcaa281cae1c13128d028dbcf1128bede43b6
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-143984
Problem:
crtc and osd blank not immediate
Solution:
duplicate state and commit to fix
Verify:
t7
Test:
DRM-OSD-115
Change-Id: I98bdd779cfa43456f4f23936629860eaf70bdcf4
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-143590
Problem:
Added sampling detail information for dmabuf dumping
Solution:
Currently supported, the point at which fd was installed
and operated by that thread, In addition, supported shows
the total holding time of FD from the beginning of
allocation to the current time.
Verify:
ohm
Change-Id: I80c658ddc311320b45a966e830bb17118376f040
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-143050
Problem:
no drm state sysfs node
Solution:
use drm_print to add state in drm sysfs
Verify:
ohm
Test:
DRM-OSD-112
Change-Id: Iafbaa10dd7c17b9a244654948478f588c63caae9
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-139422
Problem:
IDT test failed with replacing GKI
Solution:
using kprobe method to solve problem
Verify:
oppen
Change-Id: Iccdbb2d0a8529a43b2df638b2423ce21580319be
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-136207
Problem:
use kprobe to forbid free module init text
Solution:
record module base and use offset to parse
this module symbol
Verify:
SC2_AH212
Change-Id: I43bd306e94e9a6a5afe6411a9cd9e93db0342b7a
Signed-off-by: song.han <song.han@amlogic.com>
This reverts commit 16e98f321b.
SWPL-139422: USB owner submits these patches themselves
Change-Id: I1128ff5da7f97165925dd5fd1bad056e8d3ab010
Signed-off-by: Qinglin Li <qinglin.li@amlogic.com>
PD#SWPL-136432
Problem:
Native code will perform the 'BUG_ON' process,
and the log isn't favorable for debug.
Solution:
add the vendor hook function to perform the
'show_regs' and 'panic'.
Verify:
T3
Change-Id: I7a0f2c10b5db8ed10207d1fcbc7cc214054c7ae3
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-132538
Problem:
The core-dump file cannot be saved to /data in Android.
Solution:
a. Fix BUG for bad page state when lazy_clear_work is running.
b. Print the parameter infor required for the crash tools.
c. Support for storing crashdump files in Android /data/vender/ramdump/
1) When a kernel panic occurs, flush cache all.
2) Restart to uboot stage and compress the full DDR.
3) Set kernel dts rsv mem based on compressed infor.
4) Crop reserved memory sub nodes to reduce mem usage.
5) Kernel stage parsing dts to configure rsv mem.
6) Android init.rc read sysnode, and generate crash file.
Verify:
sc2_ah212
Change-Id: Ic6fba2c305f9e3171445f3b89afa02c75c27a080
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-139422
Problem:
IDT test failed with replacing gki
Solution:
using the kprobe method to solve this problem
Verify:
oppen
Change-Id: I0d640fd1d171f1303a34265a54fd790444a21c90
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-138629
Problem:
modules out remove need fix conflict
update include/linux/upstream_version.h
Solution:
modules out remove function fix
update include/linux/upstream_version.h
Verify:
local
Change-Id: Id2481bd3e13f07f4986db4390e6e02d340872e9e
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-137107
Problem:
The data in the ramdump crash file is abnormal
because the cache data has not been flushed back.
Solution:
1. Use ipi_stop hook to flush online cpu cache.
2. Use panic_notifier to flush panic cpu cache.
Verify:
sc2_ah212
Change-Id: Ifad5bd4203fdde327b8c2b19357aa2d92586063f
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-129165
Problem:
remove symbol have been commit to google
Solution:
remove symbol have been commit to google
Verify:
local
Change-Id: I25c9da6662a7ae8f2de4761dd0b98b13fc24c7ed
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-124098
Problem:
kernel upgrade by May
Solution:
kernel upgrade by May
Verify:
local
Change-Id: I19aa4e7ca1d6e43703f1752e3e46f8bdcaf8c08b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-123803
Problem:
optimize and add some function
Solution:
1. support update symbol list
2. support abi check
3. remove db845c information
4. optimize modules_out
5. rename symbol list file name
Verify:
sc2
Change-Id: Ia816fa87ebb6047c5bf3722c613c5545d4367a9d
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-123165
Problem:
./mk.sh --gki_20 --bazel
These symbols are missing from the symbol list and are not available
at runtime for unsigned modules:
spi_finalize_current_message
strim
Solution:
add symbols
Verify:
t3x
Change-Id: I7ba1b12167314fa6fe0f94149f897cd8f459e906
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-119703
Problem:
support CQE
Solution:
support CQE
Verify:
T5m
Change-Id: Iaf97dac88e1cafbd8b897506dd044e3a3518a593
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-122095
Problem:
unable to use bazel build in the new kernel
Solution:
support for bazel build in the new kernel
Verify:
local
Change-Id: I6ee258cc46c839e000c6cc35769fa8104b14436c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-118657
Problem:
there are some abi symbols in common driver which should be submitted
to google
Solution:
add the function to detect the abi symbol list
Verify:
local
Change-Id: I6bd85d146e1961d3c654b2ee6d6cb6a0e13a7a97
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-116256
Problem:
support gki build for common14 with build.sh
Solution:
1. gki1.0 build, once build out the boot.img, system_dlkm.img,
and modules which in the vendor_boot.img and vendor_dlkm.img.
2. gki2.0 build, once build out the boot.img and system_dlkm.img
with build.config.gki.aarch64, second build out modules which
in the vendor_boot.img and vendor_dlkm.img
3. use SYSTEM_DLKM_PROPS to add selinux label for system_dlkm.img
4. add android/abi_gki_aarch64_amlogic.external include gki symbol
which used to vendor modules, kernel/Makefile add when once build
Verify:
local
Change-Id: Ib6774641f54a1dbf17083ce441604292f0652487
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-117945
Problem:
SM1 Camera deconfig
Solution:
modify for Google
Verify:
ok
Change-Id: Ie1c05d2131a36c2528de1c75eb258b1a6b154fab
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
PD#SWPL-103976
Problem:
cl check has false positives word
Solution:
fix the wrong word and concerning file
Verify:
local
Change-Id: Ic5dd8ce5c3c7b4862e0c32e20a551c772a8e58a7
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>