Commit Graph

2588 Commits

Author SHA1 Message Date
zhenyu.gao cc181ded34 RDK : CB1 enable frc in T3X BC302 [1/1]
PD#SWPL-120405

Problem:
frc is not enable, Causing TVMgr to fail to start

Solution:
enable frc in T3X_BC302, sync dts from android

Verify:
T3X BC302

Signed-off-by: zhenyu.gao <zhenyu.gao@amlogic.com>
Change-Id: I15e2a00b2e949bb90fdd58e021212a3b49374e87
2023-06-02 02:56:27 -07:00
yao liu 4ee0f1898c amdv: idk5.1 process [1/1]
PD#SWPL-123849

Problem:
new feature

Solution:
driver update idk5.1 interface

Verify:
t3x

Change-Id: I53ef4373b3adbe8fa6c092cdf0733fca29c00053
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-06-02 02:56:20 -07:00
Evoke Zhang 7ed736c9ff lcd: tcon: update driver to fw api [1/2]
PD#SWPL-125611

Problem:
need update driver to fw api

Solution:
1.change reg access and line/frm_cnt api to fw struct function pointer
2.provide base_timing to fw
3.unify tcon debug node to /sys/class/aml_tcon/tcon/

Verify:
ay301, bc302

Change-Id: I549d570a78ffc20af0fcae451843513036224a5b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-06-02 02:56:17 -07:00
longhai.huang f532bbd993 ir: support custom vendor and product id [1/1]
PD#SWPL-126529

Problem:
support custom vendor and product id

Solution:
support custom vendor and product id

Verify:
t7b_an400

Change-Id: I53bfe7119f43689a3e98be75b05531f0b37523c3
Signed-off-by: longhai.huang <longhai.huang@amlogic.com>
2023-06-02 00:54:31 -07:00
Pengcheng Chen 8cd970ae58 vpp: correct venc get active begin line for t3x [1/1]
PD#SWPL-126247

Problem:
correct venc get active begin line for t3x

Solution:
correct venc get active begin line for t3x

Verify:
t3x

Change-Id: Ibf1022cd60749e3483fc6bb37f78ff052108950c
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-06-02 00:54:28 -07:00
saisai.chang d28af27b05 audio: add an LR_swap configuration [1/2]
PD#SH-14326

Problem:
add an LR_swap configuration

Solution:
add an LR_swap configuration

Verify:
C3

Change-Id: I83c8eb7eb7f1dc830304d294b95d30d63719257e
Signed-off-by: saisai.chang <saisai.chang@amlogic.com>
2023-06-01 22:44:09 -07:00
chuangcheng peng 8e57650868 demux: subtitle use pes_buf_size [1/1]
PD#SWPL-120888

Problem:
set pes_buf_size not work

Solution:
use pes_buf_size

Verify:
not verified

Change-Id: Ia3dec3eeb8ae6575dc58cfab9d14f5a174ab4c32
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-06-01 21:38:59 -07:00
Wanwei Jiang afbfb1ad70 build: simplify compilation commands [1/2]
PD#SWPL-126432

Problem:
simplify compilation commands
./mk ohm -v common14-5.15 --sp --gki_20 --bazel
./mk oppen -v common14-5.15 --sp --gki_20 --bazel
modify to:
./mk ohm -v common14-5.15
./mk oppen -v common14-5.15

Solution:
1. --gki_20: set in the project configuration file as GKI_CONFIG=gki_20
2. --bazel: set the default value for compiling tools according to kernel

Verify:
ohm adt4 oppen

Change-Id: If3474af9b8e2dd5fb2ec0b05248387a6ad5ac81f
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-06-01 21:38:55 -07:00
dongfei.li 6c9c9667aa frc: frc fixed size chg flashing once [1/1]
PD#SWPL-125468

Problem:
flashing when switch window size

Solution:
add patch to adjust start flow

Verify:
T3X

Change-Id: I02a6f9f35bc0a4faab86cd6409e693801fa0b81c
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-06-01 21:38:44 -07:00
Long 06b239d5e3 eMMC: Adjust the location of the clean interrupt state. [1/1]
PD#SWPL-124598

Problem:
The interrupt status was cleared causing
the system to be blocked

Solution:
Adjust the location of the clean interrupt state

Verify:
T3x

Change-Id: I0f5883abcc3364e714244e882aadbe22452a88f4
Signed-off-by: Long <long.yu@amlogic.com>
2023-06-01 21:38:40 -07:00
yunmin.chen 99977112c9 mediasync: CB2 low-memory platform video pipeline optimize [1/2]
PD#SWPL-117032

Problem:
Add mediasync to the amvideo pipeline

Solution:
Add mediasync to the amvideo pipeline

Verify:
SC2

Change-Id: Ie2afd7ea67adacfc1a8515c38589c5370a39fe0c
Signed-off-by: yunmin.chen <yunmin.chen@amlogic.com>
2023-06-01 06:43:14 -07:00
min.yang 703ba5ec1e dtv_demod: fix dvbs blind scan miss 2150M TP (V3.2.05) [1/1]
PD#SWPL-121979

Problem:
DVBS2 maximum limit value blind
cannot search for signal.

Solution:
add one more blind scan step
AMLDTVDEMOD_VER "V3.2.106"

Verify:
verified by T5M

Change-Id: I0e6d0bcbbd8a282eee270a4ad14e646e1a5281b9
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-06-01 01:47:04 -07:00
Bin.Wang2 cda9e1fbef amvecm: hdr tone mapping ioctl api unification [1/1]
PD#SWPL-114841

Problem:
hdr tone mapping ioctl communication fail

Solution:
unify hdr tome mapping ioctl api

Verify:
verify on T3

Change-Id: Ifda2ec2d1439cfd04bf29dc2af8958c79760dd49
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
2023-06-01 01:46:49 -07:00
binqi zhang aafc3a05b4 UVM: add protect mutex for hook mod detach [1/1]
PD#SWPL-125284

Problem:
handle->flags checking is not done within mutex
lock when hwc call detach

Solution:
1.move flag checking within mutex lock;
2.clear flag after detach;

Verify:
verify on T T5M

Change-Id: Ie021d1d9593e1e63774aa9de04750a1e0beecccd
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
2023-05-31 22:47:19 -07:00
qinglin.li ae17aa4b79 ddr_tool: some error need fix [1/1]
PD#SWPL-123454

Problem:
some error need fix

Solution:
dmc show include mode
ddr banwidth device port set error
ddr priority fix

Verify:
local

Change-Id: If7d3034c9e18562b42d8ca235c79566f5c18147a
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-05-31 20:54:20 -07:00
qing.zhang 7b60e2243c audio: the audio has not suspend [1/1]
PD#SWPL-123219

Problem:
clk not disable when suspend.

Solution:
1. add dts config

Verify:
verify by t5w

Change-Id: I7bbe0bc69931725a1e4af6e92ef190346518ec55
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2023-05-31 20:54:17 -07:00
Wanwei Jiang 8d1a00f53e patch: support auto lunch's patch [1/3]
PD#SWPL-124735

Problem:
the execution time of the lunch is too long for patching all kernel patches

Solution:
patching the necessary patches to avoid android compilation failure

Verify:
ohm

Change-Id: I917ec47716336cb4c896bce4aeed3229e069c3dc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-05-31 20:54:14 -07:00
Jian Cao deaac7c068 osd: add support for getting phys addr from uvm [1/1]
PD#SWPL-125474

Problem:
OSD driver should identify whether the fd is uvm fd
then decide how to get the phy addr of dmabuf

Solution:
add support for getting phys addr from uvm

Verify:
t3

Change-Id: I2f071eafc1e3d3228a99e1ba04098165cfe39979
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2023-05-31 20:54:11 -07:00
Huijuan Xiao 0d32287640 amvecm: Zapper 2K S1A - optimization amvecm [1/1]
PD#SWPL-120185

Problem:
Optimization CONFIG_AMLOGIC_MEDIA_ENHANCEMENT_VECM.

Solution:
Use macros to wrap unsupported modules.

Verify:
t3

Change-Id: I3663d8c9c462eed4c392bdb0434ac9d4ee566fe1
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2023-05-31 20:54:07 -07:00
Doosan Baek a88ffafa68 KL/KT: Add a new seckey driver [1/1]
PD#SWPL-124965

Problem:
Need key ladder/table driver for kernel5.15
The KT driver needs to be separated from the descrambler.
New APIs are needed for the KT driver.

Solution:
Create a seckey driver.

Verify:
S5 KT/KL with DMA
T3 METACAS with Descramble
T5W

Change-Id: Id058e64f99918b66e79d24647880f999f55ca13a
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2023-05-31 20:54:04 -07:00
Brian Zhu 284c0dec2a deinterlace: pre-vpp link stuck [1/1]
PD#SWPL-123079

Problem:
pre-link switch status machine

Solution:
when di unreg,release vpp buffer

Verify:
T5m

Change-Id: If4e5cd3492ab2c827016805b69975d9a967124ab
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-05-31 20:53:59 -07:00
Brian Zhu d1aeb52bf5 vpp: fix garbage issue for pip video in pre-link mode [1/1]
PD#SWPL-123079

Problem:
pre-link garbage

Solution:
modify the vpp flow

Verify:
T5m

Change-Id: I41c7bc3f87b1cb599227f32c5589eb8e32dcb02e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2023-05-31 20:53:56 -07:00
qianqian.cai 32e55a59cf deinterlace: t5m enable pre-link [1/1]
PD#SWPL-123079

Problem:
t5m enable

Solution:
t5m enable

Verify:
t5m

Change-Id: Ifb414b4db272d0f31593de3dc5756863a034f80e
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-05-31 20:53:49 -07:00
hengrui.li e4b6ae732c dts: CF2 Enable secos node [1/1]
PD#SWPL-125985

Problem:
- Enable secos node

Solution:
- Enable secos node

Verify:
S805C1A_BF201

Signed-off-by: hengrui.li <hengrui.li@amlogic.com>
Change-Id: Id2316d84540f6eb6a48fdc6826c719cc53e9e2f9
2023-05-31 05:58:20 -07:00
haitao.liu 420d07e01f vdin: update vdin dump buffer method on kernel 5.15 [1/1]
PD#SWPL-125597

Problem:
A new way to dump vdin buffer on kernel 5.15,keep the same with pipline

Solution:
use kernel_write instend
fix screencap abnormal under display 4k120 on t3x

Verify:
t3x

Change-Id: I114fe8a98d1041df7271839c8244bafa22a1399a
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-05-31 03:49:22 -07:00
MingLiang Dong be3cc4dd44 amvecm: change gamma enable write in vsync [1/1]
PD#SWPL-124907

Problem:
suggestion from vlsi, enable need set in rdma

Solution:
change gamma enable write in vsync

Verify:
t3

Change-Id: I014b710f61992abfe4b366ea20f77fa4d0fa93e4
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2023-05-31 00:49:13 -07:00
caiyi.xu 0bbdcb732f dtv_demod: fix dvbc new driver to solve missing channel (v3.2.4) [1/1]
PD#SWPL-125976
PD#SWPL-116077

Problem:
dvbc scanning miss channel

Solution:
fix dvbc new driver so that it can be used
to solve missing channel

Verify:
AM30ah

Change-Id: I7fa57068d942d429f13cff4a43a73d9a24a8ebac
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
2023-05-30 22:47:04 -07:00
Wenjie Qiao dfedb0e635 hdmitx: not control cuva vsif when TV not support cuva [1/1]
PD#SWPL-104832

Problem:
HDMI CTS14 7-39 fail, not send vsif when output hdmi14b vic

Solution:
not control cuva vsif when TV not support cuva

Verify:
sc2

Change-Id: I11e9d2a961a88c01e2ef8b4543d4c8223e6e67ba
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-05-30 20:55:58 -07:00
yaoyu.xu 555afebdb2 hdmirx: t3x cts [1/1]
PD#SWPL-125972

Problem:
t3x tmds phy pll settings.

Solution:
modify phy and pll settings.

Verify:
t3x

Change-Id: I0365359aca5b4779510b1389350ea72d80cb8640
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-05-30 20:55:48 -07:00
shu.wang 808c4ee4ee Input: Porting csk05 touch button driver from kernel4.19 [1/1]
PD#SWPL-124757

Problem:
The csk05 touch button driver is currently missing.

Solution:
Porting csk05 touch button driver from kernel4.19.

Verify:
A113L-T404

Change-Id: Ifd94fe06a133822d1d0d55c97ec5e946ce438e26
Signed-off-by: shu.wang <shu.wang@amlogic.com>
2023-05-30 20:55:45 -07:00
junwei.ma 5bdc720b03 ISP: MIPI camera sm1 ov5640 video0 to video50 [1/1]
PD#SWPL-124631

Problem:
T7 kernel update to 5.15

Solution:
T7 kernel update to 5.15

Verify:
ok

Change-Id: I06a7137a028e5a267aafb7a77870ad2add99845e
Signed-off-by: junwei.ma <junwei.ma@amlogic.com>
2023-05-30 20:55:36 -07:00
Pengcheng Chen 34d66cca6a vpp: correct t3x video policy [1/1]
PD#SWPL-125445

Problem:
enable pilite when 4k120hz output with t3x
t3x has no pilite

Solution:
disable pilite when 4k120hz output with t3x

Verify:
t3x

Change-Id: Ie10fdb86d38d3951433d35da2987cafb7fee31cb
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-05-30 03:34:00 -07:00
Yue Wang 5353eee195 usb: usb disconnect and can't be resumed when USB suspend [1/1]
PD#SWPL-125412

Problem:
Don't disconnect USB according the U3,
when USB suspend, otherwise will cause disconnect.

Solution:
CRG_UDC: add a module parameter:
eltest_flag for suspend and resume test

Verify:
t3x

Change-Id: Ifc86db9c9cb704c37c9618feac68a2959b152c25
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2023-05-30 03:33:57 -07:00
caiyi.xu 69602067ca dtv_demod: improve performance when atsc signal is weak (v3.2.3) [1/1]
PD#SWPL-125386

Problem:
missing channel in ATSC scan when signal is weak

Solution:
give more time when the ATSC signal is confirmed

Verify:
AR331

Change-Id: I9045c56082288c0d1adab9fdab38f416fef61106
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
2023-05-30 03:33:53 -07:00
chuangcheng peng 92e321bce0 demux: support tee dmx binding dma_buf and pid [1/1]
PD#SWPL-121154

Problem:
tee dmx need binding dma_buf and pid

Solution:
binding dma_buf and pid

Verify:
not verified

Change-Id: I3239545bdcc14b22909e97ce2dd7dd79589ff422
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-30 03:33:43 -07:00
shaohui.sheng 46895867af Audio: Standby and wake up [1/1]
PD#SWPL-122847

Problem:
When the standby wake up scenario occur, the speaker
will sound at the same time as ARC

Solution:
Standby and wake up to restore the original state.

Verify:
Test on board T5M.

Change-Id: I6c2bb9b08f7a18a3055c279d068b975de75f3d92
Signed-off-by: shaohui.sheng <shaohui.sheng@amlogic.com>
2023-05-30 03:33:39 -07:00
qianqian.cai 39266c5bf5 deinterlace: include tee for pre-link [1/1]
PD#SWPL-119158

Problem:
t5m pre-link tvp

Solution:
t5m pre-link tvp

Verify:
t5m

Change-Id: I78aa3c2185ffb717e9245995ad7f0324f271486f
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-05-29 23:41:08 -07:00
Pengcheng Chen 6339b89765 vpp: video sink zapper code cut [1/1]
PD#SWPL-122269

Problem:
video sink zapper code cut

Solution:
video sink zapper code cut

Verify:
zapper

Test:
zapper build ok.

Change-Id: Ia264da7c8035104acf18307ff3312c90d31b3615
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-05-29 23:41:01 -07:00
qiankun.wang e6045d91cd sched: vts: vts_kernel_proc_file_api_test [1/2]
PD#SWPL-124519

Problem:
vts_kernel_proc_file_api_test module 3 fail.

Solution:
add 3 proc file interfaces 'sched_latency_ns',
'sched_wakeup_granularity_ns',
'sched_tunable_scaling'.

Verify:
SC2

Change-Id: I88e8d7a91db601d1b1cb773d15583fabe7021a07
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-05-29 23:40:57 -07:00
mingxiu.sun 1d6ff63193 vdin: s1a zapper ddr optimize [1/1]
PD#SWPL-121299

Problem:
Zapper 2K S1A - 128M DDR- optimization vdin

Solution:
Disable vdin_mem_scatter\vdin_afbce\
vdin_v4l2\vdin_v4l2_if\vdin_mmu_box\
vdin_dv\vdin_v4l2_dbg

Verify:
Zapper 2k S1A

Change-Id: Ifaa952d34364a9d6298d8c46dc96e7fd7fb989d4
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-05-29 23:40:52 -07:00
xiang.wu1 d494ff46a9 hdmitx: valid_mode node concurrency error [1/2]
PD#SWPL-110988

Problem:
When systemcontrol and the upper layer call the valid_mode node
at the same time, it may cause concurrency errors

Solution:
add protection

Verify:
ah212

Change-Id: I3c163781fe99b9d5afa65a04a992a858aa1a63a8
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2023-05-29 23:40:49 -07:00
yicheng shen deca1747e9 hdmirx: add fpll sw calculation method [1/1]
PD#SWPL-124667

Problem:
1.fpll uses fix setting method,should use sw calculation method;
2.optimize frl training work queue logic;
3.audio pll is not correct in frl mode

Solution:
1.add fpll sw calculation method
2.optimize frl training work queue logic;
3.optimize audio pll setting in frl mode

Verify:
t3x

Change-Id: Ia0d17fdd4d6d2878b7218160c602611880bdf9ce
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2023-05-29 05:46:36 -07:00
jian zhou 603a57c9f3 audio: add earc rx enable flag [1/1]
PD#SWPL-123908

Problem:
add earc rx enable flag

Solution:
add earc rx enable flag

Verify:
s5

Change-Id: Ie452faccbbc9277bceeb53d7a06eb12773ed450a
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2023-05-29 03:47:24 -07:00
chuangcheng peng b601aced3c demux: correct dump section data issue [1/1]
PD#SWPL-124550

Problem:
no dump section data

Solution:
add dump section

Verify:
verified at SC2

Change-Id: Ie722818a7ab7f7ce6256b4160afdc0baaf0ec6be
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-29 03:47:20 -07:00
mingxiu.sun b994827d63 vdin: vdin msr clk hadn't suspend [1/1]
PD#SWPL-123253

Problem:
vdin clk hadn't close after suspend

Solution:
close vdin_probe vdin msr clk and
close vdin_msr_clk when clk is on and vdin_drv_suspend

Verify:
androidr 5.15 t5w

Change-Id: Ia7071de6985ecbc528e638f430a68d71a2ed5378
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-05-29 02:00:06 -07:00
ziyi 1ffcc64f28 c2: kernel add sdr50 speed sdio [1/1]
PD#SWPL-125353

Problem:
sdr50 speed sdio wifi has some init err

Solution:
revise clk config

Verify:
c2

Change-Id: I443be472092a21dd322824076202ac214c9f12e6
Signed-off-by: ziyi <ziyi.huang@amlogic.com>
2023-05-29 00:55:39 -07:00
min.yang d16f3ece36 dvb_extern: fix s4d tuner attach fail (V1.14) [1/1]
PD#SWPL-125117

Problem:
Can not find frontend0 node.

Solution:
fix tuner attach.

Verify:
verified by aq2432.

Change-Id: I9882154faccb324f6a5bdea8f2a0caa749da830c
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-05-29 00:55:34 -07:00
min.yang 541a424bec s4d: fix dts compatible config [1/1]
PD#SWPL-125117

Problem:
Can not find frontend0 node under
S805C3_AQ2432 platform.

Solution:
config compatible as s4d.

Verify:
verified by S4D.

Change-Id: I3016c208a84c1a51a002fa6df3546aef261c2e77
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-05-29 00:55:28 -07:00
yicheng shen cbbc45209c vdin: add vdin secure reg config interface [2/2]
PD#SWPL-124207

Problem:
set vdin hdmirx input none secure as default

Solution:
set vdin hdmirx input none secure as default

Verify:
T3X

Change-Id: I7bcc3c93db24f5235c7a9ed9a1b3c66b31b0069f
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2023-05-29 00:55:22 -07:00
qianqian.cai c18b6e2b32 deinterlace: tvp for pre-link [1/1]
PD#SWPL-119158

Problem:
t5m pre-link tvp

Solution:
t5m pre-link tvp

Verify:
t5m

Change-Id: I27b0a17a79d18ad7e058dbde9810f0bbad0bc0ae
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-05-29 00:55:10 -07:00