Commit Graph

5596 Commits

Author SHA1 Message Date
zhenteng.tian e6da7c87d6 sm1: enable di in display side for sm1. [1/3]
PD#SWPL-161620

Problem:
Android U support di backend for sm1.

Solution:
Android U support di backend for sm1.

Verify:
sm1

Change-Id: Iea61b7cfe0f21053288855a147cd66066704f37d
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-03-29 04:33:12 -07:00
Haotian Guo f802228439 hdmirx: add special ddc status [1/1]
PD#SWPL-161689

Problem:
Source stuck while reading edid

Solution:
Re recognize edid when stuck

Verify:
t5m

Change-Id: Ic56bd34118c684899811ac656919c747dea1f283
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-03-29 04:33:09 -07:00
rong.wang 549a6d1cde deinterlace: add api to get input param for vpp [1/1]
PD#SWPL-160157

Problem:
add api to get input param for vpp when pre-link

Solution:
add api to get input param for vpp

Verify:
t5m

Change-Id: I5f1198c94dfc840f5024d1fdb61bda2f5c5e8f4e
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2024-03-29 04:33:05 -07:00
Gaowei Zhao e80b9f6ac5 hdmirx: fix xbox display abnormal when signal changes [1/1]
PD#SWPL-149386

Problem:
xbox display abnormal when signal changes

Solution:
notify the backend to set black pattern after receiving avmute

Verify:
t5w

Change-Id: If614697df3e35e205e22dd21b5e4e67d8c140dae
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-03-29 04:33:01 -07:00
nengwen.chen cc143b27dc dvb_extern: fix suspend/resume and optimize code and log (V1.20) [1/1]
PD#SWPL-161454
PD#SWPL-158834
PD#SWPL-161521

Problem:
fix suspend/resume and optimize code and log.

Solution:
fix suspend/resume and optimize code and log.
AML_DVB_EXTERN_VERSION "V1.20".

Verify:
S7 and U215.

Change-Id: I593d0c6ac3cfc0110fa3ef44ec89a59d478218db
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-03-29 00:41:13 -07:00
nengwen.chen 17f0e00604 atv_demod: remove more print logs (V3.10) [1/1]
PD#SWPL-161562

Problem:
remove more print logs.

Solution:
remove more print logs.
AMLATVDEMOD_VER "V3.10".

Verify:
TXHD2.

Change-Id: I31caf1a6393c2ca2e924ab83f03f3f65ab99c43e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-03-29 00:41:07 -07:00
can.zhang 060f5c410b amdv: remove g12 mute delay setting [1/1]
PD#SWPL-160896

Problem:
stb mute error

Solution:
1.remove mute delay

Verify:
sc2

Test:
DRM-OSD-6

Change-Id: Icb5a334c8b530e778bff01f2cfb69d69a5b31618
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2024-03-29 11:09:14 +08:00
yahui.liu 8f9e15f3c3 hdmitx: [hpd] add system time id in hdmitx state [1/1]
PD#SWPL-158042

Problem:
drm module automic-check and automic-enable use differnet hpd status
information when hdmitx hotplug

Solution:
[hpd] add system timein hdmitx state

Verify:
S5/SC2

Test:
DRM-TX-103

Change-Id: Id0f37cf01c5266a720f2881ee8cd9fab274b79b9
Signed-off-by: yahui.liu <yahui.liu@amlogic.com>
2024-03-28 19:44:59 -07:00
hai.cao 89e7ed1e60 vpu_top: add vpu std function [1/1]
PD#SWPL-158187

Problem:
add std support

Solution:
support hibernate mode for vpu top

Verify:
t7c

Change-Id: I9bf878e01cffad3e53995febda24069bd2138f46
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-03-28 06:07:06 -07:00
xiang.wu1 5ba250458a hdmitx: Optimize phy node close phy process [1/1]
PD#SWPL-161417

Problem:
There is no CVBS/dummy output and vsync under S5 uboot.
echo 0 > phy turns off phy, but the action of turning off
phy is executed in the vsync interrupt. Because there is no
vsync interrupt, the action of turning off phy here will not
actually be executed. When the system is set to hdmi mode
(1)hdmitx_phy_pre_init()->(2)hdmi set venc—>(3)enable hdmi HW
–>(4)enable HDMI phy. HDMI venc/vsync was enabled between (2)
and(3), At this time, the phy shutdown action was performed,
and the phy pre init setting in (1) was cleared, resulting
in HDMI without TODIG CLK–>hdmitx ch_clk

Solution:
if not have vsync intr, wait 3 frame,manually turn off phy

Verify:
s5

Test:
DRM-TX-67, DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81

Change-Id: I161bf83c1b6a1da4cc910ddc4a7edd20ad910d18
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-03-28 03:57:32 -07:00
Cheng Wang 218b29f9bd frc: frc sync motion from fw [1/1]
PD#SWPL-158938

Problem:
frc sync motion from fw

Solution:
frc sync motion from fw

Verify:
T3X

Change-Id: I12c5b10ee15f71ed5bcc962ba2eb02b62cc5d412
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2024-03-28 03:57:16 -07:00
gan.zhang 6fca55e0c8 codec_mm: add config for scatter alloc from DMA32. [1/1]
PD#SWPL-143076

Problem:
mmu copy cannot access address over 4G.

Solution:
set alloc from dma32 zone when config_alloc_flags bit0 is set.

Verify:
S5

Change-Id: I142f182dff1509e591d20ed0e440a6851f8d7029
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
2024-03-28 03:57:07 -07:00
jinbing.zhu 1ec1c74c7a amvecm: 5.15 add vpp yuv/rgb format switch for hdmitx [1/1]
PD#SWPL-151057

Problem:
hdmitx can't convert to rgb when dsc enable

Solution:
add vpp yuv/rgb format switch for hdmitx

Verify:
s5

Change-Id: I2416c44f80abc9e9d3c4a7afbb740b167b3c7b21
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-03-28 03:57:01 -07:00
ruofei.zhao c782e34f45 hdmitx: add null pointer judgment in boot_parameters [1/1]
PD#SH-18773
PD#SWPL-160955

Problem:
The boot_parameters parameter does not perform null pointer judgment,
which will cause a crash

Solution:
add null pointer judgment in boot_parameters

Verify:
T7C
SC2

Test:
DRM-TX-

Change-Id: Idd5fe05145ac07d1358293d26872bcf4a2bc5eda
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-03-28 02:33:04 -07:00
jiebing chen 01035653ae audio: use spk mute to control the pa gpio [3/3]
PD#SWPL-161349

Problem:
there are no spk mute control node

Solution:
enable the spk mute control

Verify:
s7

Change-Id: Id38d34214c7593861aa493bd60c25176048c2a25
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-03-27 21:55:05 -07:00
Jian Cao f554cc7eef vpp: avoid rdma write over vsync [1/1]
PD#SWPL-158630

Problem:
enc line number is not correct under mode 1080i

Solution:
1. avoid rdma write over vsync
2. fix 1080i over vsync calc

Verify:
s1a

Change-Id: I10fba2e443e1e1c3167560ed6e3cd014247c4efc
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-03-27 07:48:58 -07:00
huiwen.yu 9672cfc037 kernel: support 8g ddr [1/1]
PD#SWPL-153258

Problem:
support 8g ddr

Solution:
support 8g ddr

Verify:
t3x

Change-Id: I26ee985a68c5bdb0924301ebb31658df5d5daa65
Signed-off-by: huiwen.yu <huiwen.yu@amlogic.com>
2024-03-27 05:57:06 -07:00
lele xiang e757d7f267 codec_mm: CF1 Optimize force_cache_on usage logic. [1/1]
PD#SWPL-161028

Problem:
the flag of force_cache_on keep true for a long time in scatter cache.

Solution:
Optimize force_cache_on usage logic.

Verify:
S805X2/AH212

Change-Id: I6d4bcf73722fdbcca36a114d8f4efbbf812b4575
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2024-03-27 04:05:35 -07:00
lele xiang 762e4a63cc codec_mm: CF1 modify 2k platform codec_mm scatter cache size. [1/1]
PD#SWPL-159404

Problem:
reduce scatter cache memory setting for 2k platform.

Solution:
modify 2k platform codec_mm scatter cache size.

Verify:
t5d/S805X2/TXHD2/S1A/S805X3

Change-Id: Icef2f68fb854466726699ecad4bd34a1cb0c3bef
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2024-03-27 04:05:17 -07:00
chuangcheng.peng 94a9773f61 demux: fix ts clone update old data [1/1]
PD#SWPL-161009

Problem:
section get old data

Solution:
rp should be updated when it created input

Verify:
verified at project

Change-Id: I4ad13ed47a579427219e41cdd8a081a080c574cb
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-03-27 02:13:38 -07:00
yunmin.chen 905e5ed92f tsync: CB2 stream_input Driver loading exception [1/1]
PD#SWPL-148389

Problem:
Disable the tsync module,
stream_input Driver loading exception

Solution:
Adjust tsync_pcr_stop() implementation.

Verify:
BG201

Change-Id: Iadf943a29394fb89f27db9c590e648233eec07e1
Signed-off-by: yunmin.chen <yunmin.chen@amlogic.com>
2024-03-27 02:13:05 -07:00
huijie.huang 68b3b8f02c lcd: tcon: fix release memory crash [1/1]
PD#SWPL-159100

Problem:
free no-map memory crash

Solution:
skip free no-map memory

Verify:
be311, bc302

Change-Id: I25cf09a4b78911a56b1251ffae16e963e5db03e1
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2024-03-26 23:56:39 -07:00
zijie.lin c9c0539fd6 bl: load unifykey accord diff version [1/1]
PD#SWPL-161979

Problem:
KASAN bug

Solution:
load unifykey accord different version

Verify:
t5m

Change-Id: Ifa7d2c6c767d8842ff10234f9192fde8c7408482
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2024-03-26 23:56:30 -07:00
Jian Hu c6ac4873c6 dts: arm64: enable ramoops [1/1]
PD#SWPL-161996

Problem:
pstore does not work

Solution:
enable ramoops

Verify:
t3x

Change-Id: I3dd2976b3da5d6cefc97b8e290eea64f5e109c5f
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2024-03-26 23:56:24 -07:00
xiang.wu1 6f4ff66381 hdmitx21: Optimization of standby power consumption [1/1]
PD#SWPL-161016

Problem:
When s7 is in standby and wakes up, it will turn off and on the vpu
power domain. When it is turned off, the reg of the relevant modules
will be reset, the output no signal when it wakes up.

Solution:
hdmitx driver needs to reinitialize the required top register when
it wake up

Verify:
s7

Test:
DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81

Change-Id: Ie9d458087fcc9ea672ec477d46b88a6d7ddcec81
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-03-26 23:55:50 -07:00
Kelvin Zhang 0d0eee00e6 Merge "Revert "wifi: add support w1u wifi/bt [4/4]"" into amlogic-5.15-dev 2024-03-26 06:28:58 -07:00
Jianhui Zhao 6f9d39af35 Revert "wifi: add support w1u wifi/bt [4/4]"
This reverts commit 5d4859098a.

Change-Id: I588f3ff8a45c779430aaf57cf81717acbc109fad
Signed-off-by: jianhui.zhao <jianhui.zhao@amlogic.com>
2024-03-26 04:19:16 -07:00
jinbiao 615122f6f6 eMMC: support hs400 200Mhz for SM1. [1/1]
PD#SWPL-158716

Problem:
SM1's eMMC runs in highspeed mode .

Solution:
support hs400 200Mhz for SM1.

Verify:
SM1_S905X3

Change-Id: I457717b742a759e2e30491c9eae85fa99c82849f
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
2024-03-26 00:41:04 -07:00
dongfei.li f68672dd56 frc: frc configure buf num [1/1]
PD#SWPL-151267

Problem:
drv set buf num

Solution:
drv set buf num

Verify:
T3X

Change-Id: I2e8ee518adddb969c499b285ceb0988f13ab7a00
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2024-03-25 11:33:02 +00:00
qinghui.jiang 8995ef0f21 amvecm: dnlp flash [1/1]
PD#SWPL-159039

Problem:
vi_hist not stable.

Solution:
modify dma config.

Verify:
t3x_revb

Change-Id: I0768b276120b2bae8df1e5640dc0ddaadc4c3d03
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2024-03-25 04:01:45 -07:00
yuhua.lin e572615fb3 video: add test_screen pattern support for t3x [1/1]
PD#SWPL-161005

Problem:
add test_screen pattern support for t3x

Solution:
complete it

Verify:
t3x

Change-Id: I800e933d286255c17c06455f5b7ca5c9d75c1644
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-03-25 03:13:28 -07:00
xiaotao.wei 43b1c55339 ion: disable ion-fb node on linux [1/1]
PD#SWPL-157969

Problem:
ion-fb/heap-fb is not used on linux, it should be disabled

Solution:
set the size of ion-fb/heap-fb to 0

Verify:
t5d

Change-Id: I6127f825dd3e5040e0f5358664bbd9d714f164fd
Signed-off-by: xiaotao.wei <xiaotao.wei@amlogic.com>
2024-03-25 03:13:22 -07:00
yiting.deng d64b311bb5 clk: s5: fix k5.15 wrong clk config [1/1]
PD#SWPL-161479

Problem:
fix s5 kernel5.15 clk wrong config

Solution:
fix it

Verify:
s5

Change-Id: I5d9fb22d5d9d15d00adfa92975ad332add647fa2
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-03-25 03:13:18 -07:00
chengshuo.wang 5d4859098a wifi: add support w1u wifi/bt [4/4]
PD#SWPL-159647

Problem:
1.add support w1u wifi/bt

Solution:
1.add support w1u wifi/bt

Verify:
ok

Change-Id: I3d6eb96a097019511a663aa4b0e90df7bb838491
Signed-off-by: chengshuo.wang <chengshuo.wang@amlogic.com>
2024-03-25 03:13:14 -07:00
Cheng Wang b1e640cccd frc: fix frc secure error [1/1]
PD#SWPL-159411

Problem:
channel switching causes anomalies

Solution:
channel switching causes anomalies

Verify:
T3X

Change-Id: I2c5e68c06496516ade894cf4a792b82bc37b926c
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2024-03-25 03:13:10 -07:00
dian.shao b0608a6bad usb: race between unbind&setup [1/1]
PD#SWPL-158524

Problem:
CTS-V usb accessory test unplug&plug too
quickly leading to the racing between unbind
and setup.

Solution:
Add udc_async_callbacks().

Verify:
t7.

Change-Id: I5c4f362583b1e9e3d385fbad0b36da3b92d38eee
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-03-25 03:13:07 -07:00
congyang.huang 1679fbd1a5 drm: fix afbc dump reg issue [1/1]
PD#SWPL-157367

Problem:
afbc dump reg error

Solution:
soc > T7, one afbc core supports multiple afbc planes,
configure it when init afbc core

Verify:
t7c, sc2, s5

Test:
DRM-OSD-6

Change-Id: I94cefc5948dc22d25703002e537e389e9a41a65d
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-03-25 03:13:03 -07:00
Jianxiong Pan 8a48e95e63 mm: autopatch: remove devicetree node. [1/1]
PD#SWPL-155289

Problem:
memory optimization.

Solution:
remove devicetree node.

Verify:
t5d.

Change-Id: I74a7d614e016573000a345246dcc8f73d34dc04d
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-03-23 21:48:58 -07:00
hai.cao 6a85e338fe vpu: init arb and urgent [1/1]
PD#SWPL-161276

Problem:
set arb and urgent default val

Solution:
add arb and urgent default val

Verify:
s7

Change-Id: Ic0dd2f35e65e9b1580970d82096d067e9a15da5c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-03-23 05:51:09 -07:00
xiang.wu1 acdc881925 hdmitx21: modify send allm vsif method [1/1]
PD#SWPL-159832

Problem:
VSIF send bytes wrong

Solution:
hdmitx21 requires software calculation,
Valid values need to be filled starting from db[1]

Verify:
s7_bh201

Test:
DRM-TX-30, DRM-TX-78, DRM-TX-79, DRM-TX-80, DRM-TX-81

Change-Id: I62d32a0dc6c73b788ad56aaec35277d2447ee7a6
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-03-23 05:51:04 -07:00
zhenteng.tian 5d78f14c6c vc: add resource manager integrate debug loglevel setting. [1/1]
PD#SWPL-154397

Problem:
display debuglevel can not be set in user version.

Solution:
add resource manager integrate debug loglevel setting for user version.

Verify:
T5M

Change-Id: I2c8ae8d22bac1b22b709720b532a4ebe988f1fac
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-03-23 05:50:59 -07:00
haitao.liu 8af7ddb6ff vdin: May get wrong input_rate [1/1]
PD#SWPL-159359

Problem:
input rate is calculated by vsync interval.when unplug hdmirx,
the intervals of vsync are very close,cause the input_rate become
a very large number.

Solution:
Do not update the input_rate if it is bigger than base framerate

Verify:
T5m

Change-Id: I7215028ae2cd9451a59f7f92d4cc403860fec5ee
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-03-22 06:05:11 -07:00
haitao.liu 4711f952e8 vdin: optimize dropping frames when game mode change [1/1]
PD#SWPL-159051

Problem:
vdin drop 3 frames when game mode change,some are unnecessary

Solution:
drop frames as theoretical value

Verify:
t5m

Change-Id: Ifc00704597ba4306b19f39f5040982b995732738
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-03-22 06:05:07 -07:00
Doosan Baek dabf12f7b3 kt: fix aml_kt_get_status [1/1]
PD#SWPL-161936 

Problem:
The 'kt_ret' bits in 'KT_REE_CFG' must not be checked
because the 'kt_ret' bits have an invalid value
without performing the keytable configuration.

Solution:
remove the routine checking kt_ret in aml_kt_get_status.

Verify:
SC2

Change-Id: Ifa3b82c3fa620e1cdc8da6c62da075305045acad
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2024-03-22 04:24:06 -07:00
chen.xu 20df815cf4 video_processor: fix hwc creat black frame rotate err [1/1]
PD#SWPL-159751

Problem:
hwc creat black frame rotate err.

Solution:
video_composer support black frame rotate.

Verify:
T3X

Change-Id: I6a66381593f6573d57e18bb0368319f584d921a7
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-03-22 04:23:52 -07:00
chen.xu c7455ba134 aipq: optimize to use ge2d for RGB to Y conversion [1/1]
PD#SWPL-161111

Problem:
Opening AIPQ results in high CPU loading cause player lose frames.

Solution:
optimize to use ge2d for RGB to Y conversion.

Verify:
T5M

Change-Id: Ib63bf7a05de9ad489ba8944b9740f255dd416496
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-03-22 04:23:39 -07:00
Bichao Zheng 53186a85c5 c3: aw409&aw402 nand partition confirmation [3/3]
PD#SWPL-145752

Problem:
1. Reduce bootloader area

Solution:
1. Reduce RSV to 24 blocks.
2. Reduce devfip 2backup.

Verify:
C3

Change-Id: I34e0f94f80709be6e6e4f50a168ab174568dfe00
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2024-03-22 04:23:25 -07:00
Dezhen Wang 0a45329dfa scripts: support closed source modules build to Independent folder [1/2]
PD#SWPL-158464

Problem:
support closed source modules build to Independent folder and copy
to android output folder

Solution:
add closed source modules list to blacklist

Verify:
local

Change-Id: Ibd9be1c7e8e7eb1b043fd10e96436cb1d96f78a1
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-03-22 04:23:15 -07:00
Xiangyu Cai 2e5457e9e4 framelock: disable vrr when input different with vinfo [1/1]
PD#SWPL-147354

Problem:
blurred screen

Solution:
disable vrr when input different with vinfo

Verify:
t3x

Change-Id: I509eac083541f4a67648a0056465f567c2598076
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2024-03-22 02:13:53 -07:00
Pengcheng Chen 7953485c84 vpp: sr1 in size force disable display abnormal in 2 slice mode [1/1]
PD#SWPL-161047

Problem:
sr1 in size force disable pps phase step not adjust
in 2 slice mode caused display error

Solution:
sr1 in size force disable pps phase step adjust
in 2 slice mode

Verify:
t3x

Change-Id: I716f44b30fbd33ccc83aa94b0cbc93cf0361215e
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-03-22 02:13:45 -07:00