PD#SWPL-145324
Problem:
1, using contiguous conter for type identify is not uniform distribution
when compress for some tasks;
2, zram driver will alloc per-cpu contex for zstd, which will cause
about 3MB memory;
Solution:
1, using a fixed type array for uniform distribution of mix type
selection;
2, create 2 context: one dedicated for kswapd task; another one
dedicated for direct reclaim;
Verify:
t5m
Change-Id: I06683383e06d9601c9e6522bcd0fbcfa68a55987
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-145324
Problem:
zstd is high compress ratio but low speed, lz4 is fast but low
compress ratio. Need balance them.
Solution:
Add a mixed crypto layer and can set ratio of lz4/zstd
Verify:
t5m
Change-Id: I4fbe930d05ef66336acacaae640fa47855d4b47b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-143851
Problem:
n/a
Solution:
enable sysrq function by default
Verify:
on sc2
Change-Id: Iff20f64ebc6736a6bbcbd7ff94eee1c83e435cc6
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-143746
Problem:
Netflix play fail.
As there is no secure_vdec_reserved node in dts.
Solution:
Add secure_vdec_reserved dts node.
Verify:
Android U + bluebell
Change-Id: Iac9c985b4d4a5102203c075bf8ed19db4c9f4336
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
PD#SWPL-132992
Problem:
sc2 need down vpu_clk when suspend
Solution:
enable down vpu_clk when suspend with sc2
Verify:
sc2
Change-Id: I2d69d1de06acd05005c697f0c94b65b98ebf5631
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-98813
Problem:
Need to unify the edid 2.0 and 2.1
Solution:
Unify the edid 2.0 and 2.1
Verify:
t7/sc2
Test:
DRM-TX-34
Change-Id: Id145c0343279489b82316f22322d48a41c2df33c
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-137618
Problem:
di post count not update
Solution:
add post number for dts update
Verify:
sc2
Change-Id: If57517c9b38df99edef837c2d2f7994607abc157
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
PD#SWPL-138138
Problem:
Black screen when enter reboot recovery
Solution:
set correct display mode in recovery
Verify:
S905X4-AH212
Test:
DRM-OSD-96
Change-Id: I1be0b8385037c506e2bdc270dd4665901ae11be8
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
PD#SWPL-137455
Problem:
the upgrade config is repetitive
Solution:
delete the repetitive config in upgrade project
Verify:
local
Change-Id: I2ddd31350be328cb9ee6d288a68732324cc337a5
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-136287
Problem:
The configuration name in kernel 5.15 is starting with "AMLOGIC_",
in order to unify configuration name, modify AML_TEE,AML_OPTEE to
AMLOGIC_AMLTEE,AMLOGIC_OPTEE.
Solution:
rename AMLTEE,AMLOGIC_OPTEE to AMLOGIC_AMLTEE,AMLOGIC_OPTEE
Verify:
Android + Kernel 5.15
Change-Id: I25be69bb990b7e86026790a9a64f64a473e9adfc
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
PD#SWPL-132066
Problem:
need to support video lowlatency
Solution:
video lowlatency optimize
Verify:
s1a-bg201
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Change-Id: Ie8a6f4c72314f9acf7202e7d86721403842d5499
PD#SWPL-137289
Problem:
some AVR with pop noise when spdif out is set to mute
Solution:
On TV platform, mute spdif out with soft mute register
Verify:
T5M
Change-Id: I22c30a301c655d1fce66a7f4b6c7510d0729b945
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-136316
Problem:
support di backend
Solution:
support di backend
Verify:
ohm
Change-Id: Iad72c1ebc5e33bade4e6efb87167defd4bc405b6
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-131721
Problem:
miss ldim panel type
Solution:
add panel type for ldim
Verify:
t3
Change-Id: I1efb09c2e080297529aea351a474f36286d367bb
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
PD#SWPL-134539
Problem:
add full link training adn EDID timing process for T7
Solution:
add
Verify:
t7_an400
Change-Id: Ib82f8c7e9b3bd178489c1ef1c43bd35cade9bf47
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
PD#SWPL-136205
Problem:
back sync with t5m openliux/tv/s-amlogic
Solution:
- configure spicc1 ss leading/trailing gap for local-dimming;
- add dirspi support in test entry;
- remove the limit of min_speed_hz.
Verify:
t5m
Change-Id: If84e2a5a5cac080f543c18988524da58fabeda0a
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#SWPL-135009
Problem:
The function 'within_secmon_region' can
not filter out secure monitor region.
Solution:
'within_secmon_region' will get the
'secmon_start_virt' from the dts,and filter
out secure monitor region.
Verify:
SC2
Change-Id: Ie434e66d2b7ca6f269c7f8c0e06e1f53807b8a24
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-119598
Problem:
system is too slow because the cpu5 is turned off
at system startup.
Solution:
turn on the cpu5 at system startup.
Verify:
SC2
Change-Id: I738fccb70c96d6495b314fa51cf319d5800c75a0
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-135009
Problem:
The config 'CONFIG_AMLOGIC_SEC' has been
converted to CONFIG_AMLOGIC_SECMON.
Solution:
delete the config 'CONFIG_AMLOGIC_SEC',and
add the config 'CONFIG_AMLOGIC_SECMON'.
Verify:
SC2
Change-Id: I664ce36b86af24ff3e92adcf31f6149ecf381dcb
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
PD#SWPL-128467
Problem:
1. when suspend && resume, the dclk sometimes not change to hifi
Solution:
add set parent instead of write reg directly
Verify:
t5m
Change-Id: I62509c2d71a4d3710e9f9fd9359c78397d0e8461
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-112188
Problem:
aml smmu need to meet requirement of gki2.0.
Solution:
try to set aml smmu driver to ko.
Verify:
build failed.
Change-Id: I8a6a1fc2312aaa82f68f7e97cc05be731d03ac49
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-128233
Problem:
hifipll need to disabled when suspend
Solution:
disable audio clk and hifipll when enter into suspend
Verify:
use T3
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
Change-Id: Ie36eb6314afd5997be6f3a59ff4ac512b7002cf6
PD#SWPL-131844
Problem:
BT uart too many interrupt, lead to BT work abnormal
Solution:
use interrupt bottom half
Verify:
sm1_debian t7c_debian
Signed-off-by: qiang.cheng <qiang.cheng@amlogic.com>
Change-Id: I7427f65a3d29afe11c1d2831b74d0b4280fc9485
PD#SWPL-130504
Problem:
using android api to record video layer content
Solution:
Configure the memory required for vdin1
Verify:
t7c
Change-Id: Id0a84dc8012f44a978ed08f9640c0c43845fb65c
Signed-off-by: min.zhu <min.zhu@amlogic.com>
PD#SWPL-133805
Problem:
null pointer access in ov5640 close function;.
Solution:
increase vm0 for mipi camera.
ov5640: no close if not open success;
ov5640: open & close function - allow only 1 user;
Verify:
local
Signed-off-by: zhiwei.zhang <zhiwei.zhang@amlogic.com>
Change-Id: I4bfc6520e8beaa90580fa6f8407eec592675a6bf
PD#SWPL-133187
Problem:
the tuning result of sdcard is not good
Solution:
change the tuning method
Verify:
t3x
Change-Id: I6dfa108e7f9af9879a8f219b456f44e3054aeba3
Signed-off-by: ziyi <ziyi.huang@amlogic.com>
PD#SWPL-132893
Problem:
is_graphics_output_off error,
causing dv not reset core2a.
Solution:
get osd status from blend reg.
sc2/s4d not support multi core1.
Verify:
sc2/s5/t7.
Change-Id: I1a16a67c58044a979a27d824e17636243509dd42
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
PD#SWPL-131945
Problem:
android R need build user
fix DEBUG_FS use error
Solution:
disabled DEBUG_FS config when build user
Verify:
local
Test:
zcat /proc/config.gz |grep CONFIG_DEBUG_FS
Change-Id: I274d7e29d3c20a9b6f03bc306f8c9fa185b963c5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-120286
Problem:
delete earc tx clock for chip which is only supported earc rx
Solution:
delete earc tx clock for chip which is only supported earc rx
Verify:
sm1
Change-Id: If9311761b89048d543d229a1e3d6998124f201a8
Signed-off-by: jian zhou <jian.zhou@amlogic.com>