Commit Graph

4467 Commits

Author SHA1 Message Date
yao liu 94316d64bb amdv: case5356 fail [1/1]
PD#SWPL-144183

Problem:
case5356 fail

Solution:
1.reset controlpath at hdmi first frame
2.improve hist read and write logic in cert mode
3.disable top2 interrupt when top1 enable

Verify:
t3x

Change-Id: I2ddd80eedf2148272e814aba75de4124f0f5639d
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-01-20 19:34:54 +08:00
qianqian.cai 6db09b3630 deinterlace: sync code with kernel [1/1]
PD#SWPL-148387

Problem:
sync code

Solution:
sync code with 54

Verify:
t3

Change-Id: I523dc049a282501b2e98d13144482f7eedd29bb8
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2024-01-20 19:34:39 +08:00
Pengcheng Chen d9b84ca7be vpp: overlap size separate for amdv [1/1]
PD#SWPL-145367

Problem:
overlap size separate for amdv

Solution:
overlap size separate for amdv,input 96,output 32

Verify:
T3X

Change-Id: Ie643d5872955bb95aa1e177f69b8f2d5a6f3a021
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-20 19:34:31 +08:00
Xindong Xu e6e8279c70 newton: change parititon table for OTA [1/1]
PD#SWPL-146682

Problem:
support OTA from S vendor freeze to U

Solution:
change parititon table for OTA

Verify:
newton

Change-Id: If92f249028ebdabddf02f7091dcde87c28dd5f83
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2024-01-20 19:33:56 +08:00
Long 0594ddab7f eMMC: enable cmd strobe mode. [1/1]
PD#SWPL-142343

Problem:
not support cmd strobe mode.

Solution:
enable emmc cmd strobe mode.

Verify:
txhd2

Change-Id: Ifcf2aba8808875f0499fab7df58830b9efa0922f
Signed-off-by: Long <long.yu@amlogic.com>
2024-01-20 19:33:27 +08:00
jinbing.zhu e7233f6ec1 amvecm: modify lc matrix coefficient [1/1]
PD#SWPL-143690

Problem:
modify lc matrix coefficient

Solution:
modify lc matrix coefficient

Verify:
tm2

Change-Id: Ibb7d871a9344e763d7b59fa3cf1f3bc9dd448de5
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-01-20 19:32:54 +08:00
Liming Xue 18f38947c3 dsp: tm2 kernel5.15 bringup [1/1]
PD#SWPL-144579

Problem:
tm2 dsp kernel5.15 bringup

Solution:
tm2 dsp kernel5.15 bringup

Verify:
tm2

Change-Id: I17005cb1f22e69ae4f59e6cde47c84236dc726d0
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-20 19:32:18 +08:00
Xiangyu Cai a556238a9f amvecm: tm2 update to 5.15 [1/1]
PD#SWPL-143672

Problem:
tm2 update to 5.15 32bit and 64 bit

Solution:
tm2 update to 5.15 32bit and 64 bit

Verify:
tm2

Change-Id: I7c886b60e9d0b9e0b1793e0726f6710f4b922306
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-20 19:30:11 +08:00
Yao Jie b579909e3d mailbox: tm2 mailbox bringup [1/1]
PD#SWPL-143660

Problem:
tm2 mailbox bringup

Solution:
tm2 mailbox bringup

Verify:
TM2-AB301

Change-Id: Icd1ddaee5d15f4b18ca887f386091d79e1013a2e
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-20 19:29:17 +08:00
yuhua.lin 9ba7d42dc5 vpu: add vpu support fot tm2 [1/1]
PD#SWPL-145062

Problem:
tm2 vpu top bringup

Solution:
complete it

Verify:
tm2

Change-Id: I4e2a16908f9bfb6de137df773a8414465e1b2eaf
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-20 19:27:15 +08:00
dian.shao 98ee8e6e7f usb: tm2 bringup [1/1]
PD#SWPL-143618

Problem:
TM2 Bringup
-Kernel 5.15
-High speed peripheral driver
-USB

Solution:
Add dts nodes & modify aml usb driver.

Verify:
ab301(revb)

Change-Id: I5ae840e3cf312a37138924fd2e405323c0a7c009
Signed-off-by: dian.shao <dian.shao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-20 19:26:35 +08:00
shaohui.sheng 1c38975d90 audio: PA1 Read parameters are modified [1/1]
PD#SWPL-149873

Problem:
The PA1 parameter is read improperly Procedure and the
multiband module failed to read the register value.

Solution:
Modify the way PA1 parameters are read.

Verify:
Test on T3

Change-Id: I86393d64c469590ec01cedde5ccae28dcdc3c62c
Signed-off-by: shaohui.sheng <shaohui.sheng@amlogic.com>
2024-01-20 19:24:16 +08:00
Zhigang Yu b3dafc2fc0 abupdate: add bootloader ab for ota update [1/3]
PD#SWPL-149299

Problem:
bootloader update failed

Solution:
add bootloader ab for update

Verify:
t5w

Change-Id: Id821571d92064d99f1700497faa4e2405826e094
Signed-off-by: Zhigang Yu <zhigang.yu@amlogic.com>
2024-01-20 19:23:51 +08:00
huiwen.yu 918d242185 kernel: expand oem_ext partition to 32m [1/1]
PD#SWPL-145080

Problem:
expand oem_ext partition to 32m

Solution:
expand oem_ext partition to 32m

Verify:
t5w

Change-Id: I519126a23615f762fccce095780fe316f68aca89
Signed-off-by: huiwen.yu <huiwen.yu@amlogic.com>
2024-01-20 19:23:36 +08:00
huiwen.yu 3d9745cfb2 dts: modify partition table for t5d [1/1]
PD#SWPL-142371

Problem:
modify partition table for t5d

Solution:
modify partition table for t5d

Verify:
t5d

Change-Id: I7961f05bb26421f91ae8caccbad724cd89502143
Signed-off-by: huiwen.yu <huiwen.yu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-20 19:23:26 +08:00
yaoyu.xu 81a466e66e hdmirx: spd flow modify [1/1]
PD#SWPL-150520

Problem:
spd info change when input.

Solution:
vdin clr spd info in every sync.

Verify:
t3x

Change-Id: I9eb231c102d71dd3b78a78c5aabf191b23691612
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-20 19:22:19 +08:00
haitao.liu 8832a13c55 vdin: fix screencap abnormal on t3x double panel [1/1]
PD#SWPL-149795

Problem:
vdin2 read the input h/v is a half of the display,
so drop the frames because the status may abnormal

Solution:
when cur_enc_ppc = 1,vdin use half of the display
h/v for comparison to detect abnormal status

Verify:
T3X

Change-Id: I52442903a042529b1ad5be575457ced42b0ceb0d
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-20 19:22:11 +08:00
bowen cheng 86f016fe1a hdmirx: disable edid extraction [1/1]
PD#SWPL-147538

Problem:
system hang when extract ARC EDID

Solution:
disable edid extraction on public version

Verify:
T7C

Change-Id: I4a473acb990d419e91f35dd6e2530ed206268f22
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
2024-01-20 19:21:38 +08:00
zhenteng.tian b57524448e pipeline: change pip path from dimulti.1 to dimulti.2. [1/1]
PD#SWPL-147953

Problem:
pip path is conflict with dec path.

Solution:
1.change pip path from dimulti.1 to dimulti.2.
2.checkout if vq is reg before unreg.
3.change pr_info to vq_print in videoqueue.c

Verify:
T3X

Change-Id: I3653fd2baf633d11006ee5889f72d30a1a462b71
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-01-20 19:21:21 +08:00
haitao.liu 306174f880 vdin: remove support for hdr in v4l2 mode [1/1]
PD#SWPL-146988

Problem:
hdr and dv core are behand vdin,cannot process
hdr or dv in vdin v4l2 mode

Solution:
remove hdr support in v4l2 mode by updating edid

Verify:
t7c

Change-Id: I22cb08b78291e72da45b16f3d95643d75a012049
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-20 19:21:13 +08:00
qinglin.li a7fcd60e62 workaround: workaround for TSB flush failures multiple handle [1/1]
PD#SWPL-149275

Problem:
workaround for TSB flush failures multiple handle

Solution:
remove multiple handle

Verify:
local

Change-Id: I27ffb5499df5094db3eda840e4dc552891ad05de
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-01-20 19:20:49 +08:00
Pengcheng Chen e6420656e0 vpu: play 8k video, vpp1 used dw and set vskip to 1 [1/1]
PD#SWPL-150048

Problem:
play 8k video, vpp1 flash

Solution:
play 8k video, vpp1 used dw and set vskip to 1

Verify:
T3X

Change-Id: Ibee38569a9db80b48e77b2f9b285f272986c3360
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-20 19:20:39 +08:00
Jian Cao 30e492ee28 vpp: assign initial values to some variables [1/1]
PD#SWPL-147065

Problem:
the secondary screen may experience a green screen
when playing widevine video.

Solution:
register conflict occurs because some variables have no initial value
assign initial values to fix

Verify:
t3x-bd302

Change-Id: Icf6e17dde0e31f5016f6dcf3ac41e4e6f2cbf4b2
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-01-20 19:20:31 +08:00
Sunny Luo fbb17287cc spi: spicc: fix unexpected sclk pulse in spi device setup [1/1]
PD#SWPL-150135

Problem:
an unexpected 2 us sclk negative pulse in spi device setup.
first setup only

Solution:
inconformity between sclk-pullup and default sclk polarity 0.

Verify:
t5m ay301

Change-Id: I99f6889164bed2b1c12b74e1e05cd004c65982be
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-01-20 19:20:22 +08:00
Haitao Liu 802d8b6715 vdin: protect secure content in v4l2 mode [1/1]
PD#SWPL-146749

Problem:
displaying normal in hdmi-in camera mode when
hdcp is ON

Solution:
set grey pattern in this case

Verify:
t7c

Change-Id: I3b08619d80631a0e6001bbffa42e06f82dcfe893
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-20 19:20:12 +08:00
haitao.liu b9aaa96d14 vdin: donot protect secure content in v4l2 mode [1/1]
PD#SWPL-146749

Problem:
displaying grey pattern in hdmi-in camera mode when
hdcp is ON

Solution:
donot set grey pattern in this case

Verify:
t7c

Change-Id: I1068b1269bdc449ba1a95525e7608995a95fa858
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-20 19:19:59 +08:00
haitao.liu 765ecef5c2 vdin: vdin0 protect secure content [1/1]
PD#SWPL-142309

Problem:
In keystone scenario,we need only protect video content when hdcp ON
currently,we do it on vdin1,video and osd are both protected

Solution:
vdin0 set matrix to display a pattern

Verify:
Txhd2

Change-Id: Ieff14eb72a65169778c9015c6902f6c380450693
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-20 19:19:48 +08:00
Sunny Luo 826f509791 spi: spicc: fix dmc violation issue [1/1]
PD#SWPL-150135

Problem:
dmc violation because of spicc dma reading/writing address.
caused by a error configure for spicc ldim vsync mode

Solution:
set 0x28[8]=1 to load dma address from 0x30/0x34

Verify:
t5m ay301

Change-Id: I09fabbb9490674de1d02b38da0bc2bcb38c74a67
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-01-20 19:17:24 +08:00
yaoyu.xu a4dbdc7bf8 hdmirx: fix randomly flash black screen [1/1]
PD#SWPL-147488

Problem:
randomly flash black screen when freesync test.

Solution:
remove vpp mute when too much irqs.

Verify:
t3x

Change-Id: I9571ab206241f9b7689ce0768807edf071bef74e
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-20 19:17:14 +08:00
qiang.liu ab069a7c72 vdin: cutwindow process optimize [1/1]
PD#SWPL-148298

Problem:
1.cut window will cause h_active error
2.prop value need optimize

Solution:
1.cutwindow process optimize
2.prop value optimize

Verify:
t5m

Change-Id: I7a27df5f8570a8403e74697c7ac45665ac63b023
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-01-20 19:16:50 +08:00
he.he 3d768d9e0f usb: open usb camera fail [1/1]
PD#SWPL-149974

Problem:
Too many judgments in xhci_queue_isoc_tx, these could
cause to failure to open camera

Solution:
change

Verify:
sm1

Change-Id: I592bf554e930319c6801af081922272230bac522
Signed-off-by: he.he <he.he@amlogic.com>
2024-01-20 18:45:52 +08:00
Huijuan Xiao dbaf140d3c amvecm: add osd pq setting [1/1]
PD#SWPL-141758

Problem:
add brightness contrast color adjust for osd.

Solution:
add brightness contrast color APIs for osd.

Verify:
t5m

Change-Id: Ie2e2b463adf920aeb7ed5fa9e972325cbf778f01
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-01-20 18:45:40 +08:00
jian zhou b78da6323e Audio: when stream start, arc get data from frddr [1/1]
PD#SWPL-150146

Problem:
when earc discover failed, and then it enters arc status,
tdm playback again and it will open arc same source, if the arc
reset frddr bit is on, it does't get data from frddr, so the frddr
is hang, and there is no sound from speaker.

Solution:
when stream start, arc get data from frddr, set arc reset frddr bit as
disabled, and stream stop, set arc reset frddr bit as enabled.

Verify:
t5m

Change-Id: Ib155daa16b47bd61cfaa8a27128e1864cbb008dc
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-01-20 18:45:26 +08:00
qing.zhang ba5e672914 audio: suspend clk warning [1/1]
PD#SWPL-144750

Problem:
1. when suspend, some clk warnings happen
2. vad function
3. symmetric setting for tdm in with i2s in

Solution:
1. add clk condition ctrl
2. add vad addr control
3. add symmetric for different fs setting with same tdm
4. add pcpd control for t5m t5w thxd2

Verify:
verify by T5M

Change-Id: I46b6dc1090184c8a7a1f3eb45e284e687dfad06b
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-01-20 18:45:16 +08:00
chuangcheng peng 89b3485664 demux: workaround same sid/pid dsc for live and pvr [1/1]
PD#SWPL-145986

Problem:
same sid/pid dsc, live dsc will affect pvr, refer OTT-45996

Solution:
same sid/pid dsc keep in order

Verify:
verified at project

Change-Id: If5fa12bd5d0f76f61d3bc49c89de2c4be37ae548
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-20 18:45:05 +08:00
MingLiang Dong fa637a59ef amvecm: init white balance [1/1]
PD#SWPL-144981

Problem:
black screen from uboot to kernel

Solution:
because wb parameters isn't initialized, needinitialize parameters

Verify:
verify on T3X

Change-Id: I6b66a8fdea3c01e7c9b5b877cdfc68e51fd548f0
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2024-01-20 18:44:40 +08:00
Pengcheng Chen 1503be462a vpp: fix vpp1_blend_ctrl disable osd enter kernel [1/1]
PD#SWPL-144981

Problem:
vpp1_blend_ctrl disable osd enter kernel

Solution:
vpp1_blend_ctrl disable osd enter kernel

Verify:
t3x

Change-Id: I00fe7c4f12a9f9af56a57707e35e400220826073
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-20 18:44:32 +08:00
xinli.gao c454cd4d9e uvm: set parameters for gralloc [5/5]
PD#SWPL-145570

Problem:
code refactoring to determine allocating
buffer's size between Gralloc and Codec2

Solution:
set parameters to node for gralloc

Verify:
txhd2

Change-Id: I5812b4bf23b2697ebaf33674b7cb2dcc88025eba
Signed-off-by: xinli.gao <xinli.gao@amlogic.com>
2024-01-20 18:44:19 +08:00
yaoyu.xu 9f04add64f hdmirx: hdmi 2.1 cts test [1/1]
PD#SWPL-141754

Problem:
hdmi 2.1 cts test.

Solution:
sw add debug methods and modify flow.

Verify:
t3x

Change-Id: Icff3279e222d029b06bfb0551f0c071937b731c7
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-20 18:44:10 +08:00
yufei.huan 370191f519 deinterlace: pre-link afbc solution [1/1]
PD#SWPL-148897

Problem:
seek video black screen

Solution:
set afbc reg to 0x401400 when di bypass

Verify:
txhd2

Change-Id: Ib4c53baf21ba1ef2cf55d1244df91e6eb0e1388c
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2024-01-20 18:43:50 +08:00
Gaowei Zhao e8493df940 hdmirx: Fix t3x bright line issue on frl mode [1/1]
PD#SWPL-141904

Problem:
t3x flash bright lines when switching colorspace

Solution:
Perform a core reset when the bright line flashes

Verify:
t3x

Change-Id: I4cbe1cb5bea9b8b3c85b103170c1f78530daa694
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-01-20 18:43:41 +08:00
yujun.zhang 329755c9d1 drm: add OSD reset functionality [1/1]
PD#SWPL-137017

Problem:
Sometimes, osd FIFO request is aborting and
make display black.

Solution:
Software reset OSD.

Verify:
SM1 & G12B

Test:
DRM-OSD-134

Change-Id: Ie63560af93d65b809008fff3d634e138a059f23d
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2024-01-20 18:43:05 +08:00
qinglin.li 992dca6afc ddr_bandwidth: fix irq not disabled when mode close [1/1]
PD#SWPL-141263

Problem:
irq not disabled when mode close

Solution:
fix irq not disabled when mode close

Verify:
local

Change-Id: I1ba42fbe47860838683bdd7a117aabb32b617daa
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-01-20 18:42:57 +08:00
yufei.huan df939c711e deinterlace: txhd2 mem mif setting [1/1]
PD#SWPL-149846

Problem:
txhd2 mem mif setting

Solution:
complete it

Verify:
txhd2

Change-Id: Ide59998a83baffe6c2781f3157465be5c407c167
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2024-01-20 18:42:48 +08:00
Haotian Guo 360446a84f hdmirx: Update CEC process [1/1]
PD#SWPL-148102

Problem:
Writing 0 before writing 2 in cec cfg may cause issues

Solution:
Update CEC flow

Verify:
t5w

Change-Id: I565c1c20bf5b8a75d939299b350efd14d0f67b05
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-01-20 18:42:40 +08:00
Bichao Zheng 7f59919ee3 spinand: S1A add buildin ecc support [3/3]
PD#SWPL-149792

Problem:
need add buildin ecc support

Solution:
switch ecc mode by poc4

Verify:
s1a

Change-Id: Ie9f4af14daa111a7795ecff383d6cf447348470f
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2024-01-20 18:42:31 +08:00
congyang.huang f2515d1ced drm: add vrr range getting ioctl [1/1]
PD#SWPL-147629

Problem:
no ioctl to get vrr range

Solution:
add ioctl to get vrr range

Verify:
t7c

Test:
DRM-TX-75

Change-Id: If6dab5d69b90ff63acf9617c61a452a6f25bd5d9
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-01-20 18:41:34 +08:00
ziyi f37707b942 T7C: sd card not recognized [1/1]
PD#SWPL-147742

Problem:
sdr104 tuning err

Solution:
change tuning method to intf3

Verify:
t7c

Change-Id: Ic5c7adce306d55341b44174bdb6a81eb05552211
Signed-off-by: ziyi <ziyi.huang@amlogic.com>
2024-01-20 18:41:11 +08:00
Long d14f5ffa47 eMMC: fixed tx delay as 11. [1/1]
PD#SWPL-149697

Problem:
The default txdelay value is incompatible

Solution:
fixed tx delay config

Verify:
T7C

Change-Id: Ic3d05eb7a9031e43ea04a3ee0718cc5c12ae76ed
Signed-off-by: Long <long.yu@amlogic.com>
2024-01-20 18:40:54 +08:00
Jian Cao 5e879cec27 rdma: remove unnecessary checks for video low latency mode [1/1]
PD#SWPL-148946

Problem:
fix the issue of video flickering

Solution:
remove unnecessary checks

Verify:
s1a

Change-Id: I6f0379bb2f8f29a19e1c08cbe7192b9186958ece
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-01-20 18:40:44 +08:00