Commit Graph

438 Commits

Author SHA1 Message Date
chen.wang1 d6aa321845 drm: implement video fence ioctl [1/3]
PD#SWPL-124599

Problem:
Unable to obtain video fence.

Solution:
implement video fence ioctl.

Verify:
t3x

Test:
DRM-OSD-65

Change-Id: Idf779bbccc05b08786ffbeebe27cd10aa80be682
Signed-off-by: chen.wang1 <chen.wang1@amlogic.com>
2023-05-25 05:28:07 -07:00
Pengcheng Chen b72081dee1 vpp: add vpp1 video display support [1/1]
PD#SWPL-120648

Problem:
add vpp1 video display support

Solution:
add vpp1 video display support

Verify:
t3x

Change-Id: I4f1bdc3eb024b46272eafbf17b4e4c6783cc020b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-05-25 02:10:37 -07:00
Pengcheng Chen 6b621a2fc0 vpp: add vsync_2to1 support [1/1]
PD#SWPL-124845

Problem:
add vsync_2to1 support

Solution:
add vsync_2to1 support

Verify:
t3x

Change-Id: Ib9130f26754cc80b6f8cfe9ba02479d95c4f5730
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-05-23 21:41:58 -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
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
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
dongfei.li 1b593e42ea frc: frc chg inp,mc undone register [1/1]
PD#SWPL-121862

Problem:
t3x inp mc need chg register check

Solution:
t3x chg register for inp, mc

Verify:
T3X

Change-Id: I44f24bb510b36cb5caf3a053bafdfa2128125f65
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-05-18 21:08:42 +08:00
Evoke Zhang 8e6700af97 lcd: update frame rate management for 120/144hz [1/1]
PD#SWPL-121533

Problem:
need update 120/144hz frame rate support

Solution:
update frame rate management for 120/144hz

Verify:
bc302

Change-Id: Ia76872b9f5b498bd533bd5bd54d3f391b2173447
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-05-18 21:08:42 +08:00
qiyao.zhou d38753b9a8 vicp: move compress config to vc. [1/1]
PD#SWPL-117250

Problem:
t3x bringup

Solution:
add lossy compress config;

Verify:
t3x

Change-Id: Idab2c0522c7f8c9ad18d348ada2f08861271f1bd
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-05-18 21:08:42 +08:00
qiyao.zhou ad530f63a8 vicp: add lossy compress config for t3x [1/1]
PD#SWPL-117250

Problem:
t3x bringup

Solution:
add lossy compress config;

Verify:
t3x

Change-Id: I11f293899c4720461a00d8f507837c79694ce99c
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-05-18 21:08:42 +08:00
haitao.liu b5edd3ecd4 vdin: t3x silicon bringup.patch 2 [1/1]
PD#SWPL-117268

Problem:
validate more sub-module

Solution:
1.add triple write debug code
2.remove unused code
3.add afbce cr_lossy support

Verify:
T3x

Change-Id: Ib8f486b92752190b26bccf28ddbc0cf97d36ea10
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-05-18 21:08:41 +08:00
qiyao.zhou 37018008ef vicp: add vicp config for t3x [1/1]
PD#SWPL-117250

Problem:
t3x bringup

Solution:
1.add film grain config;
2.add lossy compress config;

Verify:
t3x

Change-Id: I12a8a21dc406deed4236b4d030752f5c30c38ae7
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-05-18 21:08:41 +08:00
Evoke Zhang 18ef3dd04d backlight: add t3x support [2/2]
PD#SWPL-114977

Problem:
need support t3x for lcd backlight

Solution:
add t3x support for lcd backlight

Verify:
bc302

Change-Id: I5b6134ec903fa255ed4b9078853c976c81dc5060
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-05-18 21:08:41 +08:00
Pengcheng Chen 18ddb234fd vpp: set vd_proc info for amdv [1/1]
PD#SWPL-118750

Problem:
set vd_proc info for amdv

Solution:
set vd_proc info for amdv

Verify:
t3x

Change-Id: I62780fe4daf25a112d8f4f82c6bd478e4038c88c
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-05-18 21:08:41 +08:00
Bin.Wang2 8c65ea7a05 gvlock: t3x vlock bringup [1/1]
PD#SWPL-118749

Problem:
vlock bringup

Solution:
vlock bringup

Verify:
T3X

Change-Id: Icaa2a5838ed8d918e2d8222572683eb49947b7dd
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
2023-05-18 21:08:41 +08:00
qiyao.zhou 14e3a571ea vframe: add lossy compress struct for t3x [1/1]
PD#SWPL-117250

Problem:
t3x add lossy compress feature.

Solution:
Add lossy compress struct in vframe.h

Verify:
t3x

Change-Id: I78edb2ea89b21341eb4ae91e5299309adcdc6e89
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-05-18 21:08:41 +08:00
Zhuo Wang 5593cea458 ethernet: t3x amp tuning [1/1]
PD#SWPL-119736

Problem:
add tx_amp for t3x

Solution:
add tx_amp for t3x

Verify:
BC309

Change-Id: I52112d54be7bcc26509de98d3bac029286761af0
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-05-18 21:08:41 +08:00
dongfei.li fa375871eb frc: frc develop 120hz which chg mcdw set [1/1]
PD#SWPL-119361

Problem:
debug 120hz follow

Solution:
debug 120hz follow

Verify:
T3X

Change-Id: I15facab061562fe951796c28cb922ff632ac169b
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-05-18 21:08:40 +08:00
dongfei.li e2796eb3a7 frc: frc open mc double write buffer for t3x [1/1]
PD#SWPL-116995

Problem:
open t3x mc double write function

Solution:
open t3x mc double write function

Verify:
T3X

Change-Id: I1ddae35f8da8328ebbc2fd026bc0ecb687c6105d
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-05-18 21:08:40 +08:00
haitao.liu d9cb055a6a vdin: t3x silicon bringup.patch 1 [1/1]
PD#SWPL-117268

Problem:
continue validation

Solution:
1.afbce
2.dual hdmi input
3.vdi6 input
4.hist
5.black bar detect

Verify:
T3x

Change-Id: Ib0492983915f7e00c4b35c959b309bf6643599ef
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-05-18 21:08:40 +08:00
Pengcheng Chen b8b027129a vpp: add yuv p010 mode support for t3x [1/1]
PD#SWPL-118286

Problem:
add yuv p010 mode support for t3x

Solution:
add yuv p010 mode support for t3x

Verify:
t3x

Change-Id: Iedc8f62cf086bfe032d2f6ff2936e6d57a10fa15
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-05-18 21:08:40 +08:00
qinghui.jiang ee371834e2 amvecm: add code flow for t3x bringup [1/1]
PD#SWPL-111634

Problem:
amvecm modification for t3x bringup

Solution:
add more code flow for t3x
1.modify lcd gamma 257 points and blue stretch reg
2.add variable slice number flow for t3x and s5
3.bypass vlock init flow
4.add am_dma_ctrl for lc_stts/vi_hist/vi_hist_low/cm2_hist/hdr2_hist
5.add vi_hist blend api for two slices dnlp case
6.add dnlp reg ctrl apis for two slices
7.add lc curve/stts reg info
8.add lc apis and flow for two slices
9.modify hdr flow for two slices

Verify:
t3x

Change-Id: Iaa384985adbf326055290a6eef219997c76e984e
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-05-18 21:08:40 +08:00
dongfei.li e8d618e39f frc: frc t3x bringup configure [1/1]
PD#SWPL-117248

Problem:
frc t3x configure for bringup

Solution:
frc t3x configure for bringup

Verify:
T3X

Change-Id: Ieb2b1dda9d80b6fcf9593efca396b53724e3f3ee
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-05-18 21:08:40 +08:00
qiyao.zhou 0189467843 vicp: add vicp config for t3x [1/1]
PD#SWPL-117250

Problem:
t3x bringup

Solution:
add vicp config for t3x.

Verify:
t3x

Change-Id: I8a955fda527d7f0623aac09475f5a8ae27c0a356
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-05-18 21:08:39 +08:00
haitao.liu 36a9e41fc4 vdin: t3x silicon bringup [1/1]
PD#SWPL-117268

Problem:
t3x silicon bringup

Solution:
add vdin on t3x

Verify:
T3x

Change-Id: I21847a5e63a1032e813a05bdfe77df8de564dbcd
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-05-18 21:08:39 +08:00
Yao Jie 6b66e72a7f mailbox: t3x mailbox bringup [1/1]
PD#SWPL-117205

Problem:
t3x silicon mailbox bringup

Solution:
change dtsi to support t3x silicon mailbox bringup

Verify:
T3X-T968D4

Change-Id: I88d3a08ce74a9561cb459ac4c826011a429c3b66
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-05-18 21:08:39 +08:00
Jie Dai c8681f14ab lcd: t3x lvds and vbyone bringup [2/2]
PD#SWPL-117130

Problem:
t3x lvds and vbyone need bringup

Solution:
add lvds and vbyone driver for t3x

Verify:
bc302

Change-Id: Iaaf753d5cd697262692ab10e5a54a7825cb81c7b
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
2023-05-18 21:08:39 +08:00
jiebing chen 778b416c79 Audio: bring up t3x audio [1/1]
PD#SWPL-117252

Problem:
bring up t3x audio

Solution:
bring up t3x audio

Verify:
use BC311

Change-Id: Ic8484ce63dad096a8c7d0a4631fae3f25b0e19df
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2023-05-18 21:08:39 +08:00
jian.hu 883034ed3a clk: add vafe clock [1/1]
PD#SWPL-117193

Problem:
vafe clock is missing

Solution:
add vafe clock

Verify:
t3x bc311

Change-Id: Id7494e44118392a7e21deddb94cc60e26d799f51
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2023-05-18 21:08:39 +08:00
jian.hu e28eb409e7 clk: add cpu and sys pll support [1/1]
PD#SWPL-117193

Problem:
t3x sys pll does not work well for dvfs

Solution:
add cpu and sys pll support

Verify:
t3x

Change-Id: Ia615b66b1ebd8c04b6d66679b73e6261615767f6
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2023-05-18 21:08:39 +08:00
yao liu 503e3609ac dv: hw5 brinup [1/1]
PD#SWPL-112141

Problem:
hw5 brinup

Solution:
1.add lut dma
2.add dolby mmu
3.add other top2 code

Verify:
t3x

Change-Id: I3e0b65387e7278f311ca82e51f9835f4d19296dd
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-05-18 21:08:38 +08:00
Jian Cao 590bcd8029 rdma: add support for t3x [1/1]
PD#SWPL-111641

Problem:
need support t3x rdma

Solution:
add t3x rdma support

Verify:
t3x pxp

Change-Id: I46d9b0969790bd75aabce441d207979a4d1451b0
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2023-05-18 21:08:38 +08:00
Jie Dai 5f53b359c9 lcd: t3x lcd bringup [2/2]
PD#SWPL-111220

Problem:
t3x lcd need bringup

Solution:
add related driver for t3x lcd driver

Verify:
mimic

Change-Id: Icdab6843654c2b459c46ce540dce037f158d5d24
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
2023-05-18 21:08:38 +08:00
yuhua.lin 61c419f75f t3x: add codec_io/canvas/rdma support for t3x [1/1]
PD#SWPL-111641

Problem:
add codec_io/canvas/rdma support for t3x

Solution:
complete it

Verify:
mimic

Change-Id: I7ed58a1e5c9b626351161a8030f565806eebe7d5
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-05-18 21:08:38 +08:00
Cheng Wang f86a589fb4 frc: add t3x pxp [1/1]
PD#SWPL-111905

Problem:
t3x pxp

Solution:
t3x pxp verify

Verify:
T3X pxp

Change-Id: Ib136a282450e13a508d412e3ead09622117f323d
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2023-05-18 21:08:38 +08:00
dongfei.li c50097b52f frc: frc add mcdw buffer for t3x [1/1]
PD#SWPL-114573

Problem:
add t3x new buffer control

Solution:
add t3x new buffer control

Verify:
T3X

Change-Id: I9ce60834b621aede4a7520c50ef2cbef16e303fb
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-05-18 21:08:38 +08:00
ziyi 50f5138544 t3x: pxp add high speed emmc and high sd [1/1]
PD#SWPL-111610

Problem:
no high speed emmc and sd

Solution:
add high speed emmc and sd and enlarge desc's buffer

Verify:
mimic,pxp

Change-Id: I397af3ddbdf13c507178bfdcea423a8a87a1d119
Signed-off-by: ziyi <ziyi.huang@amlogic.com>
2023-05-18 21:08:38 +08:00
Zelong Dong 6b8ce08cd7 reset: t3x: support reset driver [1/1]
PD#SWPL-111601

Problem:
need to support t3x reset driver

Solution:
add reset dt-bindings and dts node for t3x

Verify:
t3x_pxp

Change-Id: Ib20cab11a5f12a642f086432eecf17ca41681e60
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-05-18 21:08:38 +08:00
zehong.luo 38276ef3be t3x: decoder kernel bringup of t3x [1/1]
PD#SWPL-111122

Problem:
decoder kernel bringup of t3x

Solution:
add decoder dts and header files change

Verify:
t3x pxp

Change-Id: I74565d6ee6a8a79eb1ef2199eec70da4cfcf32bb
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
2023-05-18 21:08:38 +08:00
hongyu.chen1 0da7333732 T3X: add hwspinlock. [3/3]
PD#SWPL-111606

Problem:
add hwspinlock driver

Solution:
add hwspinlock driver

Verify:
mimic

Change-Id: I517b1a2a9b8500d7131c48afe47332e0ea3f56e7
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-05-18 21:08:38 +08:00
Yao Jie 22a471a74c mailbox: T3X PXP mailbox bringup [1/1]
PD#SWPL-111605

Problem:
T3X PXP mailbox bringup

Solution:
Change T3X dtsi to bring up mailbox

Verify:
MIMIC

Change-Id: Ifbc584c63c93989c2f92f05bf3f8fcc6e9519c04
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-05-18 21:08:38 +08:00
Jian Hu 1a08f478c2 clk: add t3x clk support [1/1]
PD#SWPL-111593

Problem:
t3x clk bringup

Solution:
add t3x clk support

Verify:
t3x mimic

Change-Id: I97b83b7d53a8ad932685f7d5e606b75ccb73ed37
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-05-18 21:08:38 +08:00
hongyu.chen1 be96019749 t3x: add power domain. [3/3]
PD#SWPL-111280

Problem:
need power domain in kernel.

Solution:
add power domain driver.

Verify:
mimic

Change-Id: I70cfe372d8f549632283d208f5c4418b81e9d572
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-05-18 21:08:38 +08:00
Qianggui Song 4011abb0a2 Pinctrl: Add T3X pinctrl & gpio driver [1/1]
PD#SWPL-111222

Problem:
Need to support t3x pinctrl & gpio function

Solution:
Add t3x pinctrl driver data

Verify:
t3x_mimic

Change-Id: I65a12add5ef9a3a445a6ac6ae033ca9f84412025
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-05-18 21:08:38 +08:00
Jian Hu 16946192ac dts: add t3x device tree [1/1]
PD#SWPL-110944

Problem:
t3x bringup

Solution:
add t3x device tree

Verify:
t3x z1

Change-Id: I30365c1a1caafca531c2176070cb447b751d5a2f
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2023-05-18 21:08:38 +08:00
jialong.jiang f18b010c09 zapper: remove dolby configs. [1/1]
PD#SWPL-120591

Problem:
Need to save memory space

Solution:
Remove crypto configs

Verify:
t215.

Test:
self-test.

Change-Id: I39cdb00d08a973964897b976b2ca87b4a0ccccb9
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-05-16 03:32:36 -07:00
Evoke Zhang 4e0a56d565 lcd: tcon: add tcon_fw support [1/3]
PD#SWPL-116221

Problem:
need support tcon fw

Solution:
add tcon fw support

Verify:
ay301

Change-Id: If517305e649c69bcfcb2662a2f6a33684a923f03
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-05-16 03:01:22 -07:00
Zongdong Jiao 3a18e69dfe hdmitx: fix a special no audio output case [1/1]
PD#SWPL-117332
PD#OTT-39191
BUG=266994705

Problem:
The HDMI audio ACR parameter will change when audio format change. In
this intermediate state, some TVset like Vizio has audio compliance
issue and maybe the error correction or handling mechanism of tvset can
not cover such kind of glitch data. It will cause no audio output issue
for such kind of tvset

Solution:
From tx side, optimize the intermediate state. In the beginning of audio
format change, stop the ACR package send, continue ACR package sending
after finish format changing.
Meanwhile, only change the ACR related param when setting is difference
compared with previous one from audio module callback

Verify:
issue Vizio TV and other brand TVset in our hand

Change-Id: I739acba93590ba4c02c0b4a3f50319fa16ea42cf
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2023-05-15 20:01:32 -07:00
Long d6b97e58a7 eMMC: support CQE. [1/2]
PD#SWPL-119703

Problem:
support CQE

Solution:
support CQE

Verify:
T5m

Change-Id: Iaf97dac88e1cafbd8b897506dd044e3a3518a593
Signed-off-by: Long <long.yu@amlogic.com>
2023-05-15 02:04:25 -07:00