PD#SWPL-139016
Problem:
demod becomes abnormal after the second
pm enable.
Solution:
1.remove before change.
2.add pm force suspend in shutdown interface.
Verify:
verified by T5M
Change-Id: I97535dfb3ad9cefa1304a6653ed4f85719640a7b
Signed-off-by: min.yang <min.yang@amlogic.com>
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:
cma alloc too slow.
Solution:
let the idle cpu allocate more.
reduce drain lru in cma task.
Verify:
local.
Change-Id: I5f46112dcc4d5eb8fe7b21526d09a4078edc2752
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-145324
Problem:
kernel NULL pointer panic when cpu off line
Solution:
The root cause is that context for zram is configured as 2 part:
one for direct reclaim and one for kswapd. They are not for per-cpu
but when a core is off, zram will free per-cpu context so caused panic
on other cpus. So we should remove free code for crypto hooks.
Verify:
T5M
Change-Id: I2e4c9362bda0ddf74c91c3dec55d39dd532f46c2
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-145324
Problem:
add early_param to switch in bootload.
Solution:
add early_param for trace events white list.
Verify:
local.
Change-Id: I4179e804433c61036c22868664e8c89552c5eb50
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-145324
Problem:
scs cost too many memory, 4kb per thread;
Solution:
reduce it to 1kb per thread
Verify:
local
Change-Id: I850a6c3fefa26d12527bd8e011a1de347079b865
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-145324
Problem:
There are too many trace event inodes
Solution:
Add white list for trace event, this can save about 10MB memory
Verify:
t5m
Change-Id: I7ecd89ba145e37c52d51842c1ab52f34a38ebdab
Signed-off-by: Jianxiong Pan <jianxiong.pan@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-146459
Problem:
When the color depth is 444, 8bit, there is no signal output
after the resolution is switched from 720x480p to 640x480p
Solution:
Add clock configuration for 640x480p59.94hz
Verify:
S905X4/S905Y4
Test:
DRM-TX-45
Change-Id: I7acc0538fb133398bd7544e98a0f7449390d4eb9
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-140850
Problem:
5.15 ioc move to uapi.
Solution:
5.15 ioc move to uapi.
Verify:
t3.
Change-Id: Icc1bd8efb807a84d55fd3b380fd3a016b34f4849
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
PD#SWPL-146346
Problem:
UI response is not quickly on TC8000 projects
Solution:
Change kswapd filecache reclaim policy. Do not reclaim page cache
with mapcount larger than 1 (shared by 2 processes or above) to help
keep more mapped file caches in LRU list.
Verify:
T5M
Change-Id: I081a92debe94af608071468487b122529e6cdbda
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-145369
Problem:
try to avoid cma pool in low memory.
Solution:
add check the cma pool in low memory.
Verify:
local.
Change-Id: I5ec3a59dbd32dc4f94fbf368ce2736eb4d85ff68
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-142862
Problem:
1.bt open fail when rtc wakeup;
Solution:
1.reset this state when rtc wakeup;
Verify:
ohm.
Change-Id: If86fd7eef5926ee44a6740ba229ee040759389a4
Signed-off-by: Kuibao Zhang <kuibao.zhang@amlogic.com>
PD#SWPL-142329
Problem:
restore factory settings,display no signal and can't boot
due to the recovery not have composer to set attr
Solution:
1.initialize the property of attr based on the value in uboot
2.decide attr in the recovery system
Verify:
sc2
Test:
DRM-OSD-121
Change-Id: Idff17ffcfcc04fac1c3353b3c8fcc2f152a51463
Signed-off-by: congyang.huang <congyang.huang@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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-144627
Problem:
when kernel goes to early suspend, need keep the edid data
Solution:
Keep edid data during the suspend state. If there is HPD in
early suspend, there will update the EDID in the bottom of
hpd ISR
Verify:
ohm
Test:
DRM-TX-38
Change-Id: If1975a68da8c7431bb7867359bc5368b37dbc1f3
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-144474
Problem:
For fcc,don't need keep di_multi memory
Solution:
Decoder transfer fcc flag to DI.
Verify:
ohm
Change-Id: I37d1da0dc5c99dd086ee1291d403525a009bc64b
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-143117
Problem:
too much pm related print in suspend/resume
Solution:
add initcall_debug judgment before suspend/resume printing
Verify:
sc2
Change-Id: Ifbca9604ae008b188da408cd8c3cc353f0d3051f
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-144491
Problem:
youtube video cut off on the edges
Solution:
adjust scan information to underscan by default
Verify:
s805x2
Test:
QD980 check avi scan info
Change-Id: I36f17c4cdd5e5a50639e055e06b4f21e6df63912
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-143972
Problem:
when clac_tmds_clk > max_tmds_clk, only check whether
the edid support frl, not check the box frl capability
Solution:
add check the box frl capability
Verify:
s905x4
Test:
DRM-TX-42
Change-Id: I502b130c7fc613d020566af35438465c52ee3b60
Signed-off-by: xiang.wu1 <xiang.wu1@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-142750
Problem:
After setting dv_ll, it will change
to dv_std in case of hotplug event.
Solution:
If the dv_ll is set,the dv will
remain after hotplug.
Verify:
sc2
Test:
DRM-OSD-118
Change-Id: I7335c512dc6cafa836bc0496537ad9481c18da74
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
PD#SWPL-143438
Problem:
can not pass HdmiCecSystemStandbyTest
Solution:
new_msg is used for driver process msg
just need msg buf num to notify app get msg
Verify:
S905X4-AH211
Change-Id: Iaf01eada2b16e396732232adf546a41f23f32c33
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
PD#SWPL-142949
Problem:
when clear di buf, will clear ud and meta information too.
Solution:
restore the ud and meta information
Verify:
Verified on sc2
Change-Id: I75201d42536fe76224e25eca5cde8613f7e2eb3f
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-142652
Problem:
after load hdcp2.2 key, hdcp2.2 is not initialized,
as checked hdcp_tx22 is not loaded
Solution:
when init hdcp2.2, no need to check if hdcp_tx22
daemon is loaded, only check hdcp2.2 key load state
Verify:
ohm + rdk
Test:
DRM-TX-37
Change-Id: I25eb429072c4213536c11718ea37b107b2363aca
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-143567
Problem:
When debugging, there will be a lot of printing to be
output after the panic, so it is very time-consuming.
In order to prevent the watchdog from causing a reset,
we stop it after panic.
Solution:
Add functions and provide two ways to enable:
1. Add wdt_stop_after_panic=1 to bootargs.
2. echo 1 > /sys/module/amlogic_watchdog/parameters/stop_after_panic
Verify:
T3/T982
Change-Id: I3f54f38f3645b2fb4fdfbbc6016e6f644b91eea3
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-144384
Problem:
pcie wifi interrupt too many lead to system crash
Solution:
add not msi interrupt judge logic
Verify:
S5
Change-Id: I1d6e420ce48e2e74d787349ff31dc632d18c94bb
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
PD#SWPL-143562
Problem:
when exit HDR to SDR, and after 1.5 seconds here will stop HDR.SDR
packet. Some TV may black at this time.
Solution:
always HDR.SDR when HDR to SDR
Verify:
sc2/ohm, s5/ax201
Test:
DRM-TX-17
Change-Id: I28fca54388d07338caf4def08e95454f988e98ad
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
PD#SWPL-127591
Problem:
tsn_source affect ts_clone
Solution:
force tsn_source, not set at high level
Verify:
not verified
Change-Id: I9a0fb2aa6eed72c88226d5a4fa607fe9c7d3714e
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
PD#SWPL-141965
Problem:
realpath should not use commands on the server
Solution:
add environment variables
Verify:
s7
Change-Id: I18c5085052fe73272109acb5e22ab5f8abd7ae94
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
PD#SWPL-141929
Problem:
some display server will not set color space/color depth property.
it may lead to modesetting fail
Solution:
hdmitx connector add strategy to select cs/cd/vic group
Verify:
an400
Test:
DRM-TX-24
Change-Id: If3dedb74163101e2d0ef403933e484a90e9464e9
Signed-off-by: Ao Xu <ao.xu@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>