Commit Graph

1662 Commits

Author SHA1 Message Date
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
yuhua.lin ffb7fa4816 osd: support using ion alloc memory [1/1]
PD#SWPL-114458

Problem:
support osd using ion alloc memory

Solution:
complete it

Verify:
t5m

Change-Id: I949952c1fbc9653136110a939f310f2fe064ec9b
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-03-10 01:40:15 -08:00
Jian Cao b10499604c gdc: add a timeout check for each queue item [1/1]
PD#SWPL-111150

Problem:
GDC module memory allocation failure

Solution:
if a timeout occurs, dewarp will stop working until restarted
add a timeout check for each queue item

Verify:
t7/p1

Change-Id: I1671407414d1deea271221763eb5c88a6db89456
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2023-03-10 00:16:28 -08:00
qiang.liu ddf58d29d2 vdin: not advance send frame when interlace signal [1/1]
PD#SWPL-107863

Problem:
interlace signal advance send frame will abnormal

Solution:
interlace signal not advance send frame

Verify:
t3

Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
Change-Id: I2d61fcf06731e53fbabc67597f65c6f7da69353c
2023-03-09 21:21:21 -08:00
xiang.wu1 19096e0ca4 hdmitx: fix y422 deep color check [1/1]
PD#SWPL-112839

Problem:
if deep color declaration in VSDB not
support 10/12bit, y422,10/12bit will
be masked in dc_cap sysfs node.

Solution:
not check color depth for y422

Verify:
S5

Change-Id: I8faeebedf2e66fd1a41ff0e65d925a9d3cdc38c2
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2023-03-09 21:21:13 -08:00
Evoke Zhang 43b3d1f831 lcd: fix hdmi mode 47hz & 95hz timing [2/2]
PD#SWPL-114216

Problem:
hdmi mode 47hz timing is incorrect

Solution:
fix hdmi mode 47hz & 95hz timing

Verify:
ar301

Change-Id: I0240e4e7b871cec86bfacedaa28f90f23a718cf3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-03-09 21:21:00 -08:00
Chao Zhang b7bb41bda9 bug: change 667Mhz fail for s905c2l [1/1]
PD#SWPL-112912

Problem:
freq 667Mhz config  error for s905c2l

Solution:
update 667Mhz freq

Verify:
S905C2L-AH223

Change-Id: Ie2db31c332500cb320572daa5b97373a20cdacfd
Signed-off-by: Chao Zhang <chao.zhang@amlogic.com>
2023-03-09 21:20:51 -08:00
min.yang 72b5d4fd5f dvb_extern: add cxd2878 module [1/1]
PD#SWPL-109352

Problem:
can not find cxd2878 module.

Solution:
add in dvb_extern.

Verify:
verified by ohm.

Change-Id: Ib8bd16b4d540a9d7a91a81d491b542ff174be6c2
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-03-09 21:20:48 -08:00
Dezhen Wang 45dfcb0c98 Script: add function of insmod ko according to need of service loaded [2/11]
PD#SWPL-111103

Problem:
Need to add the function of insmod ko by service itself when it is loaded

Solution:
copy the files from service_module to modules to support the function.
adding new function in amlogic_utils.sh script and add the interface in
Android code

Verify:
sc2

Change-Id: Ifd5220abe93eae44d274ac7ab1678acf7b476f60
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-03-09 21:20:42 -08:00
gaoyue.huang 8c99319803 vdin: t5m using lossy compression mode [1/1]
PD#SWPL-114707

Problem:
need system optimization

Solution:
t5m enable vdin lossy compression mode

Verify:
t5m

Change-Id: I3db1a6d9eaad7b63bfdf0044295fd89b01234aa5
Signed-off-by: gaoyue.huang <gaoyue.huang@amlogic.com>
2023-03-09 19:12:06 -08:00
Jianxiong Pan 7c266ce8d3 dts: t5m: define the default cma pool in dts. [1/1]
PD#SWPL-114024

Problem:
define the default cma poo in dts.

Solution:
define the default cma poo in dts.

Verify:
t5m_ay301.

Change-Id: Ia41a107a18a0c9bfd221be2d108d016e77dbe915
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-03-09 19:12:02 -08:00
zhicheng.huang 67cc65c171 dtv_demod: remove S/S2 ber config (V1.1.86) [1/1]
PD#SWPL-109041
PD#TV-73746

Problem:
during source switch, DVB-S probabilistically unlocks
first and then lock on t3/t5w/t5m/t5d

Solution:
1.remove S/S2 ber config
2.AMLDTVDEMOD_VER V1.1.86

Verify:
t965d4_ar321

Change-Id: I93c487b47d21974f017f0382d60c3eb352429f96
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2023-03-09 03:19:01 -08:00
qiang.liu 48c231cc36 tvafe: add ntsc-50hz crash debug [1/1]
PD#SWPL-113039

Problem:
ntsc-50hz will crash

Solution:
add ntsc50hz crash debug

Verify:
T3

Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
Change-Id: I617004f558490d9ae17cd0c03c3a05fc1a39a0dd
2023-03-09 02:59:02 -08:00
gerrit autosubmit 05abc2226e Merge "Audio: remove workqueue when suspend/resume [1/1]" into amlogic-5.15-dev 2023-03-09 02:59:00 -08:00
jiebing chen f9e515a30e Audio: remove workqueue when suspend/resume [1/1]
PD#SWPL-112732

Problem:
workqueue warning will happen when work not cancel

Solution:
remove workqueue when suspend/resume

Verify:
A311D2-AN400

Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
Change-Id: If3fbb0da984eb1e1448258c62c8af905b5ae0930
2023-03-09 02:58:59 -08:00
haitao.liu d118fca96f vdin: reduce vdin0 buffer [1/1]
PD#SWPL-114668

Problem:
vdin0 donot need 11 buffers

Solution:
change vdin0 buffer number to 10

Verify:
t5m

Change-Id: Ia31813415897941b68b251af8b9a0738026a03e5
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-03-09 01:12:37 -08:00
qinglin.li b721106f36 serror: use exit vendor hooks show dmc reg when serror [2/2]
PD#SWPL-112303

Problem:
use exit vendor hooks show dmc reg when serror

Solution:
use exit vendor hooks show dmc reg when serror

Verify:
sc2

Change-Id: I528f3ee60ea29c8b42d8397da60c19407bae2ad7
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-03-09 01:12:34 -08:00
qiang.liu 9a2ca619c2 vdin: screen capture modify [1/1]
PD#SWPL-56204

Problem:
1.set vdin1 port error cause crash
2.if not data input not reminder

Solution:
1.vdin1 port protect
2.will reminder information if not data input

Verify:
t5w

Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
Change-Id: I555ae90d7a51d0d79b4bdbdbb143e866f815d3d5
2023-03-09 01:12:25 -08:00
Zelong Dong 424885550f ir: support EV_REL only when enable ir mouse mode [1/1]
PD#SWPL-108487

Problem:
not allow to support EV_REL in CTS test

Solution:
support EV_REL only when enable ir mouse mode

Verify:
t7_an400

Change-Id: Ia1228038e48dc04fa0a02a94bee9edc711b3fdf2
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-03-08 23:16:09 -08:00
yaoyu.xu d6ae7f7b8d hdmirx: select old eye height algorithm [1/1]
PD#SWPL-114466

Problem:
settings need to be different at different cases.

Solution:
settings need to be different at different cases.

Verify:
t5m

Change-Id: I5f077c61d07bf7949738ba313cd85997a6f6051c
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-03-08 23:15:53 -08:00
Xingxing Wang b3fa479621 thermal: align T5M thermal params to T3 [1/1]
PD#SWPL-112969

Problem:
t5m thermal params update

Solution:
align to t3

Verify:
t5m

Change-Id: I1e592cbd8e1ad39aa09fbef397b50ef919e07722
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2023-03-08 19:17:15 -08:00
Wanwei Jiang 5a7a3439e5 common: enable module sign [1/1]
PD#SWPL-109858

Problem:
build error:
out/android14-5.15/common/scripts/sign-file: No such file or directory

Solution:
enable module sign, but still disable CONFIG_MODULE_SIG_PROTECT

Verify:
sc2

Change-Id: I7a6663aa9d50269b7d1e7ca213642a49e26f6bd0
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-03-08 08:06:11 -08:00
yao zhang1 e89d974419 config: c3 enable Module unloading. [1/1]
PD#SWPL-106998

Problem:
lsmod used by do not work.

Solution:
c3 enable Module unloading

Verify:
C3 aw402

Change-Id: I0e2f69ee9eadbe25540bae2660570930779ac85a
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-03-08 05:11:38 -08:00
zhicheng.huang f81e371fb9 dtv_demod: change the calculation method of ber(V1.1.85) [1/1]
PD#SWPL-109041

Problem:
ber calculation is incorrect

Solution:
1.change the calculation method of ber
2.AMLDTVDEMOD_VER V1.1.85

Verify:
AR331

Change-Id: I5a8a9d7477846b0b542315047f9e072c91c70214
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2023-03-08 03:14:05 -08:00
jinbing.zhu 1fc9e2a290 dnlp: 5.15 dnlp modify variable [1/1]
PD#SWPL-109932

Problem:
modify

Solution:
modify

Verify:
t982

Change-Id: If90f74464e1ed1eea0c403b311ba6184e1739d74
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-03-08 03:13:58 -08:00
Wanwei Jiang fd0540a785 common: disable module sign [1/1]
PD#SWPL-109858

Problem:
can't insmod closed ko

Solution:
disable module sign

Verify:
sc2

Change-Id: I9b252563f065b005f7ce5828feb3f8f03deedea6
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-03-08 01:44:22 -08:00
hang cheng dfbaa22e5c cec: correct port number for t5m [1/1]
PD#SWPL-111876

Problem:
there're 4 hdmirx ports on t5m, but driver
only report 3 ports to framework, cause
HDMI4 cec function not work

Solution:
correct port number for t5m

Verify:
t5m

Change-Id: Ia3c36554a1be2b360758a0b9c96cb13ae70a458d
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2023-03-08 01:20:31 -08:00
Jianxiong Pan dcd9053fce debug: add meson_atrace inline function. [1/1]
PD#SWPL-114065

Problem:
disable meson atrace config will build failed.

Solution:
add meson_trace inline func.

Verify:
build pass.

Change-Id: I4e08548fc39b0a9a099a9f25a1f9c82d9c75c84c
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-03-07 23:10:47 -08:00
Pengcheng Chen f5bdbf0ad3 vpp: fix video zorder adjust for s5 [1/1]
PD#SWPL-113476

Problem:
s5 video zorder not work

Solution:
add video zorder adjust for s5

Verify:
s5

Change-Id: I37ae14bb986ff16447e0805ab29925da0b7323eb
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-03-07 23:10:44 -08:00
Gaowei Zhao 2e3e628334 hdmirx: kernel-5.15 T5W bringup [1/1]
PD#SWPL-113304

Problem:
T5W bringup

Solution:
T5W bringup

Verify:
t5w

Change-Id: I81d7be0dc515a91d4536ac37e7fb14171db426ed
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2023-03-07 23:10:35 -08:00
Zongdong Jiao 299b454066 hdmitx21 & audio: add 4 i2s channels select [1/1]
PD#SWPL-104214

Problem:
no i2s channels select

Solution:
1) add 4 i2s channels select
2) add i2s_ch_mask in struct aud_param
3) audio notify i2s channel mask to hdmitx

Verify:
t7 BDS

Change-Id: I6d2ee785baa7b92b9699746cf339936bba044486
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2023-03-07 23:10:30 -08:00
zhicheng.huang 2f7d97f02a dtv_demod: rebuild isdbt to improve signal locking performance(V1.1.84) [1/1]
PD#SWPL-108175

Problem:
ISDBT scanning takes too long

Solution:
1.rebuild isdbt
2.AMLDTVDEMOD_VER V1.1.84

Verify:
detail

Change-Id: Ia055cf1256683fbfca1510dfa8a0842568d699db
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2023-03-07 21:11:15 -08:00
Pengcheng Chen 02f0c432c9 vpp: fix t5d vskip calc error issue [1/1]
PD#SWPL-113642

Problem:
vpp_process_speed_check calc error

Solution:
set none s5 chip slice num to 1

Verify:
t5d

Change-Id: I07f4ea5f0982d356761b55ab377bf011b64c3dec
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-03-07 21:11:11 -08:00
Wanwei Jiang b84fbe0d0d common: group the common's patches [1/1]
PD#SWPL-114348

Problem:
group the common's patches

Solution:
1. the zstd in the current kernel is newer than the version we ported,
so delete 0073*.patch
2. group the common's patches

Verify:
sc2

Change-Id: I3f5e68e44fe3ca8911541a366945bfb4ab7f940c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-03-07 07:47:55 -08:00
Wenjie Qiao e97e777438 cec: not send the msg of cec off [1/1]
PD#SWPL-114133

Problem:
cec send msg of cec off

Solution:
not store msg when cec off

Verify:
sc2

Change-Id: I0be909f53e63af11b92c78f61e244229b2e5a0d0
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-03-07 05:16:03 -08:00
xing.fang 4dcf95ecdf Audio: fix speaker pop nosie [1/1]
PD#SWPL-72636

Problem:
There is a pop nosie some times when play Raw data

Solution:
1.tinymix for tdm gain control which is called by audio hal for fadeout
2.Description
1)playback:
disable gain -> set max gain
2)tinymix TDMOUT_B GAIN 0:
enable gain -> set gain ctrl -> set min gain

Verify:
T982_X9-AR301

Change-Id: Ia5c8f2ff7f570814b42a0e660683a07e13afe035
Signed-off-by: xing.fang <xing.fang@amlogic.com>
2023-03-07 05:15:45 -08:00