PD#SWPL-166758
Problem:
Some customer neeed to support gpio sysfs in gki mode
Solution:
Porting common gpiolib-sysfs to common_driver
Verify:
T7_an400 & txhd2_be311
Change-Id: I72f60644fa383abe05409bfe0bf978c7ea901d92
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
PD#SWPL-151292
Problem:
Some tasks have been running in apu before isolating cpu.
Solution:
when tasks were scheduled,if tasks shouldn't be run
on the apu, they will be migrated to other cpus.
Verify:
T5M
Change-Id: I97a91f1a40425a3ab26801de9a6bcb4b19c33019
Signed-off-by: Hanjie Lin <hanjie.lin@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>
PD#SWPL-148385
Problem:
video and ui disappear when ui quit after playing video
Solution:
make mif and video write reg in the same time
Verify:
t7
Test:
DRM-OSD-11
Change-Id: I9d16bac1c2da30e908d849b41f1865e441d70a74
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
PD#SWPL-141593
Problem:
/sys/class/display/mode is not used anymore
need add a new sysfs node to do modesetting
Solution:
add sysfs node to set display mode
Verify:
ohm/t7c
Test:
DRM-OSD-122
Change-Id: Ie897a1cfdf1a0f2574fd14f6576b2bc1fb377c1a
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-147959
Problem:
5.15 exphy not work
Solution:
tuning exphy mode with s5
Verify:
QA
Change-Id: Idfa123543d85a6070e7186b34e435e15d9580f36
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
PD#SWPL-142854
Problem:
move xhci and dwc3 code to common_drivers
Solution:
move xhci and dwc3 code to common_drivers
Verify:
all
Change-Id: I9351b3cb5bf515b89c8e9c62a7070947a6a18968
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-146932
Problem:
power led off when device is running
Solution:
set this gpio when device is running
Verify:
sc2 ah212
Change-Id: Ib31e3ff674c061e560f8bb1035250e57bb9ea332
Signed-off-by: Junyi Zhao <junyi.zhao@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>