Commit Graph

4821 Commits

Author SHA1 Message Date
Jianxiong Pan 1b33fd94de pcie: enable white list for arm 32bit. [1/1]
PD#SWPL-179193

Problem:
pcie white list not work.

Solution:
init the specified memory area.

Verify:
local.

Change-Id: Id01c40c7f3403246302fd968611424d9b07d8dd1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-08-27 21:29:13 -07:00
Jing Li1 64c7e3bfb1 Revert "Demux: Add api for multi2 [1/2]"
This reverts commit febc85e083.

PD#SWPL-183570

Revert multi2 api because it is not compatible with some old projects.

Change-Id: I209e83a07af6096234789ff7993ea3f6befa3d45
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2024-08-27 05:57:23 -07:00
hai.cao afaad88ea9 vpu: add arb urgent support for chip [1/1]
PD#SWPL-183482

Problem:
add arb urgent support

Solution:
add arb urgent support

Verify:
t6d

Change-Id: Ied76ab0c25b27342ec296e9b4237cb3bd56a3655
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-08-27 05:57:18 -07:00
can.zhang d5a0502bb9 amvecm: fix zapper compile error [1/1]
PD#SWPL-181880

Problem:
error writing

Solution:
add code

Verify:
local

Change-Id: I187b5efa0fbc9a713220a9c3c33fff90b1cfaaba
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2024-08-27 03:01:56 -07:00
zhikui.cui 89d0f2524c NAND: support slcnand for t6d [2/2]
PD#SWPL-181442

Problem:
initial support

Solution:
initial support

Verify:
BR309-T950D5_SOCKET #48

Change-Id: I1bf119a30a30d3903f6854696a0b1e22fe7879bc
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-08-27 02:47:47 -07:00
zhikui.cui 0d66cb18e4 NAND: slcnand support register partition from cmdline [1/2]
PD#SWPL-181442

Problem:
initial support

Solution:
register partition from cmdline if partition information don't exist in dtb

Verify:
BR309-T950D5_SOCKET #48

Change-Id: I241508ea4ec6b03741ad8a831783ae61564250a8
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-08-27 02:47:41 -07:00
qinglin.li 0a9e20de35 ddr_tool: add t6d outstanding support [1/1]
PD#SWPL-182359

Problem:
add t6d outstanding support

Solution:
add t6d outstanding support

Verify:
local

Change-Id: Ia9173cbfb0cc2b1861d1a3dc7ae1cfafebe65b5b
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-08-27 02:47:34 -07:00
qinglin.li 7b2e4c5340 ddr_tool: use aml_ddr_tool.h as ddr_tool drivers common head file [1/1]
PD#SWPL-182359

Problem:
use aml_ddr_tool.h as ddr_tool drivers common head file

Solution:
use aml_ddr_tool.h as ddr_tool drivers common head file

Verify:
local

Change-Id: Ie2abc7e3405192192b9de65374371b6301934933
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-08-27 02:47:29 -07:00
Jian Hu 5974257103 clk: update hifi pll parameter [2/2]
PD#SWPL-180981

Problem:
improve eARC eye diagram

Solution:
update hifi pll parameter

Verify:
t3x

Change-Id: I181af33e45c3c4df1dfb3968aba121af04aba9e0
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2024-08-27 02:47:15 -07:00
hai.cao b1cc2bed7a video: video be muted all time when frc on [1/1]
PD#SWPL-176420

Problem:
control mute variable logic error

Solution:
fix it

Verify:
t3x

Change-Id: I1ac2925010b153d91bbd2807d951e4b3a0d09c5f
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-08-27 02:47:09 -07:00
jie.dai a3b994ddf9 lcd: lcd reserved memory free unused bug fix [1/1]
PD#SWPL-183391

Problem:
1. lrm used-after-free
2. do not free if reserved memory is disabled

Solution:
fix bugs

Verify:
t6d

Change-Id: I9986931fd94fd0ea92ef92ed6b2fdd81c2da8a14
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2024-08-27 01:01:06 -07:00
hai.cao 6aa4723a89 osd: osd flash occasionally when display two osd layers [1/1]
PD#SWPL-183392

Problem:
t5m do not set share afbc core property

Solution:
add share afbc core property

Verify:
t5m

Change-Id: I53e75c19f4092edfd1e19b826ab8f97b96afc20c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-08-27 01:01:02 -07:00
qiyao.zhou 0d24f992bd di_process: need reset di when I/P switch. [1/1]
PD#SWPL-182680

Problem:
interlace stream switch to 4k, DI NULL point comes out.

Solution:
Add reset flow for this case.

Verify:
t5w

Change-Id: I69100a73cd97cfef315fa4fbc0e588376d6d22ff
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-08-26 19:55:15 -07:00
hai.cao 72dab5d1ed video: add nonlinear support for 1:1 output [1/1]
PD#SWPL-182744

Problem:
nonlinear can not support 1:1 output

Solution:
change nonlinear logic

Verify:
t6d

Change-Id: Id0ee63bb23966adec7872fa09ef0b75126238707
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-08-26 05:48:36 -07:00
mingyang.he 0a4a9486ed drm: fix s1a compile error [1/1]
PD#SWPL-183043

Problem:
s1a compile error

Solution:
move mtx_info out of s1a_cut

Verify:
s1a

Test:
DRM-OSD-79

Change-Id: I2877822097d50a4fd6e6476c01b0e00d5b34601f
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2024-08-26 05:48:20 -07:00
can.zhang ac3d7fe01f amvecm: disable hdr10plus ability [1/1]
PD#SWPL-181880

Problem:
hdr10plus func need open or not

Solution:
add code

Verify:
local

Change-Id: I30696cb2ac0df9e98e99f5ac9b57ffdeccd3b95d
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2024-08-26 05:47:31 -07:00
Zhuo Wang 5b4d5df847 eth: fix typo in comment [1/1]
PD#SWPL-183320

Problem:
fix typo in comment

Solution:
fix typo in comment

Verify:
self

Change-Id: I34c83e968d76d629c6949dab9fa0010418b14157
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-25 23:47:37 -07:00
yicheng shen 3f2db139cd hdmirx: modify hdcp22_kill_esm definition type [1/1]
PD#SWPL-183137

Problem:
hdcp_rx22 exit but but not set kill_esm parameter to 0

Solution:
modify kill_esm parameter definition type

Verify:
loki

Change-Id: I35094b8b5c617f7df0598a317625b167e6163f38
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2024-08-25 23:47:31 -07:00
yaoyu.xu 1a217d7705 vdin: t6d close afbc and cut win [1/1]
PD#SWPL-182481

Problem:
screen unnormal when 4096 4k input.

Solution:
close afbc and cut win settings.

Verify:
t6d

Change-Id: I0873def1b7f7a51ba7f689221c4bafa16244c095
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-08-25 23:47:25 -07:00
yaoyu.xu 1c555b58d4 hdmirx: add t6d port sel [1/1]
PD#SWPL-182655

Problem:
can not recognize 4k input.

Solution:
add t6d port sel for i2c communication.

Verify:
t6d

Change-Id: Ibf0704ca0332a2c37fff42da1acc55c32ba5b2fc
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-08-25 23:47:20 -07:00
Jianxiong Pan 515dc6e9a0 mm: set the correct mte tag to tvp. [1/1]
PD#SWPL-180775

Problem:
the user space crash randomly after enabling mte.

Solution:
the page table created by tvp does not have a tag
set, which conflicts with the application.

Verify:
s6.

Change-Id: I64171a0115bc88de290b44f8f54450151ab2931e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-08-23 05:43:31 -07:00
yudong.cai 5ac82550ff vdin: optimize vdin t3x and s5c code [1/1]
PD#SWPL-182617

Problem:
Optimized some code for t3x and s5c

Solution:
Delete some unused codes in t3x and s5c

Verify:
T3X

Change-Id: I2bd6e965a88839afe9be689b90cc8dd0303c2e9d
Signed-off-by: yudong.cai <yudong.cai@amlogic.com>
2024-08-23 05:43:12 -07:00
jinbing.zhu 43bf91c26c amvecm: t6d modify cgain effect t7c. [1/1]
PD#SWPL-182920

Problem:
t6d modify cgain effect t7c

Solution:
t6d modify cgain effect t7c

Verify:
t7c

Change-Id: Ifed00413f65a05db17aa814b12de7596c5026cc3
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-08-23 04:50:53 -07:00
Pengcheng Chen 29fdb4d2b5 vpp: fix mk_zapper32.sh build error [1/1]
PD#SWPL-183047

Problem:
fix mk_zapper32.sh build error

Solution:
fix mk_zapper32.sh build error

Verify:
mk_zapper32.sh

Change-Id: I1196bbb1b8fba9c458de6d6b0321cd6c40ed2a5b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-08-23 02:06:02 -07:00
nengwen.chen 49a5e88ba4 atv_demod: fix adec leave timing (V4.01) [1/1]
PD#SWPL-182371

Problem:
fix adec leave timing.

Solution:
fix adec leave timing.
AMLATVDEMOD_VER "V4.01".

Verify:
T5W.

Change-Id: If2924e8d187bdf945cb7212fbde01011d620cad2
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-08-23 02:05:51 -07:00
Wenjie Qiao 34ef11fd45 hdmitx: set segment 0 when read block0/1 under kernel [2/2]
PD#SWPL-169569

Problem:
read edid error after reboot under kernel

Solution:
set segment 0 when read block0/1
read edid use DDC master access in HW TPI mode

Verify:
s5/s7

Test:
DRM-HDMITX-104

Change-Id: I885081b383c041986c54684d0b9225e24dd1e233
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-08-23 02:05:00 -07:00
dian.shao 60e02c5de4 usb: t6d udc str resume err & pll src bug [1/1]
PD#SWPL-182164

Problem:
T6D udc phy reg val reset during
STR leads to udc dead.

pll src switch mode err matching.

Solution:
Don't reset phy reg val during str.
Fix mode switch code.

Verify:
br301

Change-Id: Ibc3a788f3e3dd68e8261b7d5c6d0483eeaff9fce
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-08-22 23:49:39 -07:00
Pengcheng Chen cf4321ce26 vpp: add vsync isr process time trace log [2/2]
PD#SWPL-173097

Problem:
add vsync isr process time trace log

Solution:
add vsync isr process time trace log

Verify:
t3x

Change-Id: I80b37758a1da77021139840ff17454596d789163
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-08-22 23:49:28 -07:00
Gaowei Zhao 33c84eeba1 hdmirx: Fix the issue of flashing green screen [1/1]
PD#SWPL-180536

Problem:
Flash green screen at the end of SDR playback

Solution:
Mute VPP when AVI packets change

Verify:
t5w

Change-Id: Id3c07ef82f7d4e8d59439ba251e48654ecf4fafd
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-08-22 23:49:16 -07:00
jing.li1 febc85e083 Demux: Add api for multi2 [1/2]
PD#SWPL-181881

Problem:
S6 need to support multi2

Solution:
Add api for multi2

Verify:
Verified on bl201

Change-Id: Ifb6d02d198efacea99c1360ec37d2d5de7b79086
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2024-08-22 23:49:05 -07:00
Pengcheng Chen 9c8c5a859a vpp: add vsync isr process time trace log [1/2]
PD#SWPL-173097

Problem:
add vsync isr process time trace log

Solution:
add vsync isr process time trace log

Verify:
t3x

Change-Id: Ib05c40b5d65ef3807ae7856ae25fd9c5e4ac45a9
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-08-22 23:49:00 -07:00
Sunny Luo d30056cc9f spicc: reset controller when busy [1/1]
PD#SWPL-183022

Problem:
ldim crash caused by spi abnormal transfer

Solution:
reset spicc controller when busy

Verify:
t5m

Change-Id: I1317e8e5b2ddec6198126e8cd4a9c569f13eb4d5
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-08-22 07:40:49 -07:00
Zhuo Wang e67c1c3ebf eth: t6d wol function [1/1]
PD#SWPL-180288

Problem:
update t6d wol and phy setting

Solution:
update t6d wol and phy setting

Verify:
HW team

Change-Id: I1642b3adc7d75bd07faac47491fd180bb81ec4d6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-22 05:45:10 -07:00
qiyao.zhou c74920acd4 videoqueue: video play would freeze when switch [1/1]
PD#SWPL-182909

Problem:
Repeat put frame when queue buf failed.

Solution:
notify put flow in videoqueue.

Verify:
txhd2

Change-Id: I5369ff41525daa7406e414ea36674030afb83b56
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-08-22 03:45:46 -07:00
yudong.cai 6cf5e04871 vdin: vrr process optimize [1/1]
PD#SWPL-161088

Problem:
When the vrr is enabled, the input frame rate does not match

Solution:
vrr process optimize

Verify:
t5m

Change-Id: I4eae4093fdb0936b6073308fa054466affb177d0
Signed-off-by: yudong.cai <yudong.cai@amlogic.com>
2024-08-22 03:45:33 -07:00
qiyao.zhou 722d33c179 vicp: display error when hdmi in dv. [1/1]
PD#SWPL-174142

Problem:
vdin support yuv444 8bit fbc data and yuv422
10bit dw data when input dv source, but the
fbc data is tunnel,vicp not support.

Solution:
vicp use dw data for this case.

Verify:
t3x

Change-Id: I0c01a4aaea3c35cff31a394790df5dac19ff1933
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-08-22 03:44:54 -07:00
Tao Zeng 187ca993ca t6d: amfc: use device config and compress uImage
PD#SWPL-181954

Problem:
uImage not decompressed by AMFC

Solution:
1, change zstd tools to append size at end of uImage;
2, change scripts to support uImage decomperss by AMFC

Verify:
t6d

Change-Id: I2f2465a2247085c150a1c7f42ede688011745071
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-08-22 14:40:36 +08:00
min.yang fc92b7a438 dtv_demod: config agc select on T6D (V3.6.001) [1/1]
PD#SWPL-181805

Problem:
The signal amplitude is low, causing a failure to lock.

Solution:
should config agc select reg for each delivery system.

Verify:
U + T6D

Change-Id: Ib03a619d8045df1bc179ba0524cfb31c1785a4a0
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-08-22 14:27:53 +08:00
jinbing.zhu 0a10ff4b99 amvecm: t6d hdr modify alpha1. [1/1]
PD#SWPL-182223

Problem:
t6d hdr modify alpha1

Solution:
t6d hdr modify alpha1

Verify:
t6d

Change-Id: I0a51cd96ebe37a33fc4e7c66b64277f7f1686528
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-08-22 14:27:53 +08:00
yaoyu.xu 06b1212d72 hdmirx: t6d hdcp cts & audio [1/1]
PD#SWPL-180375

Problem:
can not pass hdcp cts and aud abnormal.

Solution:
modify phy and pll settings.

Verify:
t6d.

Change-Id: I56372e9b39423b65eca746571130c86a72090fe4
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-08-22 14:27:53 +08:00
jinbing.zhu cba65e2350 amvecm: t6d hlg modify cgain reg. [1/1]
PD#SWPL-182141

Problem:
hlg modify cgain reg

Solution:
hlg modify cgain reg

Verify:
t6d

Change-Id: I830f46af1685e70af82f6ce4fd62fccdc41bafc5
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-08-22 14:27:53 +08:00
huijie.huang dc16c0cc20 lcd: t6d tcon support [2/2]
PD#SWPL-180353

Problem:
t6d lcd tcon bringup

Solution:
support tcon driver

Verify:
t6d br301

Change-Id: If52b51bf609a17de138fb76b840bf865e15a4cfc
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2024-08-22 14:27:53 +08:00
hongyu.chen1 c024d35b5e T6D: clear power domain. [2/2]
PD#SWPL-181640

Problem:
The power domain always on state
needs to be cleaned up.

Solution:
Remove the configuration in the kernel.

Verify:
BR301

Change-Id: Ie0defc8d8a6707f32f169a28eb996aedb95e9351
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-08-22 14:27:53 +08:00
jian.hu 03c0bd6aae clk: fix global-out-of-bounds in rtc clk [1/1]
PD#SWPL-180321

Problem:
there is global-out-of-bounds

Solution:
1.fix rtc global-out-of-bounds
2.update rtc clocks

Verify:
t6d br301

Change-Id: I08ada01d6c055e6983a33b6c2db99e4c70125508
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2024-08-22 14:27:53 +08:00
haitao.liu 5f0844ca01 vdin: t6d silicon bringup [1/1]
PD#SWPL-180366

Problem:
t6d silicon bringup

Solution:
add t6d related code

Verify:
t6d

Change-Id: Ibb4f13928dd49167c12a554ccb82dc8dd5e41731
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-08-22 14:27:53 +08:00
jinbing.zhu 80fe67cb43 amvecm: t6d kernel bringup. [1/1]
PD#SWPL-180359

Problem:
t6d kernel bringup

Solution:
t6d kernel bringup

Verify:
t6d

Change-Id: I184cc03ed644bc395c16545000395a00ac74a053
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-08-22 14:27:53 +08:00
Zelong Dong adec1eb8a8 ir: support all IR devices in one common input device [2/2]
PD#SWPL-180331

Problem:
there are 2 IR controllers (2x2 multi-format) in T6D

Solution:
support all IR devices in one common input device

Verify:
t6d_br301

Change-Id: Ib01291b4b3e399ae4b1d15df5aa055339b6ece6c
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-08-22 14:27:53 +08:00
Zelong Dong 9f1bbaaacb ir: support multi IR devices [1/2]
PD#SWPL-180331

Problem:
there are 2 IR controllers (2x2 multi-format) in T6D

Solution:
support multi IR devices

Verify:
t6d_br301

Change-Id: I597bea15e9b919279f8267344221d5721f9559df
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-08-22 14:27:53 +08:00
Zhuo Wang 5ca85e4ff4 eth: update t6d analog setting [1/1]
PD#SWPL-182020

Problem:
update t6d analog setting

Solution:
update t6d analog setting

Verify:
BR301-T950D5#53

Change-Id: Ie1483a00fda546a916eb271b1840335bf889f7a9
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-08-22 14:27:53 +08:00
Jihong Sui 43b3228d47 deinterlace: add afbcd for pre-link [1/1]
PD#SWPL-180373

Problem:
T6D bringup

Solution:
1. add afbcd for pre-link;

Verify:
T6D

Change-Id: I9e5167f5c14475984bee683faef8ce2d9e3edf5d
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2024-08-22 14:27:53 +08:00