Commit Graph

1697 Commits

Author SHA1 Message Date
Jianxiong Pan 9c2b1ee161 mm: enable pagetrace for version U. [1/1]
PD#SWPL-112188

Problem:
not find the unwind_frame() in arm64.

Solution:
replace the unwind_frame() with unwind_next() .

Verify:
t7c.

Change-Id: I1c62c29d68174333198965ff385ba3022170fa28
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-03-16 04:14:43 -07:00
yufei.huan 6d86bd4f4d deinterlace: sync code 5.4 to 5.15 [1/1]
PD#SWPL-111174

Problem:
sync code 5.4 to 5.15

Solution:
sync code 5.4 to 5.15

Verify:
t5m

Change-Id: I880be10484fc40251ce95d623678a6eceffecbd6
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-03-16 04:14:33 -07:00
Dezhen Wang 34458da1ab file: merge 0003 patch into 0001 patch [1/1]
PD#SWPL-114639

Problem:
the files in autopatch is redundant

Solution:
merge 0003 patch into 0001 patch

Verify:
local

Change-Id: Ifdc82d385377edd39a2deeb68c6cb27d1c7bde08
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-03-16 02:22:57 -07:00
gerrit autosubmit 4814d247a8 Merge "hdmirx: use hpd to clear scdc [1/1]" into amlogic-5.15-dev 2023-03-16 02:22:45 -07:00
Gaowei Zhao 78452b5dfd hdmirx: use hpd to clear scdc [1/1]
PD#SWPL-105821

Problem:
The action of clearing scdc is not effective.

Solution:
use hpd to clear scdc.

Verify:
t7

Change-Id: Ia8f02cd33a84a6d6a8ba340a858617b68d1cb2a4
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2023-03-16 02:22:43 -07:00
qiankun.wang eb313db403 watchdog: optimize hardlockup detect precision [1/1]
PD#SWPL-104071

Problem:
Hardlockup detect precision is from 8s to 24s and
too insufficient.

Solution:
Hardlockup detect precision is 9-11s.

Verify:
SC2

Change-Id: Ic035a3e8dafde891f2c428213c1c51a77adebed3
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-03-16 02:22:24 -07:00
qiankun.wang 23002feac1 mem_debug: The printk is missing some content [1/1]
PD#SWPL-113705

Problem:
In the boot log, characters are missing when printing
due to long strings

Solution:
Print the string in some parts.

Verify:
SC2

Change-Id: I2989ac089598d3f2b97eaa98fcf923ff4c7963c8
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-03-16 02:22:13 -07:00
lei.zhang1 20c9ec5038 c3 dts: disable some property in aw402 dts [1/1]
PD#SWPL-112807

Problem:
hardware conflict

Solution:
disable eth0,dsi,pwm_ef
delete hp_mute-gpios

Verify:
aw402

Change-Id: Ib30c4962a42af5a53438ee63aabd3738adb827c6
Signed-off-by: lei.zhang1 <lei.zhang1@amlogic.com>
2023-03-16 02:22:10 -07:00
qinglin.li 4a37e9ce87 freertos: combine freertos common code [1/1]
PD#SWPL-114636

Problem:
combine freertos common code

Solution:
combine freertos common code

Verify:
local

Change-Id: I8fa61a376bd54841ef584db66cfb29362837b9eb
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-03-16 01:13:25 -07:00
hongyu.chen 2f85fcfbd4 demux: fix dump data bug. [1/1]
PD#SWPL-115280

Problem:
dump dvr data fail.

Solution:
allow 0x1ffff pid.

Verify:
AH212/S905X4

Change-Id: I3e09b2c1f8d6a6034866364ddeb832502cdcb570
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-03-16 01:13:22 -07:00
jialong.jiang 2dad155589 hdr: add cuva signal flag. [1/1]
PD#SWPL-112016

Problem:
add cuva signal flag.

Solution:
add cuva signal flag.

Verify:
s5.

Test:
self-test.

Change-Id: I8b80899677cdec41d94cfc7c266d405adf661d44
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-03-15 22:10:12 -07:00
shihong.zheng 868b72dd1d codec_mm: scatter sys alloc flag config conditionally. [1/1]
PD#SWPL-113445

Problem:
t5m dos should not access ddr1. codec_mm cma is not enough.
for some cases.

Solution:
when ddr0 is limited to DMA32_ZONE, scatter could be
alloced from DMA32_ZONE when configuration is set.

Verify:
T963D4

Change-Id: Ibb93676dfa403f1ac789f8d03c92ab9369708d61
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2023-03-15 08:09:14 -07:00
yufei.huan f4627412d7 deinterlace: game mode DI bypss solution [1/1]
PD#SWPL-114260

Problem:
game mode bypass solution

Solution:
game mode bypass source p

Verify:
t5m

Change-Id: I16469662965be235b6fe118753023794804ecf60
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-03-15 06:23:41 -07:00
jinbing.zhu 4deafd2566 revert: 5.15 algorithm makefile and kconfig new paths [1/1]
PD#SWPL-96505

Problem:
fix path

Solution:
fix path

Verify:
A311D2-AN400

Change-Id: I2b167a0cefb9582fd4e7078e9db663a60e939789
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-03-15 05:30:55 -07:00
Wanwei Jiang 53d7ace104 Merge "Revert "tee: implement APIs with pta [1/1]"" into amlogic-5.15-dev 2023-03-15 01:11:43 -07:00
Wentao Sun 39f83d314f Revert "tee: implement APIs with pta [1/1]"
This reverts commit 3673e3e5ed.

Change-Id: I7283a2aef1988f1130be22954ea6f3f97511a1cb
2023-03-14 23:20:22 -07:00
Yan Fang1 3a3450f701 backlight: ldim: remove ldc cma memory for t5m [1/1]
PD#SWPL-114067

Problem:
Optimize total cma size

Solution:
remove ldc cma memory, get memory from system pool

Verify:
t5m

Change-Id: I33708d1326841bc661ff87f304d778a6a55544d4
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-03-14 22:12:40 -07:00
Wentao.Sun 3673e3e5ed tee: implement APIs with pta [1/1]
PD#RSP-1483

Problem:
APIs use fastcall

Solution:
implement APIs with pta

Verify:
Android T + AH212

Change-Id: Icedcd4465163100e0f7e646c7359933cfe7c60ae
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2023-03-14 22:12:28 -07:00
qianqian.cai 9ade174945 deinterlace: delete afbc table from di_cma for t5m [1/1]
PD#SWPL-114070

Problem:
delete afbc table from di_cma

Solution:
delete afbc table from di_cma

Verify:
t5m

Change-Id: Ic48473d3211bed03b44aa147348f575b044ead5f
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-03-14 20:17:13 -07:00
Yan Fang1 7d4ddcfbdd cma: default di_cma size 0 [1/1]
PD#SWPL-114070

Problem:
Optimize total cma size

Solution:
set size <0x0 0x0>

Verify:
t5m

Change-Id: I37b5b933473a5d54f85deb4b07f13d56702f048e
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2023-03-14 20:17:08 -07:00
Yan Fang1 5a5596faac lcd: tcon: optimize reserved memory size [2/2]
PD#SWPL-114582

Problem:
tcon cma size 12M but
od:3840x2160x3x2/6=7.91M
demura:2M
sw:bin_path_size 10K
sw:secure_cfg_size 64byte

Solution:
set size 0x00a02840

Verify:
t5m

Change-Id: I6ed22d671cd645bc9a66be3140d652c04efaf617
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-03-14 06:09:43 -07:00
Jianxiong Pan a783454143 mm: free reserved memory in ko. [1/1]
PD#SWPL-114938

Problem:
need free reserved memory in ko.

Solution:
export the free_reserved_mem func.

Verify:
t5m_ay301.

Change-Id: Ib086317c00ece3f6017bb3b3e0454915f924b28c
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-03-14 04:16:28 -07:00
Dezhen Wang 9c393aaf5f file: rename the names of files in autopatch [1/1]
PD#SWPL-114639

Problem:
the name of the files in autopatch is wrong

Solution:
fix the order of the name of the files

Verify:
local

Change-Id: Ie7ac27c5d58a332b721d8368610aa542b87015c4
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-03-14 03:01:11 -07:00
yuhua.lin 82e845375a osd: delete .o.symversions [1/1]
PD#SWPL-114990

Problem:
delete .o.symversions in osd code

Solution:
complete it

Verify:
s4d

Change-Id: Ie84458cc1d43e8320fa49dee824854860c1b1790
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-03-14 03:01:02 -07:00
Evoke Zhang 8d83ae810c lcd: tcon: update debug info print [2/2]
PD#SWPL-114552

Problem:
lcd tcon debug information need update

Solution:
update tcon debug information print

Verify:
ar301

Change-Id: I38640a1ea6f46b1f5ab5c4cd085b85a3aa6c2fe4
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-03-14 03:00:58 -07:00
binbin.wang c591e984ab PM: C3: Enable pm [1/1]
PD#SWPL-105618

Problem:
Need to enable pm driver on C3.

Solution:
Modify dts.

Verify:
C3 pass

Change-Id: If410ea15e8d2dd5a7b1ff3e8fee6d127d023397f
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
2023-03-14 03:00:42 -07:00
dongfei.li fdc44491ff frc: frc add var inform alg [1/1]
PD#SWPL-114012

Problem:
add var to inform alg

Solution:
add var to inform alg

Verify:
T5M

Change-Id: Ibc858b039cdaf05fce17f9d1bec6762abcd0b8b9
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-03-14 03:00:30 -07:00
Pengcheng Chen 06c4dce052 vpp: correct tm2 probe data 12bit [1/1]
PD#SWPL-114525

Problem:
tm2 probe data is not expected

Solution:
correct tm2 probe data 12bit

Verify:
tm2

Change-Id: I4daa20bcdede65ecb8c4bfca4504fc262fec4da9
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-03-14 00:12:36 -07:00
yaoyu.xu 3a9c758209 hdmirx: fix 3d timing no signal issue [1/1]
PD#SWPL-109217

Problem:
no signal when 3d timing input

Solution:
1. optimize the judgment condition of unnormal timing
2. added protection logic for repetition

Verify:
T5M

Change-Id: I7b8b033c987127395c4be6db2dd4e79771ad3768
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-03-13 23:00:42 -07:00
Liqiang Jin e5eaac6d1e optee: change vmx-socket API from socket to ioctl for kernel 5.15 [1/1]
PD#SWPL-114262

Problem:
selinux blocks the socket

Solution:
change vmx-socket API from socket to ioctl for kernel 5.15

Verify:
Android T + AH212(SC2)

Change-Id: Iba760d5593eed4b73f95add52599cb8342edd67a
Signed-off-by: Liqiang Jin <liqiang.jin@amlogic.com>
2023-03-13 22:46:43 -07:00
jiahao.yang1 f59f3fed79 Doorbell: CF2 pmz need expand after rtos release mem. [1/1]
PD#SWPL-112909

Problem:
pmz need expand after rtos release mem.

Solution:
pmz need expand after rtos release mem.

Verify:
PB verify

Change-Id: I567e74c3dfd53ab70bdc82cb7a30c076e64a1dbc
Signed-off-by: jiahao.yang1 <jiahao.yang1@amlogic.com>
2023-03-13 22:46:36 -07:00
Pengcheng Chen 1cb9f4870d osd: set t3 revb prevsync go_field trigger [1/1]
PD#SWPL-114429

Problem:
t3 revb osd flash

Solution:
set prevsync_support = 0

Verify:
t3

Change-Id: Ia9b13e2824848bc1cee64d579dd2fadb0921afdd
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-03-13 22:46:22 -07:00
Jian Hu 0ad67b357d clk: t7c: update pcie pll parameters [1/1]
PD#SWPL-114953

Problem:
pcie pll locks failed

Solution:
update pcie pll parameters

Verify:
t7c

Change-Id: I32ef061112b3407482566ccc3c77cd2c1662df81
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-03-13 03:16:13 -08:00
Zhuo Wang 0d552b9f90 eth: restart eth0 when resume [1/1]
PD#SWPL-114869

Problem:
phy not work atfer resume sometimes

Solution:
restart ethernet after resume

Verify:
QA_verify with oppen

Change-Id: If247d7130dd0f9f6196a272e25a1acfe6b5f6abd
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-03-13 03:16:10 -08:00
Jiucheng Xu f92b7e91c6 dm: Remove bow common modification [1/1]
PD#SWPL-114099

Problem:
bow code has been integrated in kernel/common

Solution:
revert common_driver bow relative code.

Verify:
sc2

Change-Id: Ifb491fa67fd5093ed57b319644d9dc7bc276056e
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-03-13 03:16:07 -08:00
zhicheng.huang b4adc46e9c dtv_demod: fix t5m dvbc 128qam unlock(V1.1.87) [1/1]
PD#SWPL-110993

Problem:
t5m dvbc 128qam unlock.

Solution:
1.fix t5m dvbc 128qam unlock.
2.AMLDTVDEMOD_VER "V1.1.87".

Verify:
verify by T5M.

Change-Id: I3177c90a74d70017c68ba055410c5d7fdc952bae
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2023-03-13 03:15:23 -08:00
Jiucheng Xu e9d1b749fa Revert "md: dm bow for kernel 5.15 [2/2]"
This reverts commit f4ba55d9f3.

PD#SWPL-114099

Problem:
bow code has been integrated in kernel/common

Solution:
revert common_driver bow driver.

Verify:
sc2

Change-Id: I1380897831c2753601c97767ca4ace0c23f2d8ba
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-03-13 03:15:20 -08:00
Jiucheng Xu 4319298d2f Revert "dm: fix dm bow build issue [1/1]"
This reverts commit c141ad0ad7.

PD#SWPL-114099

Problem:
bow code has been integrated in kernel/common.

Solution:
revert commit

Verify:
sc2

Change-Id: I164b6dc0c61134d3e03360eaad270dd459d97c88
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-03-13 03:15:17 -08:00
mingxiu.sun aa3d14f03a vdin1: t5m optimize for vdin1 20M [1/1]
PD#SWPL-114591

Problem:
t5m kernel515 androidt optimize for vdin1

Solution:
t5m kernel515 androidt optimize for vdin1

Verify:
t5m kernel515 androidt

Change-Id: I85d0078bce7a462221ed79e27241cca75eb98d4c
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-03-12 23:13:36 -08:00
yaoyu.xu e73e020a15 hdmirx: fix 480p/i 176khz 192khz no sound [1/1]
PD#SWPL-113365

Problem:
480p/i 176khz 192khz no sound

Solution:
modify aud div.

Verify:
t5m

Change-Id: I4579f06ca8bca48d5f7d0d0352bc0d0c199d5f5c
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-03-12 23:13:33 -08:00
miaohong chen 98b3b5414e v4ldec: CF2 scatter mem saving optimization [1/2]
PD#SWPL-113962

Problem:
For the surface -> no-surface scenario,
the surface holds the buffer and cannot be released,
resulting in excessive memory usage.

Solution:
For no-surface scenarios, recycle after the afbc buffer is output.
n addition, count the scatter mem allocated from the system.

Verify:
T5M

Change-Id: Ib35efd91ed315569753ca929e735680868aabc8e
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
2023-03-12 23:13:30 -08:00
MingLiang Dong af74f83945 amvecm: update color tune code from 4.9 [1/1]
PD#SWPL-113434

Problem:
update color tune code from 4.9

Solution:
update color tune code from 4.9

Verify:
t3

Change-Id: I338c8639f1e1c2d080cdbfc4a1199942b8cac916
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2023-03-12 21:16:15 -08:00
qirong.li 60a0470912 vpp: WB data offset flow [1/1]
PD#SWPL-114467

Problem:
WB offset values not fit because of 13bit range for t7

Solution:
Modify the settings for T7 data ingress

Verify:
t7

Change-Id: I4f3b31a0b13b7247f3c7fb3a722d2931836fbb7d
Signed-off-by: qirong.li <qirong.li@amlogic.com>
2023-03-12 20:10:06 -08:00
qinglin.li ba68f82607 dmc_monitor: do_serror hooks function only use in this file [1/1]
PD#SWPL-112303

Problem:
do_serror hooks function only use in this file

Solution:
add static control

Verify:
t5m

Change-Id: I4aa151a6d975550b8edd732ac31d992b418b5394
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-03-12 19:13:43 -08:00
hongyu.chen1 8b00688241 power domain: add feature in kernel5.15. [1/1]
PD#SWPL-112632

Problem:
1.Some domains are still open after kernel is started.
In fact, they are not needed
2.Enable partial domain without awlays on it

Solution:
add unused power domain feature check.

Verify:
s5_ax201

Change-Id: I6c61a4a6d9c56f10e4c043f5e15af509ec7d2a51
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-03-12 19:13:35 -08:00
hongyu.chen 0dcca69eeb demux: set packet length and packet align. [1/1]
PD#SWPL-108203

Problem:
add set packet length function and packet align.

Solution:
add set packet length function and packet align.

Verify:
AH212/S905X4.

Change-Id: I3966a03e199fe31cb7b1f689bf6855a7b6983170
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-03-12 19:13:17 -08:00
chen.xu 3b6e317169 vc: the rotation direction of osd is opposite to video [1/1]
PD#SWPL-113422

Problem:
the rotation direction of osd is opposite of video.

Solution:
keep the rotation direction of the video consistent
with the osd.

Verify:
T7C

Change-Id: I83f5ed272eaa952d98cb12c6693df818cf61407a
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-03-12 03:08:55 -08:00
Wanwei Jiang eba5a519c3 common: disable module sign [1/1]
PD#SWPL-109858

Problem:
disable module sign

Solution:
1. disable module sign
2. don't make system_dlkm.img

Verify:
sc2

Change-Id: Iaf3a67608bd7015835d94a9197ea17782bd7ecf9
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-03-10 23:21:12 +08:00
yaoyu.xu b902e7b945 hdmirx: cdr retry [1/1]
PD#SWPL-108219

Problem:
some cases cdr do not lock.

Solution:
do cdr retry to recover.

Verify:
t5m

Change-Id: Ifdec1130c7a4703319c6fcd452e3eaf4f117df97
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-03-10 06:03:55 -08:00
Cheng Wang c601f9d398 frc: frc rdma buf optimize [1/1]
PD#SWPL-114036

Problem:
rdma buf optimize

Solution:
rdma buf optimize

Verify:
T3/T5M 5.15

Change-Id: Ic1e81af5dc2f5f5fb026ab7c4d046355deab83d7
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2023-03-10 01:40:19 -08:00