Commit Graph

4225 Commits

Author SHA1 Message Date
yaoyu.xu e671fc5f00 hdmirx: fix trim value is changed when rx probe [1/1]
PD#SWPL-141485

Problem:
trim value is changed when rx probe.

Solution:
add trim flow.

Verify:
txhd2

Change-Id: I27e3bf109e6898100e4d780be8441258943edca3
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 23:10:08 +08:00
hai.cao 70261aa779 video: revert special video keystone code [1/1]
PD#SWPL-141376

Problem:
video change interrupt source

Solution:
register new interrupt

Verify:
txhd2

Change-Id: I55ca56b02dcf54a67133a95a43f599e39c078a2d
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-01-19 23:09:59 +08:00
junyi.zhao 104f74eeeb i2c: fix clk get rate erro [1/2]
PD#SWPL-141317

Problem:
get erro clk rate

Solution:
move clk api frontally

Verify:
A5 av400

Change-Id: I78ade63d323796ec6fa1a6e1c697ba3be07a736e
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2024-01-19 23:09:49 +08:00
Haotian Guo 7fc88a650e hdmirx: update arc power down [1/1]
PD#SWPL-141067

Problem:
Modified arc when powering off

Solution:
Modify the way registers are written

Verify:
t7

Change-Id: I1eac4024383b6f53ab9341d9a7e79d5514a7f199
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-01-19 23:09:20 +08:00
yuhua.lin 0c424348a4 ge2d: modify ge2d hsc_div_length on s1a [1/1]
PD#OPS-4880

Problem:
ge2d slt test failed
hsc_div_length setting error

Solution:
modify it

Verify:
s1a

Change-Id: Ica8facb4140d2ad6758e65a4bee6c32223b6782b
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-01-19 23:09:09 +08:00
yaoyu.xu 4cccac3e47 hdmirx: close phy when hdmi 5v not in [1/1]
PD#SWPL-140655

Problem:
phy power is high when hdmi not in.

Solution:
close phy when hdmi not in.

Verify:
t3x

Change-Id: Ib33e902449c6e9030f881591685a706dbef88a8e
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 23:08:59 +08:00
mingxiu.sun 0150bfa426 vdin: Provides vdin1 hist values for the upper layer [1/1]
PD#SWPL-135475

Problem:
txhd2 vdin1 hist uses the vdin0 hist register

Solution:
Open the clk of vdin1 and configure the hist related register

Verify:
txhd2

Change-Id: If86d6fbfd7a760e1a51db98aecce9c37c685687e
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-01-19 23:06:58 +08:00
haitao.liu d0514e1823 vdin: The time interval of vframe is not uniform [1/1]
PD#SWPL-141141

Problem:
app get vfame by epoll function which returns not uniform

Solution:
vdin put vframe into pool and wake up wait queue at the same place

Verify:
txhd2

Change-Id: I366c984d1006099b5f81c3b78794c23cf0f3ad76
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-19 23:06:17 +08:00
yongbing.he bcbbfd82e2 freertos: freertos featrue reorganize [2/2]
PD#SWPL-140884

Problem:
c3 not freertos notifiers
c3 need ipi send

Solution:
c3 add freertos notifiers config
c3 add ipi send config

Verify:
c3

Change-Id: I8f624cdf329880cb5a0e01ba83cc93119938b509
Signed-off-by: yongbing.he <yongbing.he@amlogic.com>
2024-01-19 23:06:17 +08:00
yuhua.lin 7f2b519eac video: update osd2_blend_src_ctrl in video [1/1]
PD#SWPL-140951

Problem:
drm and video write the same reg

Solution:
move the operation of updating reg in drm to video

Verify:
txhd2

Change-Id: Ic4738a3c988ba6da8886f92857d7dbd9eabc9183
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-01-19 23:06:17 +08:00
chen.xu bdf8afcb01 amlvideo2: need support 4K screenCap [1/1]
PD#SWPL-138507

Problem:
need support 4K screenCap.

Solution:
add code and increase mem to support.

Verify:
T7C

Change-Id: Ie6447f78a915cab051829d3cc90b27a459801e6a
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-01-19 23:06:17 +08:00
hai.cao 7a158ffd5e osd: osd2 can not display [1/1]
PD#SWPL-140951

Problem:
osd2 can not display,osd2_blend_src_ctrl be setted by video

Solution:
add notify function to set reg value

Verify:
txhd2

Change-Id: Ibf3e170cd2e1e514b64d0809ff0b4776be85d87d
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-01-19 23:06:17 +08:00
Bichao Zheng d33d0a1e0b spinand: update info page [1/1]
PD#SWPL-140211

Problem:
need update spinand info page.

Solution:
update new info page, for compatibility with A1 S1A C3.

Verify:
A1 S1A C3

Change-Id: I73ce561dc716aedd18ac2887af00fa912818794b
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2024-01-19 23:06:17 +08:00
yaoyu.xu 26c26752a6 hdmirx: 480p sound abnormal [1/1]
PD#SWPL-140768

Problem:
480p sound abnormal

Solution:
correct 480 aud pll settings.

Verify:
t3x

Change-Id: I45e361b76a57d051586dbbe8728f4024d860f030
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 23:03:36 +08:00
haitao.liu 660d43f117 vdin: set super urgent to write and enable write done check [1/2]
PD#SWPL-134560

Problem:
video flickering when operate menu

Solution:
1.set vdin write ddr priority to super urgent
2.skip frame when detect frame not writen done

Verify:
T3x

Change-Id: Icd1badf344663f6b91eb021974d3b3e87f3d059c
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-19 23:03:25 +08:00
qianqian.cai da99f95d34 deinterlace: DCT memory not correct [1/1]
PD#SWPL-140585

Problem:
s1a NR no effect

Solution:
DCT check memory

Verify:
t5m

Change-Id: I2caae49661cf02decaf72f780acd0d1991095097
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2024-01-19 23:03:07 +08:00
qiang.liu 0a9a1e7fc9 tvafe: pal-m open vbi agent [1/1]
PD#SWPL-139755

Problem:
pal-m default close vbi agent

Solution:
pal-m open vbi agent

Verify:
t5w

Change-Id: I416c78228d44cfccd0f7d55ceda203d57cea86ba
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-01-19 23:02:51 +08:00
Pengcheng Chen 49df194398 vpp: 240hz display policy set [1/1]
PD#SWPL-140783

Problem:
24hz display need used 2 vd1 slice

Solution:
240hz display policy set

Verify:
t3x

Change-Id: Ieb2d428d8537f04dbef03f0cff1e45c8611e511f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-01-19 23:02:10 +08:00
yaoyu.xu 932dfdf004 hdmirx: reduce print log [1/1]
PD#SWPL-124652

Problem:
need reduce print log.

Solution:
reduce print log.

Verify:
t3x

Change-Id: Iaed4eeae3bf8fc11058fb0b668b5717d1407b265
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 23:01:40 +08:00
haitao.liu 85cd4621ea vdin: skip hdmirx input 8k to 4k [1/1]
PD#SWPL-138640

Problem:
no display when hdmirx 8k input.

Solution:
vdin need skip 8k to 4k when 8k input.

Verify:
T3X

Change-Id: Ie19c02f3b1e8e33746084e838473b262dad00b21
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-19 23:01:27 +08:00
jinbing.zhu 822f0d1502 amvecm: add txhd2 chip type [1/1]
PD#SWPL-139412

Problem:
add txhd2 chip type

Solution:
add txhd2 chip type

Verify:
txhd2

Change-Id: I1f7f792c085eb540af0d1a65d08b37a0cf07d970
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-01-19 23:00:48 +08:00
Xingxing Wang 31b73819fc thermal: add more registers control in ddr cooling [1/1]
PD#SWPL-139694

Problem:
add more regs control in ddr cooling device

Solution:
add more regs control in ddr cooling device

Verify:
txhd2

Change-Id: I99c978d2034b3dcf01239752ce1a112f8e07afce
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-01-19 23:00:35 +08:00
haitao.liu cb62a5c7b9 vdin: enable duration check on t3x [1/1]
PD#SWPL-137366

Problem:
t3x duration checking was disabled

Solution:
enable duration check

Verify:
t3x

Change-Id: Icdc294a59c514c75e2920f7afe4e207d74b1e05b
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-19 23:00:03 +08:00
haitao.liu 450be58677 vdin: keystone can not scale down to 720p [1/1]
PD#SWPL-139835

Problem:
keystone can not scale down to 1280x720

Solution:
set right hv scaler register

Verify:
txhd2

Change-Id: I5c9f6b654715c764bffc1f2c304513804863704c
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-19 22:56:16 +08:00
haitao.liu f4275dacdd vdin: crc of vf in vdin was unstable [1/1]
PD#SWPL-139634

Problem:
vf crc may change on the same image

Solution:
set crc check reg in every vsync

Verify:
txhd2

Change-Id: I4cdec9adb796800767349051d53e3d3cf0eeb962
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-19 22:56:03 +08:00
qinglin.li e111ae1dba gcc64: need config break gki [1/1]
PD#SWPL-139909

Problem:
gcc64 not config break gki

Solution:
config break gki

Verify:
rdk

Change-Id: I30e023ef259180c0a8faeb912c4410d5d1759f69
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-01-19 22:55:39 +08:00
qiang.liu 451d4bb07b tvafe: optimize tvafe_cvd2_hold_rst config flow [1/1]
PD#SWPL-139370

Problem:
tvafe_cvd2_hold_rst config flow has problem

Solution:
optimize tvafe_cvd2_hold_rst config flow

Verify:
TXHD2

Change-Id: I2f72493006991bd365c480e44c3292cb77643ac6
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-01-19 22:55:30 +08:00
wei huang 0503367273 Xaudio: Pop noise happen for headphone after STR [1/1]
PD#SWPL-139069

Problem:
After STR,the acodec doesn't finish initialization
when do unmute for analog amplifier.

Solution:
It needs to delay more time to do unmute.

Verify:
Test on board T5M. It works well now.

Change-Id: I163cc2dbd0a6e0d3cf0403ca5bf53676816e2ad2
Signed-off-by: wei huang <wei.huang@amlogic.com>
2024-01-19 22:55:02 +08:00
mingxiu.sun e97a5f83b4 vdin: Modify vdin priority to super urgent [1/1]
PD#SWPL-139074

Problem:
txhd2 vdin need set to super urgent

Solution:
modify txhd2 vdin to be the super urgent

Verify:
txhd2

Change-Id: I6ec7144bb713e0a92003d11200eb7b7330c6ed32
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-01-19 22:54:50 +08:00
yaoyu.xu f2f7b05174 hdmirx: add support for 240p [1/1]
PD#SWPL-139463

Problem:
add support for 240p.

Solution:
add support for 240p.

Verify:
txhd2

Change-Id: Id2a0e2dec3aad54143cf78a7ce9fbae0568291d0
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 22:54:31 +08:00
yaoyu.xu 70fca36f2e hdmirx: add gcp mute cnt when fps change [1/1]
PD#SWPL-138951

Problem:
unnormal display when fps change.

Solution:
add gcp mute cnt when fps change.

Verify:
txhd2

Change-Id: I940b87d8e15fda055328ed4dc5e7aa853858cdf5
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 22:52:48 +08:00
qinghui.jiang 8629df7b01 amvecm: modify cm reg setting flow [1/1]
PD#SWPL-137060

Problem:
dtv dark red because of cm settings.

Solution:
modify cm reg settings flow.

Verify:
txhd2

Change-Id: Iad77f22f33c608912b9386d46f0358798e5eb650
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2024-01-19 22:51:58 +08:00
rong.wang 4e50dae120 deinterlace: decontour probe for t3x [1/1]
PD#SWPL-139487

Problem:
decontour is no effect on t3x

Solution:
enable dcntr_prob on t3x

Verify:
t3x

Change-Id: Ifc8f39f06531e99d0afe7b3dd430194d28570ac3
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2024-01-19 22:51:26 +08:00
haiyang.ren 8a8c1ac21b audio: kcontrol to set digital mode [1/4]
PD#SWPL-137621

Problem:
there is no audio server, need use mixer control to control digital mode.

Solution:
add kcontrol and named "Audio Digital Mode";

Verify:
S805C1-BG201

Change-Id: I8177e5c922b5b54c97a438ec835b51cd0a7fa32c
Signed-off-by: haiyang.ren <haiyang.ren@amlogic.com>
2024-01-19 22:49:58 +08:00
qiang.liu 1d77afafdd vdin: add game interlace drop bottom [1/1]
PD#SWPL-139287

Problem:
game interlace bypass di will jitter

Solution:
add game interlace drop bottom

Verify:
txhd2

Change-Id: I8d596454499461803066d3ce6260afd310e8252c
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-01-19 22:49:01 +08:00
yaoyu.xu 5c52b715ef hdmirx: t3x reb bring up [1/1]
PD#SWPL-136712

Problem:
1.add support for 5k 8k.
2.frl flow.
3.frl overlap.

Solution:
t3x sw flow.

Verify:
t3x

Change-Id: I4aeb0b6fff064db89a13b2f1454ad7cb95e8ed50
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 20:52:47 +08:00
chen.xu 902633a18c amlvideo2: fix support NV21 to screencap for gstreamer [1/1]
PD#SWPL-138375

Problem:
1.NV21 to screencap for greastmer failed.
2.need support RGB24 and RGB565X.

Solution:
1.amlvideo2 out bytesperline param error.
2.support RGB24 and RGB565X

Verify:
T7C

Change-Id: I46ba9bf48783609ef9729439aed7e7e1dadd9d37
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-01-19 20:52:47 +08:00
haitao.liu 54b060f6a9 vdin: fix black screen issue in keystone [1/1]
PD#SWPL-137950
PD#SWPL-139190

Problem:
In keystone scenario,if using vpp out of viu1 for vdin1
to do loopback,it may display black screen.

Solution:
use post blend of viu1 instand

Verify:
txhd2

Change-Id: Id39989b24a106ec083c3b2673b3c99e316dae0d3
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-19 20:52:47 +08:00
Xingxing Wang 70a2428770 thermal: clear tsensor reset pin in probe [1/1]
PD#TV-92278

Problem:
read temperature failed

Solution:
sensor reset ctrl can't cleared by reboot command, so we clear it in
driver probe  function.

Verify:
TXHD2

Change-Id: Ic4f3ca61ea81ce00b7f9a50723a19392d93b1b30
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-01-19 20:39:55 +08:00
Xingxing Wang d3d8793e29 thermal: modify ddr control point [1/1]
PD#SWPL-125800

Problem:
ddr test

Solution:
modify ddr temperature control point

Verify:
txhd2

Change-Id: Icab99c885673981577e0545a8fbe5191f49f2e07
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-01-19 20:39:22 +08:00
qiang.liu fe8e739d1c dsc_dec: add dsc_dec bringup [1/1]
PD#SWPL-117267

Problem:
not dsc_dec function

Solution:
add dsc_dec bringup

Verify:
T3X

Change-Id: I36ccbe87c9773af8ce08dc2b122d41a7924000f1
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-01-19 20:39:05 +08:00
haitao.liu cbbe2927a5 vdin: Screencap viu2 content for chips before t7 [1/1]
PD#SWPL-136143

Problem:
Chips beore t7 only support vpp0 + viu2
when screencap viu2 content,should use ENCP/ENCI/ENCL

Solution:
develop vdin1 ENCL loopback for viu2 content

Verify:
g12b

Change-Id: Ib726f590cbebd8dec9770c783767f44ccf4c3386
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-01-19 20:38:43 +08:00
yaoyu.xu 7145390b13 hdmirx: add vpp mute cnt [1/1]
PD#SWPL-138104

Problem:
gcp pkt result in mute and unmute.

Solution:
add vpp mute cnt.

Verify:
txhd2

Change-Id: Ia1d6f404e1ccbc8325ea53935b9bdb04770655e2
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 20:38:00 +08:00
Bichao Zheng 83dbb57da9 nand: s1a nand partition confirmation [1/3]
PD#SWPL-137498

Problem:
1. need get partition from env
2. need get rsv info from env

Solution:
1. get partition from cmdline
2. get rsv info from cmdline

Verify:
s1a

Change-Id: I5de9ca2479d60ce0c24698abda1b01403be4c283
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2024-01-19 20:37:49 +08:00
Gaowei Zhao fab849c568 hdmirx: support iMax mode [1/1]
PD#SWPL-137268

Problem:
not support iMax mode

Solution:
parse iMax flag from VSIF packet

Verify:
T5W

Change-Id: I3b1c52f132e47d825cf086473c6c60af44c5045f
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-01-19 20:37:30 +08:00
rong.wang c4028aa3bd deinterlace: set urgent of di/tcon/vdin [1/1]
PD#SWPL-138154

Problem:
when di urgent improve,tcon also need improve

Solution:
set urgent of di/tcon/vdin

Verify:
txhd2

Change-Id: Ia3b371dfa2d0edfc014b4a4b999277e85608bc63
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2024-01-19 20:37:20 +08:00
Gaowei Zhao 53abcbb3a6 hdmirx: fix hdmirx mute issue [1/1]
PD#SWPL-137918

Problem:
not sound in hdmi channel

Solution:
1) get property aud_packet_received flag;
2) fix frl and tmds audio flow;
3) fix emp flow issue;

Verify:
T3X

Change-Id: I25f24c24253f995b0ad30f0dd991aee2cc2e8110
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-01-19 20:37:11 +08:00
qing.zhang 1202901d12 audio: fix hdmirx to I2S L/R swap issue [1/1]
PD#SWPL-137471

Problem:
HDMIRX MAT format audio noise.
Root cause is that the I2S works as slave
but the L/R is swapped.
Regression of SWPL-134880.

Solution:
Correct the Slave mode I2S config.

Verify:
T5W.

Change-Id: I36b6f177eb7c5135bf53fbf1a8e088c8fb6c312f
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-01-19 20:37:02 +08:00
yaoyu.xu 68e6327c1b hdmirx: txhd2 hdcp cts [1/1]
PD#SWPL-138007

Problem:
hdcp cts fail

Solution:
reset pcs to work around hdcp fail

Verify:
txhd2

Change-Id: I3b82351c48482265e0e4071f0667baee52595285
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-01-19 20:36:46 +08:00
hai.cao 4d94484be6 video: add keystone support [1/1]
PD#SWPL-136208

Problem:
txhd2 keystone

Solution:
enable txhd2 keystone

Verify:
txhd2

Change-Id: I212b1be7f6de43ad60cb8933305fd2fe42b8ebdd
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-01-19 20:35:58 +08:00