Commit Graph

4994 Commits

Author SHA1 Message Date
yiting.deng ebc1934074 vrtc: s7 vrtc k5.15 bringup [1/1]
PD#SWPL-137512

Problem:
s7 vrtc k5.15 bringup

Solution:
s7 vrtc k5.15 bringup

Verify:
ptm

Change-Id: Ic788c2a2ad90b9f6c813156008c1bb467a156ea8
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-01-22 12:48:43 +08:00
xiaotao.wei 9990b340a0 gpu: add clock 850M config [1/1]
PD#SWPL-136277

Problem:
clock of 850M set fail

Solution:
1.add CL:346181/347857 from clock team
2.add gp1_pll config in gpu dts config

Verify:
s7 ptm

Change-Id: I1f7fd276736c1a302a0f7f6482f2dcec14323823
Signed-off-by: xiaotao.wei <xiaotao.wei@amlogic.com>
2024-01-22 12:48:43 +08:00
yiting.deng bc85c61d23 clk: add s7 gp1_pll 852M [1/1]
PD#SWPL-137032

Problem:
gp1_pll donot set 852M, result mali clk set failed, then it lock
hifi_pll

Solution:
add 852M para, delete unnecessary clock parameters in gp1_pll,
delete hifi_pll configuration in mali

Verify:
ptm

Change-Id: I7f8e87c69ce639c487ea07d1acfcd566198f3f3a
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-01-22 12:48:43 +08:00
yiting.deng caf17e2c80 clk: fix s7 clk configuration [1/1]
PD#SWPL-136729

Problem:
1.need add clk flag
2.fix hifi1_pll init_regs, hifi_pl, gp0_pll calculation is
inaccurate due to the div2p5_en bit

Solution:
1. add flag
2. set dic2p5_en bit to 0, recalculate pll parameters

Verify:
ptm

Change-Id: Ia147308815d5a3cf568f11c4b15a047d3f7b20d6
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-01-22 12:48:43 +08:00
zehong.luo 4f89fc5402 s7: s7 decoder bringup. [1/1]
PD#SWPL-133925

Problem:
s7 decoder bringup

Solution:
s7 decoder dts config

Verify:
pxp

Change-Id: Iea39012de634618bf7288767d676f4ab58970b21
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
2024-01-22 12:48:43 +08:00
yuhua.lin 849a6d6704 s7: add support for codec_io/canvas/rdma [1/1]
PD#SWPL-135792

Problem:
s7 codec_io/canvas/rdma bringup

Solution:
complete it

Verify:
ptm

Change-Id: Iea6cf27abb32e332ca76856d3ccb6dc9c219eac5
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-01-22 12:48:43 +08:00
yuhua.lin 8e52cde7d6 vpu: add support for s7 [1/1]
PD#SWPL-135799

Problem:
s7 vpu_top bringup

Solution:
complete it

Verify:
ptm

Change-Id: I90f1b59d2654d5937ded6497876f0276e6ac270e
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-01-22 12:48:43 +08:00
xiaotao.wei 6087e5c5fc gpu: add gpu config for s7 pxp bringup [1/1]
PD#SWPL-134175

Problem:
mali.ko insmod fail

Solution:
1.add gpu colck config
2.set gpu colck to 500M for default

Verify:
s7 pxp

Change-Id: I507632b67fb480cafe5292b251e8f61e30eb0a85
Signed-off-by: xiaotao.wei <xiaotao.wei@amlogic.com>
2024-01-22 12:48:43 +08:00
Yan Wang d60993f6d2 dts: S7 update cpu index node. [1/1]
PD#SWPL-135755
PD#SWPL-135148

Problem:
CPU SMP/Hotplug

Solution:
CPU SMP/Hotplug

Verify:
ptm

Change-Id: Ic7f4e7bb173a32f8e7a040947c3239aab30d036d
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2024-01-22 12:48:43 +08:00
Ruixuan.li 8d9808c28d emmc: s7 bringup [1/1]
PD#SWPL-133267

Problem:
s7 bringup need sd&emmc

Solution:
support sd&emmc

Verify:
pxp

Change-Id: I634066b7549c1ed1a0b4a605cc5d00b170bf4558
Signed-off-by: Ruixuan.li <ruixuan.li@amlogic.com>
2024-01-22 12:48:43 +08:00
yiting.deng 586d413b41 clk: vdec set 800M frequency [1/1]
PD#SWPL-135101

Problem:
vdec set 800M frequency fail

Solution:
fix fclk_div2p5 configuration

Verify:
pxp

Change-Id: Iabb813b09b5059b06923781fcb49ab7074c035bb
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-01-22 12:48:43 +08:00
Yao Jie 3d723b36dc mailbox: s7 mailbox pxp bringup [1/1]
PD#SWPL-132368

Problem:
s7 mailbox pxp bringup

Solution:
modify dtsi to support s7 mailbox pxp
bringup

Verify:
PXP

Change-Id: Ia1dd5b2942375b0b727583d464a83b14dc5dcbf7
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-01-22 12:48:43 +08:00
yiting.deng 24fbbcfdb8 clk: s7 kernel pxp clk bringup [1/2]
PD#SWPL-132405

Problem:
s7 kernel pxp clk bringup

Solution:
s7 kernel pxp clk bringup

Verify:
pxp

Change-Id: I9905c650ffc6e39d22c441d5fef4f89a78f10e3a
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-01-22 12:48:43 +08:00
hongyu.chen1 82db98ad69 S7: add power domain. [3/3]
PD#SWPL-131629

Problem:
s7 need power domain.

Solution:
add power domain in kernel.

Verify:
pxp

Change-Id: I4ce47b7de5d734084356a08fc1fdbebe665253ac
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-01-22 12:48:43 +08:00
pengzhao.liu 1452b1a388 kernel: open uart and modify dtsi header file [1/1]
PD#SWPL-130301

Problem:
Open uart and modify dtsi header file

Solution:
Open uart and modify dtsi header file

Verify:
s7

Change-Id: I1b95c794ac5dfd98311d28db44308b802d596ec2
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-01-22 12:48:43 +08:00
Huqiang Qin c7bd1b3240 pinctrl: support gpio/pinmux for s7 [1/1]
PD#SWPL-131121

Problem:
S7 PxP Bringup.

Solution:
S7 PxP Bringup.

Verify:
PxP

Change-Id: I6cfd05e9af683eb5e3a488388ac76852ca740d43
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-01-22 12:48:43 +08:00
Zelong Dong 7a41ee0dd8 reset: add reset controller support for s7 [1/1]
PD#SWPL-131768

Problem:
don't support s7 platform

Solution:
add reset controller support for s7

Verify:
s7_pxp

Change-Id: Ibbcdd2aaa59e75cefe26baa9cf3bb7ab8106149b
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-01-22 12:48:43 +08:00
pengzhao.liu e30c199ef6 kernel: s7 pxp kernel bringup [1/1]
PD#SWPL-130301

Problem:
s7 pxp bringup

Solution:
s7 pxp

Verify:
s7

Change-Id: If54e3043629c5972c35a0f84dded6ec35000ab7e
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-01-22 12:48:43 +08:00
junai.zhang 22cecad111 ffm: adjust ffm related dts for u [1/1]
PD#SWPL-151614

Problem:
ffm can not work

Solution:
adjust ffm related dts for u

Verify:
franklin_hybird

Change-Id: I980fbe13162a0734b485a5ce1a5462b0293b9d6d
Signed-off-by: junai.zhang <junai.zhang@amlogic.com>
2024-01-20 04:29:27 -07:00
nengwen.chen 8bcaaa6599 atv_demod: fix scan audio detect and frequency sync (V3.06) [1/1]
PD#SWPL-154153

Problem:
fix scan audio detect and frequency sync.

Solution:
fix scan audio detect and frequency sync.
AMLATVDEMOD_VER "V3.06".

Verify:
T5M/TXHD2.

Change-Id: Id3525e8b4ba673e036a3f6d64ab1afd26a0f2f4d
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-01-19 18:09:06 -07:00
lele xiang a278f2d7ca dts: CF1 adjust the size of codec_mm cma for android ohm. [1/3]
PD#SWPL-136892

Problem:
Evaluate memory requirements based on actual scenarios

Solution:
Adjust cma size from 432M to 364M

Verify:
ah212

Change-Id: If9554110a2bb1637cfe9cc934796a1fef4fedb97
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2024-01-19 04:58:44 -07:00
hongyu.chen 24f0460288 demux: support g12a u215 dts. [1/1]
PD#SWPL-154926

Problem:
Support G12a u215 dts.

Solution:
Support G12a u215 dts.

Verify:
no verify.

Change-Id: I10e3f3d162a544c13868505d112a3a9828b863bf
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2024-01-19 04:58:39 -07:00
Wanwei Jiang 9593e19a01 audio: fixed kernel panic [1/1]
PD#SWPL-154489

Problem:
kernel panic

Solution:
modify the type of the kunmap function parameter to struct *page

Verify:
soddy

Change-Id: If7e6aebfc5f423061af4af65a3b25ca802dcc4ea
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-19 02:45:35 -07:00
qinghui.jiang edc2fe5aeb amvecm: lc flash for special pattern [1/1]
PD#SWPL-153056

Problem:
range detect threshold not fit.

Solution:
modify threshold as test pattern.

Verify:
t5m

Change-Id: I37c6a1ac9138c0b5e440ef207cb7f65957da00b8
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2024-01-19 00:47:12 -07:00
yao liu e801912bf3 amdv: fix crash issue when setting cfg/bin [1/1]
PD#SWPL-154171

Problem:
crash when setting cfg/bin

Solution:
add null point check after malloc

Verify:
t5m

Change-Id: I119dfc1635091a0b04ae20203e566ed467c40b9d
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-01-19 00:47:07 -07:00
Cheng Wang 47047498bb frc: fix frc rdma crash [1/1]
PD#SWPL-154663

Problem:
fix frc rdma crash

Solution:
fix frc rdma crash

Verify:
T5M

Change-Id: I4b777f8c56be193f5b2488798eb8b6834a881fdb
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2024-01-18 22:51:40 -07:00
yufei.huan 7ce3c6c793 deinterlace: fix arb error issue(t5m) [1/1]
PD#SWPL-153186

Problem:
When switch from pre-link and process interlace video,
it will occur the arb error

Solution:
1. add inp/mem/nr wr mif reset
2. enable wr mif axi protection
3. change burst len to 0 for mc/cont/mtn wr mif

Verify:
Verified on t5m

Change-Id: Ia04fa1ff6b96db60ffc4b9d9734c7ea1345b85a8
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2024-01-18 22:51:30 -07:00
Jian Cao 4de2da8c05 rdma: add pre-vsync rdma_done detection [1/1]
PD#SWPL-151485

Problem:
serial port information causes rdma to always be delayed

Solution:
to avoid rdma logic errors
add pre-vsync rdma_done check

Verify:
T3X

Change-Id: Id93e303f67caed6028d10e88649592aa3edcc5b1
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-01-18 22:51:23 -07:00
chen.xu b6d122bc1d aipq: t5m only aipq or pq do hist [1/1]
PD#SWPL-151874

Problem:
need do aipq for T5M.

Solution:
modify code to support.

Verify:
T5M

Change-Id: Ief28052e1df8f67fff4e291319511d48ca6e2075
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-01-18 20:55:28 -07:00
Huijuan Xiao ae68446cb9 aipq: t5m support aipq sche 5 [1/1]
PD#SWPL-152143

Problem:
t5m support aipq.

Solution:
add t5m aipq.

Verify:
t5m

Change-Id: I6b98663ba20fcee67d4a747bc4239792e8a35c00
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-01-18 20:55:23 -07:00
bowen cheng cc93b1cf74 cec: fix cec bootup crash [1/1]
PD#SWPL-154577

Problem:
use spd list before list init

Solution:
check port_seq before use spd list

Verify:
T5D

Change-Id: Icc9a9e19aa3eb0b4eaf337bd33dd1517f31e6f17
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
2024-01-18 20:55:07 -07:00
qinglin.li 7f7de17272 scripts: support build kasan with parameter for androidt [2/2]
PD#TV-107858

Problem:
support build kasan with parameter for androidt

Solution:
support build kasan with parameter for androidt

Verify:
local

Change-Id: I0538542862e5e708aea92257d90b49ab47ced9be
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-01-18 04:26:22 -07:00
haitao.liu 9b2057633d vdin: return ENODEV if no signal in v4l2 mode [1/1]
PD#SWPL-149832

Problem:
Unplugging hdmirx when camera apk previewing will cause video abnormal,
because camera hal closed the v4l2 device.

Solution:
return ENODEV if no signal in v4l2 mode,camera close v4l2 only receive
ENODEV.

Verify:
t7c

Change-Id: Iabdbef3c5b27a7e701f2803997ecfff7549ffea7
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-18 04:26:14 -07:00
jintao xu 4e28f16850 amvideo: hdmi no keep [1/1]
PD#SWPL-117570

Problem:
hdmi change fmt will black 2 times

Solution:
hdmi not keep

Verify:
T5w

Change-Id: Ifb1dda07335edf171707a03151d8d7f7623382f3
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2024-01-18 04:26:09 -07:00
jinbing.zhu f7b60ad309 amvecm: 5.15 modify osd setting flow to match in/out csc type [1/1]
PD#SWPL-149781

Problem:
modify osd setting flow

Solution:
modify osd setting flow

Verify:
t962d4

Change-Id: I3dd30d02767a85114682d130d2a5ce8ca22d78f6
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-01-18 04:26:04 -07:00
Pengcheng Chen 4db35d7f1e vpp: pip_screen_mode not update immediately for dual screen [1/1]
PD#SWPL-151405

Problem:
pip_screen_mode not update immediately for dual screen

Solution:
update pip_screen_mode immediately for dual screen

Verify:
t7

Change-Id: I7a030dfb685160aef2df7d88f0e7a8b1da536ef3
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-18 02:51:16 -07:00
congyang.huang 8884d8e62a drm: not write dv bypass bits in drm [1/1]
PD#SWPL-147709

Problem:
burn dovi.ko, the color display abnormally

Solution:
uboot and dv write dv bits, so drm should not init it

Verify:
t7c

Test:
DRM-OSD-145

Change-Id: I79355c657ba672cafd8fa57c97160e65e053b30a
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-01-18 02:51:12 -07:00
bangsan.mao 602daed4ec Audio: differ TDMB output channels [3/3]
PD#SWPL-150289

Problem:
sound card codecs used the same channels of TDM out

Solution:
differ TDMB output channels

Verify:
t7c android N

Signed-off-by: bangsan.mao <bangsan.mao@amlogic.com>
Change-Id: I46ef15ec33c465ba1e12caa7b2ab60fc86904e0b
2024-01-18 00:55:22 -07:00
Jianxiong Pan 53afcf70d1 mm: userfault ko early loading. [1/1]
PD#SWPL-154394

Problem:
userfault load too late to print info.

Solution:
userfault early loading.

Verify:
local.

Change-Id: Icc654e4810be34e9ead575515a68a8491ace46a8
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-01-17 22:35:46 -07:00
Cheng Wang c1c2caea98 frc: frc rdma process optimisation [1/1]
PD#SWPL-148241

Problem:
frc rdma version optimisation

Solution:
frc rdma version optimisation

Verify:
T3X

Change-Id: I11fc1c65bb5fa1d440617f6deab1fa00e9f93014
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2024-01-17 22:35:42 -07:00
qiyao.zhou f8d994906f vpp: multi-play abnormal in 576I output. [1/1]
PD#SWPL-154357

Problem:
bit_offest is error for 576I output in S5.

Solution:
Modify bit_offest value.

Verify:
s5

Change-Id: I760616f1b94a792823e49c048d6ff97d259d983f
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-01-17 04:57:23 -07:00
chen.xu cbd74f02c5 amlvideo2: fix modify system time screen recording fail [1/1]
PD#SWPL-152578

Problem:
while modify system time, screen recording fail.

Solution:
Using functions that are independent of system time.

Verify:
T7C

Change-Id: If58288638cfefec6559c5290b8c911b2e1593d45
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-01-17 04:57:16 -07:00
congyang.huang b4663eb478 drm_hdmitx: The refresh rate of 576i and 480i are incorrect [1/1]
PD#SWPL-138840

Problem:
Incorrect refresh rates for 576i and 480i

Solution:
Divide the clock of mode by 2

Verify:
BG201

Test:
DRM-OSD-119

Change-Id: I8ab37a30753db9e428ecbd58a26ea1e37e6cfd44
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-01-17 04:57:11 -07:00
Wanwei Jiang 089e1df8bc autopatch: support autopatch for linux [1/1]
PD#SWPL-154292

Problem:
support autopatch for linux

Solution:
support autopatch for linux

Verify:
local

Change-Id: Idaae5f82e6e07c89781ab53cf1a436cbdac36fe1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-17 03:08:01 -07:00
Pengcheng Chen 0684a02702 vpp: w_in size need aligned for amdv [1/1]
PD#SWPL-153961

Problem:
w_in size need aligned for amdv

Solution:
w_in size need 4 aligned for amdv 2 slice
w_in size need 2 aligned for amdv 1 slice

Verify:
t3x

Change-Id: Ia79f892db4807b0da61f7e246d0a21717d4f42d3
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-17 03:07:55 -07:00
haitao.liu 455405c98e vpp: set urgent and qos default value [1/1]
PD#SWPL-148473

Problem:
video may abnormal when popup osd or hide osd

Solution:
optimize urgent and qos setting of vpu

Verify:
T3X

Change-Id: If69edebda821a45e59ad56ca8211eaf450c7ad2f
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-17 03:07:47 -07:00
chen.xu 1fbbd3621b di_process: open di backend for t7c [1/3]
PD#SWPL-151220

Problem:
support di backend for t7c in ott product line.

Solution:
support di backend for t7c in ott product line.

Verify:
t7c

Change-Id: Ied18eb1e69f798712be3d56c8a5297383b1db25f
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-01-17 03:07:41 -07:00
Wanwei Jiang dd5ce4f5a7 chipid: read chipid fail [1/1]
PD#SWPL-152551

Problem:
read chipid fail

Solution:
the chipid can be read by reading registers, but the register address is
set in DTS, which is prone to setting errors. It can be read through a
unified command, so there will be no previous problems.

Verify:
s905x2

Change-Id: I2019a7b8201dedec1f71a1edf09f9b51b730f5c2
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-01-17 03:07:30 -07:00
zijie.lin 2141a1ecb0 lcd: lcd_delay_ms replace msleep [1/1]
PD#SWPL-152208

Problem:
less than 20ms do not use msleep

Solution:
less than 20ms will use usleep_range

Verify:
none

Change-Id: I73ac90a6c04adaf5f961a59d74f82640fce9a7bf
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2024-01-17 03:07:22 -07:00
Haotian Guo ace552a3ab hdmirx: add vrr_range_dynamic_update_en in dts [1/1]
PD#SWPL-147043

Problem:
freesync test fail

Solution:
When UI closes freesync, vrr needs to be closed

Verify:
t3x

Change-Id: I61b52929834aaec61b463881194d7c0a2fd1d9d1
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-01-16 19:36:07 -07:00