Commit Graph

2488 Commits

Author SHA1 Message Date
yao liu 802d50f2d4 amdv: display abnormal when start up at source-led [1/1]
PD#SWPL-118991

Problem:
ko insmod happened during process, sent pkt without controlpath.
In this case, dovi_ll_enable is false by default, lead to vsif parameter
error.

Solution:
Add uboot output check, update dovi_ll_enable if source-led.

Verify:
sc2

Change-Id: I476c4ba24fcda72e753782ca1794a3700531bdfd
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-05-22 22:57:07 -07:00
song.han 38998404cd dts: add dts node for iotrace [1/1]
PD#SWPL-109963

Problem:
lack of dts node needed by iotrace

Solution:
add dts node for iotrace

Verify:
t3x

Change-Id: I352bd21445178539d10b665a6ec37efe6dab0059
Signed-off-by: song.han <song.han@amlogic.com>
2023-05-22 22:51:50 -07:00
dongfei.li 4116752e31 frc: frc chg t3x 60hz size [1/1]
PD#SWPL-122922

Problem:
t3x 60hz question

Solution:
fixed size setting

Verify:
T3X

Change-Id: Id7884f782aec97d2b697eee9d5abf916b062df1b
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-05-22 21:38:00 -07:00
Qianggui Song e058bb93e0 t3: dts: add 32bit device tree [1/1]
PD#SWPL-124212

Problem:
Need to support 32bit kernel for t3
Preparing for txhd2

Solution:
Add t3 32bit device tree

Verify:
local ar321 & ar301

Change-Id: I0907ec66a22306f6ab2b856ed7c0916b900c8a4f
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-05-22 21:37:53 -07:00
caihua.zhao b3d65893bc amlogic-tee : Add a node for getting tee sys info [1/1]
PD#SWPL-118735

Problem:
Need to add a node for getting tee os version

Solution:
Add a new file node for getting tee sys info.

Verify:
OK

Change-Id: I3a5307f6c1d6e92b4aff04b4c9e950b8543dfb8f
Signed-off-by: caihua.zhao <caihua.zhao@amlogic.com>
2023-05-22 21:37:51 -07:00
qinglin.li 89f05b9582 upgrade: kernel upgrade by May with tool [1/1]
PD#SWPL-124098

Problem:
kernel upgrade by May

Solution:
kernel upgrade by May

Verify:
local

Change-Id: Iad040a4a123eafb4c2b9e47b6421c36a810e7edb
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-05-22 20:54:14 -07:00
shaochan.liu 9e6dcba0a0 dts: fix vby1 hdp training err [1/1]
PD#SWPL-122520

Problem:
1, tcl 43inch vby1 can't display due to vby1 hdp not training

Solution:
1, default set gpioh_8 low for vby1 can training normal

Verify:
t5m_ay301

Change-Id: I59c62f8d451e2d13f4a104dfeb492102b87aa8a7
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
2023-05-22 04:53:58 -07:00
yi.liu fa4be434db amlbian: increase ion-fb buffer size [1/1]
PD#SWPL-123331

Problem:
Stuck when switching users

Solution:
increase ion-fb buffer size.

Verify:
local

Signed-off-by: yi.liu <yi.liu@amlogic.com>
Change-Id: I2af178100f125ae532b1748679b021d0d5ae98ed
2023-05-22 03:40:48 -07:00
Evoke Zhang 3bc39d63ac dts: bc302: update i2c2 pinmux [1/1]
PD#SWPL-124733

Problem:
t3x i2c pinmux config need update for pinctrl driver changed

Solution:
update i2c2 pinmux config for t3x

Verify:
bc302

Change-Id: I59b633e64b9c760be74c265e0e67ee39b35807d5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-05-22 03:40:44 -07:00
yaoyu.xu 66035a38b6 hdmirx: fix 640x480 half screen issue [1/1]
PD#SWPL-123705

Problem:
do de-repeat on dvi mode if previous format has repetition

Solution:
force disable de-repeat for dvi mode.

Verify:
t5m

Change-Id: I72fb60a3da047bd808a8b4c62a4a626bea2372f5
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-05-22 03:40:41 -07:00
Jianxiong Pan 400763df46 zapper: disable the unused code and configs. [1/1]
PD#SWPL-116862

Problem:
memory optimization for zapper.

Solution:
disabled the unused configs.
disabled the unused code.

Verify:
t215.

Change-Id: I427d88cc1d62f2735fe1abdfae564dfc61b78fd2
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-05-22 02:51:09 -07:00
wenlong.zhang dfb336773b drm: fix stride calculate incorrect [1/1]
PD#TV-80579

Problem:
stride calculated by source width from user setting

Solution:
stride should refer to real frame buffer width

Verify:
T5M

Test:
DRM-OSD-64

Change-Id: Icab85bc87efc7dd52bdb528a9bbd0f28118e8dfc
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2023-05-22 02:51:05 -07:00
Jianxiong Pan e283f523e1 unifykey: fix the errors. [1/1]
PD#SWPL-124337

Problem:
the size passed to ioremap func is incorrect.
cma pool conflict with iotrace.

Solution:
fix the errors.

Verify:
t5w.

Change-Id: Ic54a47313c5839be17a07ae1a2b60b3092d23343
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-05-22 00:48:34 -07:00
yaoyu.xu 0605ba0ac8 hdmirx: modify edid delivery method [1/1]
PD#SWPL-121731

Problem:
modify edid delivery method;

Solution:
modify edid delivery method;

Verify:
t3x

Change-Id: Idbd765cc79040155ba1c28aa40a6ad0e6a9ed134
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-05-21 23:56:04 -07:00
Cheng Wang e7e00d3b19 frc: frc debug method optimize [1/1]
PD#SWPL-124268

Problem:
frc debug method optimize

Solution:
frc debug method optimize

Verify:
T3X

Change-Id: Ice13d7fa9ed0911d3f98d39f5904d1b86bfe90f0
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2023-05-21 22:54:07 -07:00
Cheng Wang fe9a5cab9d frc: frc t3x secure verify [1/1]
PD#SWPL-119590

Problem:
t3x frc secure mode verify

Solution:
32/64 bit ddr test pass

Verify:
T3X

Change-Id: I17c64e2c07b3246c83f61839bbbf2c9baa406210
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2023-05-21 22:54:05 -07:00
Tianhua Sun 6bd4c8e83f videotunnel: support send video state cmd without connect for producer [2/2]
PD#SWPL-122889

Problem:
support send video state cmd without connect

Solution:
do not check connection status when cmd is send video state
for producer

Verify:
soddy

Change-Id: Ibcee11a8d4a06d2fcf69944f3b98249441375a8a
Signed-off-by: Tianhua Sun <tianhua.sun@amlogic.com>
2023-05-21 22:53:51 -07:00
qiankun.wang 73edbb1b97 debug: arm: fix compile error with --upgrade [1/1]
PD#SWPL-118595

Problem:
'./mk.sh --arch arm --upgrade', an error
occurred during compilation.

Solution:
add a header file and change the function
name.

Verify:
SC2

Change-Id: I660a1d196f4216f0fa48b8ce7c59f2874d7e1a92
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-05-21 19:02:52 -07:00
lizhi.hu 1762e04ac3 lcd: fix combo_dphy error [1/1]
PD#SWPL-124465

Problem:
COMBO_DPHY_CNTL1 lane set error when using eDP or mipi

Solution:
fix lane value

Verify:
t7c

Change-Id: I87a6781287e1f50052fc691da6d487c74088c71c
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2023-05-21 19:02:46 -07:00
qiang.cheng b15da5ef2b dts: adjust default sound card device for debian [1/1]
PD#SWPL-121864

Problem:
no audio output in g12b/sm1 debian

Solution:
adjust default sound card device

Verify:
local g12b sm1

Signed-off-by: qiang.cheng <qiang.cheng@amlogic.com>
Change-Id: Ib14e16cf582432589ff29bc10775a71bc4ba7bf1
2023-05-21 18:59:00 -07:00
yao liu fde4f5070d amdv: disable core1 and core2 swap latch [1/1]
PD#SWPL-122864

Problem:
core1 swap reg are latched by default for s5.
When resolution changed,
size is not updated synchronously.

Solution:
disable swap latch

Verify:
s5

Change-Id: Icbca5d630a26a01013a6680fbfc9c336a02f6774
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-05-21 18:58:45 -07:00
chuangcheng peng cc0a43a45e demux: support tsync for get pcr [1/2]
PD#SWPL-124199

Problem:
can't get pcr

Solution:
register callback for pcr

Verify:
T3-P

Change-Id: Ia451ffc271a169393e02195291460237ba47db26
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-21 18:58:40 -07:00
xiaoming sui d96e2b21cc tsync: CB2 support tsync for get pcr. [2/2]
PD#SWPL-124199

Problem:
1, tsync can not get the demux pcr;
2, kernel panic in the tsync driver;

Solution:
1, get demux pcr from demux driver;

Verify:
T3

Change-Id: Idded2969187f1cac04ff113704d8189311b70106
Signed-off-by: xiaoming sui <xiaoming.sui@amlogic.com>
2023-05-21 18:58:30 -07:00
Gaowei Zhao 6109fd7f84 hdmirx: support filmmaker mode for HDMIRX & VDIN driver [1/1]
PD#SWPL-110964

Problem:
not support filmmaker

Solution:
implement filmmaker mode

Verify:
t7

Change-Id: Icb11f5eaa9f78f5d2cafe664e626798b45f28a4c
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2023-05-21 18:58:21 -07:00
qiang.liu 712f02f988 tvafe: adjust nostd_stable_cnt value [1/1]
PD#SWPL-119159

Problem:
nostd_stable_cnt too small

Solution:
adjust nostd_stable_cnt value

Verify:
T5W

Change-Id: I23a160047864b505b56099d80fa79ec24f08196c
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-05-21 18:58:16 -07:00
Hanjie Lin f4ab2e6961 dts: smp: enable APU for t3x [1/1]
PD#SWPL-119162

Problem:
APU should not be seen except audio

Solution:
add APU support

Verify:
t3x

Change-Id: Ib08ccd40fd66715784eb543ade3f08db100013d5
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2023-05-19 06:23:35 -07:00
Wanwei Jiang af83848710 Merge "mtd nand: CB2 optimize nand boot area [1/1]" into amlogic-5.15-dev 2023-05-19 05:16:04 -07:00
Jian Hu 00ab770c08 dts: fix typo [1/1]
PD#SWPL-123165

Problem:
there are some differences between ref and skt dts

Solution:
skt keep the same with ref dts

Verify:
t3x

Change-Id: I0dbea73f79f8919ef1016e8b71ad5bfcb4e05459
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-05-19 04:55:08 -07:00
Pengcheng Chen d105a1517a vpp: fix crash when run lowlatency mode with legacy_vpp = false [1/1]
PD#SWPL-123792

Problem:
in lowlatency mode, vinfo is null

Solution:
call vinfo = get_current_vinfo() in lowlatency_vsync

Verify:
s5

Change-Id: I2870d3f6bbce7fd77420054eb03a1c78e3c46b7c
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-05-19 04:54:50 -07:00
Feng Chen 03fe0b2794 mtd nand: CB2 optimize nand boot area [1/1]
PD#SWPL-123982

Problem:
- optimize nand boot area

Solution:
- optimize nand boot area

Verify:
BF201_S805C1A

Change-Id: I520add1439c625fdb5b8cded86090b1b21ccda2c
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2023-05-19 02:33:15 -07:00
Blance Tang 063d2ad7c9 C1A Zapper: Add DTS for C1A BF201 [1/1]
PD#SWPL-119112

Problem:
Add DTS for C1A BF201

Solution:
Add DTS for C1A BF201

Verify:
BF201 (C1A+AQ2432)

Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
Change-Id: Id6cd4c3ccdb231474c0bbb655af9a75c33d95875
2023-05-19 02:05:24 -07:00
xiangyang.yan 5b1a415e2c eth: T3X modify internal_phy to 1 [1/1]
PD#SWPL-123719

Problem:
T3X modify internal_phy

Solution:
T3X modify internal_phy

Verify:
T968D4-BC309-SOCKET#43

Change-Id: Ib9a8b6f0e39956518083941624f8b1dc07902426
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2023-05-19 01:56:25 -07:00
caiyi.xu fb92a67b52 dtv_demod: optimize isdbt stability of locking signal (V3.2.104) [1/1]
PD#SWPL-123990
PD#TV-80871
PD#TV-79342

Problem:
The lock frequency state cannot be quickly reset after signal reset

Solution:
1.reduce sensitivity of demod state
2.reset demod every interval after signal loss
3.reset demod every interval after lock status loss

Verify:
AR331, Latam, AT30a3

Change-Id: I75c73cdf82014454610d37e2479a7f8b536076d0
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
2023-05-19 01:56:19 -07:00
Feng Chen 2d1b3f30de spinand: cannot be mounted normally [1/1]
PD#SWPL-123829

Problem:
nand cannot be mounted normally.

Solution:
modify oob layout for BBM

Verify:
a1

Change-Id: I19b038cf6e9a5196d0637467d2572eb1178a9496
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2023-05-19 01:56:14 -07:00
congyang.huang 8630daaf31 drm: congig VIU_OSD3_PATH_CTRL reg [1/1]
PD#SWPL-81727

Problem:
t3/t5w/t5m are different from t7
not config VPP_OSD3_SCALE_CTRL reg

Solution:
config VIU_OSD3_PATH_CTRL
and PATH_START_SEL

Verify:
base t7c,verify t3/t5w/t5m

Test:
keyston

Change-Id: I072606b70d7871f6efbb5fd8620a9ec424e80d7b
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-05-19 01:51:32 -07:00
yufei.huan 60787afcde deinterlace: switch p with afbc timeout [1/1]
PD#SWPL-120412

Problem:
switch p with afbc timeout

Solution:
source p do not crc update

Verify:
t7c

Change-Id: I8ab53055cb22478aa8c8f7acf4163bdf2edc4d0c
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-05-19 00:41:30 -07:00
min.yang b2f8ee7c6a dvb_extern: optimize tuner demod attach (V1.13) [1/1]
PD#SWPL-109718

Problem:
can not search channel at platform which only
use an internal demod.

Solution:
optimize tuner and demod attach.

Verify:
verified by T + smith

Change-Id: I7386d6070675f09a29f6481b68d62dab7f0fec65
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-05-19 00:41:26 -07:00
Yue Wang ab5f946be7 t5m: usb: fix usb shutdown [1/1]
PD#SWPL-124341

Problem:
fix usb shutdown

Solution:
fix usb shutdown

Verify:
t5m

Change-Id: I82d3852b5bc894f48d882af1bad0a698cae3dfd8
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2023-05-18 21:49:56 -07:00
Pengcheng Chen 93c5c49610 vpp: fix video blank when ATV switch AVIN in amvideo path [1/1]
PD#SWPL-124025

Problem:
hdmi_in_delay_check hit go_exit not reinit caused
vd1 not swap frame sometimes in amvideo path

Solution:
set go_exit = 0 before toggle

Verify:
T965D4

Change-Id: Ied36fedb441673ae9d6517ce753c916b4cdd9cbf
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-05-18 21:49:53 -07:00
jian.hu b391042402 t3x: fix bazel error [1/1]
PD#SWPL-123165

Problem:
./mk.sh --gki_20 --bazel

Solution:
fix bazel error

Verify:
t3x

Change-Id: I1e5e386a645daaa7294acd2a0f6a82ed718ee312
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2023-05-18 21:08:42 +08:00
qinghui.jiang 7cf444a5a0 amvecm: t3x mergeback trunk- amvecm crash [1/1]
PD#SWPL-123757

Problem:
some cases not fit for all chips.

Solution:
modify code flow to fix.

Verify:
t3x/s5/t7

Change-Id: I27191b39c3b7efa94af3cf330610215954ea7e58
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-05-18 21:08:42 +08:00
Jian Hu c4e39b8308 t3x: fix bazel error [1/1]
PD#SWPL-123165

Problem:
./mk.sh --gki_20 --bazel

These symbols are missing from the symbol list and are not available
at runtime for unsigned modules:
spi_finalize_current_message
strim

Solution:
add symbols

Verify:
t3x

Change-Id: I7ba1b12167314fa6fe0f94149f897cd8f459e906
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-05-18 21:08:42 +08:00
jiebing chen 6923df93db Audio: fix t5w crash for pcpd monitor [1/1]
PD#SWPL-123901

Problem:
fix t5w crash for pcpd monitor

Solution:
fix t5w crash for pcpd monitor

Verify:
use t3x

Change-Id: Ide49a39d26e3d6d24bce9a138442388693c3e520
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2023-05-18 21:08:42 +08:00
Xiangyu Cai c6c1579a23 vlock: add 144hz output in t3x bringup [1/1]
PD#SWPL-122166

Problem:
144hz vlock unlock

Solution:
vlock add 144hz output

Verify:
t3x_t968d4_bc302

Change-Id: I0d92144e2ccf8c8969d59bba3d43f6b60475d861
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2023-05-18 21:08:42 +08:00
yuhua.lin 555d8cffbf osd: t3x mergeback trunk error [1/1]
PD#SWPL-123760

Problem:
map_virt_from_phys redefinition

Solution:
fix it

Verify:
t3x

Change-Id: I07f70baee104414d7f676c1c895dabd5fa8b4081
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-05-18 21:08:42 +08:00
huijie.huang d0f738b101 lcd: t3x tconless support 120/144hz [2/2]
PD#SWPL-117227

Problem:
t3x tconless bringup

Solution:
t3x tconless support 120/144hz

Verify:
t3x bc302

Change-Id: Id2e915244c38df5cffa5e9ed7f7c43327ae8bd9c
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2023-05-18 21:08:42 +08:00
jinbing.zhu 2270f59ba9 amvecm: modify t3x histgram change to dma [1/1]
PD#SWPL-122329

Problem:
modify

Solution:
modify

Verify:
verify on t3x

Change-Id: I1e093942d8885ddc095559e6e70f3f8385cf9b36
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-05-18 21:08:42 +08:00
Evoke Zhang 2b81767702 dts: bc302: add vbyone2hdmi panel parameters [1/1]
PD#SWPL-122387

Problem:
need support vbyone2hdmi panel parameters in dts

Solution:
add vbyone2hdmi panel parameters for bc302

Verify:
bc302

Change-Id: I6aeae55f5119b41582617438d4150c7d327ec407
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-05-18 21:08:42 +08:00
Evoke Zhang e39aa6a3ac lcd: drm mode update for 4k60hz [1/1]
PD#SWPL-122985

Problem:
lcd drm mode is incorrect for 4k60hz

Solution:
update lcd drm mode for 4k60hz

Verify:
bc302

Change-Id: I1d36585cd150e7afd21c8d5817d0afbd54f002ac
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-05-18 21:08:42 +08:00
qinghui.jiang 226b3ab138 amvecm: modify code flow for t3x bringup [1/1]
PD#SWPL-117234

Problem:
modify for t3x bringup

Solution:
1.modify lc reg config
2.add sharpness peaking settings sync flow
3.add slice1 sync flow in am_set_regmap

Verify:
t3x

Change-Id: I67b3dcc66f6aad4f637804fb598081e337967fbe
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-05-18 21:08:42 +08:00