Commit Graph

1279 Commits

Author SHA1 Message Date
xiang.wu1 636e78473e hdmitx: Y422 not support 8-bit and 10-bit [2/2]
PD#OTT-88083
PD#SWPL-247658

Problem:
dc cap  removed the 10-bit and 8-bit versions of Y422,
and valid mode also needs to be checked synchronously.

Solution:
modify validate mode, Y422 8-bit and 10-bit return fail

Verify:
S7D

Test:
DRM-TX-158

Change-Id: I7f857264b72679b6dac6d3156d3007f40e4b0116
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2026-01-09 08:31:53 -08:00
Ao Xu 0b27b7fb34 meson_tx_connector: sync meson_tx_connector from dptx3 branch to trunk [1/1]
PD#SWPL-209679

Problem:
sync meson_tx_connector from dptx3 branch to trunk

Solution:
sync meson_tx_connector from dptx3 branch to trunk

Verify:
s7d

Change-Id: I992db96cf743d02e95ab436cf0fba5dd98cc4b2f
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2026-01-08 12:32:38 -08:00
futian.shi 1c70bb7c8e media_proxy: CF1 provide qos data to player [2/2]
PD#IPTV-37403

Problem:
player need get qos data

Solution:
provide qos data to player

Verify:
ohm

Change-Id: I19535ff8a5dd8c30a19c62c177e65b6e2f766308
Signed-off-by: futian.shi <futian.shi@amlogic.com>
(cherry picked from commit 35b064d1c5b218647ef30794778862ca71615567)
2026-01-08 11:26:20 -08:00
qianqian.cai 87890eea4a dpss: pps enable sync code [1/3]
PD#SWPL-248068

Problem:
pps enable sync code

Solution:
pps enable sync code

Verify:
T6x

Change-Id: I2d8d80211c7ee5462fac320d08a895d1d7341aa0
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2026-01-08 11:24:15 -08:00
Xiangyu Cai 933e08c62c vrr: sync code new [1/1]
PD#SWPL-243808

Problem:
sync code

Solution:
sync code

Verify:
t6x

Change-Id: I4ea55e0ae55c02acb629590d9602baeebe767d96
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2026-01-07 08:29:24 -08:00
Jihong Sui 18227dd1d8 dpss: add dpss front [1/1]
PD#SWPL-230996

Problem:
feature: dpss front

Solution:
add dpss front

Verify:
T6W

Change-Id: I3638ed5de25ee29da18d220b8ae77c34a352ef24
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2026-01-06 17:02:02 -08:00
Junyi Zhao a64750be77 pwm: support t6x std func [1/1]
PD#SWPL-247740

Problem:
there is no t6x std func

Solution:
add it

Verify:
t6x bu301

Change-Id: I62de0f2b898feb1a3aa2e510d7c6e1abef6d94d6
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2026-01-06 13:01:01 -08:00
lele xiang e71949603e codec_mm: CF1 Frame drops caused by untimely memory allocation. [1/2]
PD#SWPL-228458

Problem:
During resolution switching, scatter buffer allocation is not timely,
which causes output-frame latency and results in frame drops

Solution:
1.Increase the pre-allocated size of scatter buffers.
2.Raise the cache free-release threshold to meet memory requirements
during small-to-large resolution switching.

Verify:
T6W

Change-Id: Iab91414469a670ef9066598006273a69beeab68b
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2026-01-06 11:00:55 -08:00
Yan Wang 6c7ee27779 irq_latch: Update the method for obtaining hwirq. [1/1]
PD#SWPL-240248

Problem:
update getting hwirq.

Solution:
update getting hwirq for GPIO irq.

Verify:
BL201

Change-Id: If16c92284b88b1f3de05ed41bdcbad8a5eed4e0f
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2026-01-06 05:44:18 -08:00
Pengcheng Chen c3124a58de vpp: add screen_mode 32:9 support [1/1]
PD#SWPL-247946

Problem:
add screen_mode 32:9 support

Solution:
add screen_mode 32:9 support

Verify:
t6x

Change-Id: I2e01c796ba176ee4a37d9352680f016ac76457aa
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
(cherry picked from commit 2d3093f94aad5b5e9a19490d6be52d8ce47a0ae2)
2026-01-05 23:27:11 -08:00
dongfei.li 2f09522155 dpss_frc: frc sync k5.15 at 20260103 [2/2]
PD#SWPL-243805

Problem:
sync 6.12

Solution:
sync 6.12

Verify:
T6X

Change-Id: Ie251eef711d27495bf7467b454b0545aafc935be
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2026-01-05 19:14:11 -08:00
Evoke Zhang c3f2160b88 lcd: update tcon status debug function [1/1]
PD#SWPL-247640

Problem:
need support show p2p lock status for debug

Solution:
update tcon status debug function

Verify:
bu301

Change-Id: I95c9aa9fd33f5cfa2b614da32956f0775a7af3b6
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2026-01-05 19:13:23 -08:00
wenlong.zhang 07c9f4232c Revert "meson_tx_connector: sync meson_tx_connector from dptx3 branch to trunk [1/1]"
PD#SWPL-248653

Problem:
T6X compile failed

Solution:
revert commit 8780c78dab

Verify:
T6X S7D t7c


Change-Id: I888db59108130153d5cbdcd229854966e9d47897
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2026-01-04 06:38:49 -08:00
Ajay Gautam 0e4b0c2dcc msync: Add resync [3/3]
PD#OTT-76649

Problem:
Need to add msync resync event to enforce
wallclock reset.

Solution:
Add the new resync event

Verify:
NTS: av sync tests

Change-Id: I2f8f4b0aad9cd09ec255c5ccc100809e1b6e7a44
Signed-off-by: Ajay Gautam <ajay.gautam@amlogic.com>
(cherry picked from commit 896baef0e010d52bc63c4768e148d75d630ee97f)
2026-01-04 02:35:53 -08:00
hongyu.chen1 cc0af52e11 reboot: add rtc quiescent reboot reason. [1/1]
PD#SWPL-241991

Problem:
rtc quiescent reboot reason need support.

Solution:
add config

Verify:
s7

Change-Id: Iec3c1dfa59da0eaf2a7ba2aafc08b0b90fa56ba9
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2026-01-04 01:26:08 -08:00
qinghui.jiang 6e18acc45f amvecm: sync cls from 5.15 to 6.12 [1/1]
PD#SWPL-243783

Problem:
sync cls from 5.15 to 6.12

Solution:
sync cls from 5.15 to 6.12

Verify:
t966d5

Change-Id: Ied90d0b89b133bf45bbeae88ddf7944af91024d4
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2026-01-04 01:23:34 -08:00
Hao Shi 09b485b531 codec_mm: add codec_mm_scatter_source_check [1/1]
PD#SWPL-246193

Problem:
VDIN needs to know where scatter is allocated from.

Solution:
Add codec_mm_scatter_source_check to export scatter source.

Verify:
T6X

Change-Id: Ieee6e55ac166c7f634a7f811e2d20bc7a37b9be0
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2026-01-04 01:22:02 -08:00
Feng Chen 9899698644 spicc: localdimm support [1/1]
PD#SWPL-232286

Problem:
"spi_busnum_to_master" has been removed.

Solution:
use device-tree API find ctrl device.

Verify:
T6X

Change-Id: Ic1e0bcb5765a57c774b97303317e9401592230bf
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2025-12-30 21:40:11 -08:00
Ao Xu 8780c78dab meson_tx_connector: sync meson_tx_connector from dptx3 branch to trunk [1/1]
PD#SWPL-209679

Problem:
sync meson_tx_connector from dptx3 branch to trunk

Solution:
sync meson_tx_connector from dptx3 branch to trunk

Verify:
s7d

Change-Id: I9a9ba38c7dea63004d2c49d9fa0ee5f2a719b631
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2025-12-30 19:16:56 -08:00
Jinbing Zhu 44f0c7e66c hdr: fix dv switch to sdr process [1/1]
PD#SWPL-241951

Problem:
path reg set fail when dv switch to sdr process

Solution:
fix dv switch to sdr process

Verify:
t6x

Change-Id: Ia4de134ea2747e53b7e3c0ba48ff0d8e4eaaf879
Signed-off-by: Jinbing Zhu <jinbing.zhu@amlogic.com>
2025-12-29 13:09:16 -08:00
Yongjie Zhu 3b4a269766 uvm: Decoder DW + Scaler as screencap [1/1]
PD#SWPL-240736

Problem:
uvm use ge2d enlarge double write buffer
to 4K as screencap picture

Solution:
add UVM support
fix conflict with decoder
switch to wrapper_ge2d mode before 4K avbcd ready

Verify:
s7 16+6.12

Change-Id: I52261b9499b83576f170286a7be0e55194fe3e10
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2025-12-26 12:26:00 -08:00
ruofei.zhao e074a4233e hdmitx: optimize hdmitx log [1/1]
PD#SWPL-243194

Problem:
After OTT resumes, hdmitx displays correctly, but there is
an HDMITX_ERROR error in the log, which needs optimization

Solution:
optimize hdmitx log

Verify:
A311D2

Test:
DRM-TX-78

Change-Id: I2ff21e465aae8392e88f457f7bae90314f0a03a0
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-12-25 12:47:12 -08:00
lizhi.hu b6a145d094 lcd: support drm mode setting [1/1]
PD#SWPL-233321

Problem:
support drm mode setting
combine tv-tablet common job
optimize print struct

Solution:
fix

Verify:
t7_an400
t6w

Change-Id: I828eea069af697047389c751756c2140a1e38d89
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-12-25 12:47:05 -08:00
congyang.huang e3e62249d6 drm: encapsulate the interface between DRM and LCD [1/1]
PD#SWPL-224468

Problem:
encapsulate the interface between DRM and LCD

Solution:
clean lcd validate_vmode flow
use timing to set the mode instead of the mode name

Verify:
t6x t7c

Test:
DRM-OSD-47

Change-Id: Id68af80c89b063a7bbc415ae833d1883378910ab
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2025-12-25 12:46:59 -08:00
Gaowei Zhao 88b9194c7b hdmirx: add ioc for framerate limit
PD#SWPL-242100

Problem:
can not display 2k165

Solution:
add ioc for framerate limit

Verify:
T5M

Change-Id: If993e579a0dcbb0e30ea435573b806cdca214766
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2025-12-25 02:35:16 -08:00
Evoke Zhang af7154e812 lcd: add vrr test debug function [1/1]
PD#SWPL-247142

Problem:
need support vrr test debug command

Solution:
add vrr test debug function

Verify:
bu301

Change-Id: I285501c0c7ff82b5686d7257b67ce156990bed48
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-12-23 12:24:23 -08:00
Deyong Chen 58d75f67cf vpq: link vpq with frc and amdv [1/2]
PD#SWPL-246021

Problem:
open dev/vpq frc and amdv func for t6w/t6x in android 16 os

Solution:
link vpq with frc and amdv

Verify:
t6w

Change-Id: I2131ac96a1c92b22b49be61c513ef5588aacd28b
Signed-off-by: Deyong Chen <deyong.chen@amlogic.com>
2025-12-23 12:24:07 -08:00
Pengcheng Chen b77c00278e vpp: set pps in size 4 aligned for vdin loopback for t6x [1/1]
PD#SWPL-243510

Problem:
set pps in size 4 aligned for vdin loopback for t6x

Solution:
set pps in size 4 aligned for vdin loopback for t6x

Verify:
t6x

Change-Id: I9fe3f60b643b9469871867fc248029bac2da3363
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-12-22 02:22:53 -08:00
zijie.hong 0f924a5abc vdin: t6x switch port for non-4-aligned h skip [1/1]
PD#SWPL-243510

Problem:
For T6X loopback postblend vd1,
If wrbak_proc do h skip, the hsize must be 4-aligned.
Otherwise, the screenshot will be distorted.

Solution:
In this case, switch to preblend vd1 for loopback.

Verify:
T6X

Change-Id: Iaed9ef7c67acb0b520e2517c61dff9b966e45351
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-12-22 02:22:47 -08:00
Jian Cao d29b8a5e3b vpp: add an API to immediately set mute registers in the vsync ISR [1/2]
PD#SWPL-237970

Problem:
Need to add an API to support setting mute in the vsync ISR

Solution:
add this support

Verify:
t6x

Change-Id: I80fbd7cf280eeb10c8eb146d1855ba12ce12460d
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-12-19 08:24:39 -08:00
mingxiu.sun 00126d0bf7 vdin: add sbtm type [1/1]
PD#SWPL-243511

Problem:
add sbtm config to the vframe

Solution:
add sbtm config to the vframe

Verify:
t6x

Change-Id: Ic6d2e7872b2146308ff4ea487fc87c876e6c89d3
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2025-12-19 04:18:18 -08:00
can.zhang 871b542f3d amdv: add vpq interface2 [1/1]
PD#SWPL-241735

Problem:
test

Solution:
test

Verify:
Verified on local

Change-Id: I5c27ae60caec55134e45a016dd21b112c7602ccd
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-12-19 04:18:07 -08:00
jie.dai bf43e03789 lcd: update vrr range min/max in first probe [1/1]
PD#SWPL-232636

Problem:
need separate the min/max from all timings for notifying VRR

Solution:
separate the min/max from all timings in lcd probe stage

Verify:
t6x

Change-Id: I8464b7266cf3ccb1ed913f02aa19c2dc2b6c813d
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-19 01:39:25 -08:00
Jihong Sui 3db1cf87ae dpss: fix hdr_dd stuck [1/1]
PD#SWPL-244194

Problem:
dpss stuck

Solution:
1. add update hdr path;
2. add new frame trig;

Verify:
T6W

Change-Id: Id11d11b69af2f69ae338de1b0ef0cb4eab3fecaf
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2025-12-18 01:20:35 -08:00
lukang.jia 99d04263dc dpss: sync code from 5.15 to 6.12 [1/1]
PD#SWPL-245970

Problem:
sync code from 5.15 to 6.12

Solution:
sync code from 5.15 to 6.12
574821
610996
615838
616810

Verify:
T6X

Change-Id: I8f2c55ba78d3bb6cb0ea4ea2f4ea37c31875ba19
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2025-12-16 06:20:51 -08:00
jie.dai 3926a54a00 lcd: tcon vrr vdf bringup [2/2]
PD#SWPL-237149

Problem:
need support vrr vdf function

Solution:
add vrr vdf driver

Verify:
t6x

Change-Id: Id7657cda14086d1bc391cb03f61c7844a7c46e52
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-15 06:39:44 -08:00
qinghui.jiang 88e46bb42d amvecm: sync code from 5.15 to 6.12 [1/1]
PD#SWPL-237898

Problem:
sync code from 5.15 to 6.12

Solution:
sync code from 5.15 to 6.12

Verify:
t966d5

Change-Id: If5587692616b04786c1c8d9b843a76b4224a5d81
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2025-12-15 06:39:35 -08:00
chenyang.liu 958a5593da lcd: fix vbyone hpd bit for t6x and t3x [2/2]
PD#SWPL-245659

Problem:
hpd bit is bit 16 on t6x and t3x, not bit 6

Solution:
read bit 17 for hpd status on t6x and t3x

Verify:
bu301

Change-Id: Icce40a337aa9c42af48eefab9cab051259df3150
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2025-12-15 03:35:35 -08:00
hang.cheng f75a8be203 hdmitx: set avi picture ar match with vic [1/2]
PD#SWPL-244363

Problem:
Per CTA-861 spec, the AVI M field shall match
the Picture Aspect Ratio associated with the
current Video Format VIC

Solution:
1.for VIC with 4x3 picture aspect ratio, set
AVI M filed as 4x3,
2.for modes which picture aspect ratio not
in 4:3, 16:9, 64:27, 256:135(VESA modes),
set AVI M filed as No Data
3.for VIC with 16x9 or 256x135 picture aspect ratio,
as there's no valid M value for 64:27, 256:135,
keep M filed as default 16x9 as previously did

Verify:
S7D

Test:
DRM-TX-155

Change-Id: I56439bfc0130e5741f4e40983de418859e1c470d
Signed-off-by: hang.cheng <hang.cheng@amlogic.com>
2025-12-15 03:34:47 -08:00
Jian Cao 3de155fcce vpp: add hlg plus in src_map [1/1]
PD#SWPL-237423

Problem:
add hlg plus in src_map

Solution:
add hlg plus in src_map

Verify:
t6x

Change-Id: I940e94a0bef50c15be81af5ac4a8653c7059f17c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-12-12 08:24:41 -08:00
can.zhang bd994720b9 amdv: Set parameters to adjust PD effect [1/1]
PD#SWPL-241687

Problem:
amdv pd effect need adjust

Solution:
add parameters interface

Verify:
Verified on t6x/w

Change-Id: I7137faa936637bd68ca4c9a1d5432f4e670f2d3e
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-12-12 08:24:21 -08:00
Evoke Zhang ac989e7f93 STR: speed up bl & video resume [1/1]
PD#SWPL-243818

Problem:
str show logo need video & video resume early

Solution:
base on https://scgit.amlogic.com/#/c/583611/
use resume_type=0x3 & pm_ops to resume video_late_resume

Verify:
T6X

Change-Id: Icbb8e577b99a279279c4fe4aec7aa8366e225297
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-12-12 08:24:11 -08:00
hai.cao fdea4f6bd5 video: optimize video mute node info [1/1]
PD#SWPL-245593

Problem:
optimize video mute node info

Solution:
optimize video mute node info

Verify:
t6w

Change-Id: Ied0db53001a889cdf17eecb801fcf5618c561f63
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-12-11 20:44:26 -08:00
lele xiang fc71181a2f codec_mm: CF2 16KB Support. [1/2]
PD#SWPL-230463

Problem:
16KB Support

Solution:
Provides a function to convert memory addresses
from 16KB pages to 4KB pages.

Verify:
T7C

Change-Id: I990912f4146d2d70777a8531cf165da5a23210c1
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2025-12-11 04:22:57 -08:00
Zhongfu Luo 8373498e1f efuse: export symbol for efuse api [1/1]
PD#SWPL-241782

Problem:
need to support efuse api for more module

Solution:
changed efuse api to EXPORT_SYMBOL

Verify:
T6X

Change-Id: I4e60ca50e04b226d5336c9eef367b83f7025c1c3
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2025-12-10 00:27:42 -08:00
yaoyu.xu aff4c40127 dsc dec: choose dsc pll as dsc clk [1/1]
PD#SWPL-239956

Problem:
vpu clk div 2 unnormal.

Solution:
choose dsc pll as dsc clk.

Verify:
T6X

Change-Id: I19017414876ac33601a6793e9a54fedaeb17e7c0
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
(cherry picked from commit ff91423113b6fb002b3b4b5677a95d347c1fbd92)
2025-12-09 17:46:25 -08:00
Evoke Zhang fd6ad6d6b5 lcd: add wait stable logic in vs_intr_en = 3 case [1/1]
PD#SWPL-241791

Problem:
vbyone unlock after resume in dtv channel

Solution:
add wait stable logic in vs_intr_en=3 case

Verify:
bu301

Change-Id: If4245cd0764e5b57c1350d6a6ae288cba30145b5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-12-09 17:46:10 -08:00
qinglin.li 7cd7dbf994 freertos: fix freertos build error [1/1]
PD#SWPL-243407

Problem:
fix freertos build error

Solution:
fix freertos build error

Verify:
local

Change-Id: I3a32d6d76f972087001fcca8d5185fb4895f093f
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-12-09 17:45:48 -08:00
Tao Zeng b526c5a1ef amfc: Add more debug for timeout [1/1]
PD#TV-183724

Problem:
debug message for timeout is not enough

Solution:
Add more print(mainly dump source buffer)

Verify:
local

Change-Id: I746b34e95933ec7c29c5e61fe7bc47606c3eda4c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-12-09 03:15:02 -08:00
yuhua.lin 0f109cfc0b video: modify vpp_ofifo_size to 0x1000 for t6x [1/1]
PD#TV-186293

Problem:
t6x display abnormal after resume

Solution:
modify vpp_ofifo_size for t6x

Verify:
t6x

Change-Id: Ie688634ee9ece613d6bdac29462134085eae6502
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2025-12-08 22:38:38 -08:00