Commit Graph

1094 Commits

Author SHA1 Message Date
Pengcheng Chen 4fbf58c98e vpp: used pre frame when frc phase0 and input size changed [2/2]
PD#SWPL-252854

Problem:
used pre frame when frc phase0 and input size changed

Solution:
used pre frame when frc phase0 and input size changed

Verify:
t6x

Change-Id: I834fe123a22d589741f2e50bb15883c387bfb35d
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2026-01-21 19:15:54 -08:00
lukang.jia 8a3099e126 dpss: frc use rdma [1/2]
PD#SWPL-252854

Problem:
missed interrupt causes screen flicker

Solution:
frc use rdma

Verify:
T6X

Change-Id: I6b60e26cc6d3b693bbec7492cab48d02acda488a
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
(cherry picked from commit bc1d4aad4a93e5e2437d34bfe31c3a964bb4392b)
2026-01-21 19:15:48 -08:00
chenyang.liu 86478661a1 lcd: add custom pinmux function to backlight and ldim_dev [2/2]
PD#SWPL-246694

Problem:
add custom pinmux function to backlight and ldim_dev

Solution:
add custom pinmux function to backlight and ldim_dev

Verify:
br301

Change-Id: I755b8cc17d3197f2856e4ffeeb9f58b82a31e085
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2026-01-21 00:16:39 -08:00
lizhi.hu 0dfa806805 lcd: change vmode match method [1/1]
PD#SWPL-248097

Problem:
err vmode name strcmp

Solution:
replace strcmp with vmode str parse

Verify:
t6x_bc301

Change-Id: I2a45317d0a5987cbfda3bce158ec4891a1dfb59e
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2026-01-20 11:17:52 -08:00
Hao Shi b284279b4d codec_mm: add inval cache interface [1/2]
PD#SWPL-243160

Problem:
Add codec_mm inval cache interface.

Solution:
Add codec_mm inval cache interface.

Verify:
T6W

Change-Id: I62e9d9f00ccf9c68158046c684b695c66dcff1e3
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2026-01-20 04:27:34 -08:00
lele.xiang b79c269b10 codec_mm: CF1 Collect memory usage statistics per decoder instance. [1/2]
PD#SWPL-225723

Problem:
Collect memory usage statistics per decoder instance.

Solution:
Add an instance-based codec_mm memory management module.

Verify:
ah212

Change-Id: Ia715e2adad2d40769682a369a4ec099f5cccd211
Signed-off-by: lele.xiang <lele.xiang@amlogic.com>
2026-01-20 03:30:30 -08:00
Yan Fang1 7b6b532477 lcd: fix bl & lcd power on when rtc trigger & resume_type=0x3 [1/1]
PD#SWPL-248452

Problem:
lcd late_resume run when resume_type=0x3

Solution:
filter rtc_wakeup & undefined_wakeup

Verify:
T6x

Change-Id: I514485cfa1e53352b1e12a3887951e903d337f51
Signed-off-by: Yan Fang1 <yan.fang1@amlogic.com>
2026-01-19 22:22:03 -08:00
chen.xu 78ee32b66e amlvideo2: support secure capture [1/1]
PD#SWPL-243627

Problem:
need support secure capture

Solution:
support

Verify:
T6X

Change-Id: I5c453508c3eca0045581c2d11ab3c0599e9df263
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2026-01-19 22:21:57 -08:00
jinbiao a5eeb9e817 mmc: fix coverity error. [1/1]
PD#SWPL-248427

Problem:
Unintentional integer overflow.

Solution:
Fix coverity error.

Verify:
S7

Change-Id: Id45152e433033f584f185286e6f9fddc2afcce90
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
2026-01-19 01:16:06 -08:00
joy.rao e98c7ca1ac resman: CF1 optimization for accurate memory estimation [1/1]
PD#SWPL-214607

Problem:
accurate memory estimation is required based on video and
scene information

Solution:
1. record video and scene information
2. call module api such as Vdec and DI to obtain memory estimation value
3. print debug information when resources are insufficient

Verify:
T6X

Change-Id: I3c6d587d326b22161d064d98dd3b44df6a587623
Signed-off-by: joy.rao <joy.rao@amlogic.com>
2026-01-17 23:11:26 -08:00
zhan.wang b3c361b049 amvecm: optimize hdr process for dpss [1/1]
PD#SWPL-252240

Problem:
move gamut && postcsc to vsync

Solution:
move gamut && postcsc to vsync

Verify:
ok

Change-Id: Idc40779aed3dceeab505ddc64752b3b7458fa9ab
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
2026-01-17 13:23:03 -08:00
zongdong.jiao f23f3a4d27 dptx: add MST reg copy and compare [1/1]
PD#SWPL-252217

Problem:
Add some DPTx/MST basic HW operation

Solution:
Add some DPTx/MST basic HW operation

Verify:
s7d

Change-Id: Ib23b988591a68e9536addfd8a3274d04d5636460
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2026-01-17 13:22:25 -08:00
Sunny Luo 1c7898f1ca spicc: split spi transfer to enhance the transmission efficiency [1/1]
PD#SWPL-240228

Problem:
PIO is applied for spi transfer of 8/16/32 bits_per_word, which is too
inefficient for long data.

Solution:
Split a spi transfer into one dma transfer and a pio transfer, and maintain
the validity of bits_per_word and big/little endian if possible.

Verify:
T5M AY301, SM1

Change-Id: I66b4777dbab521ee9951f3c75309195f2a4b4118
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2026-01-17 13:21:49 -08:00
biao.sun 067cdfeebd gki_10: kernel6.12 support gki_10 [1/1]
PD#SWPL-251715

Problem:
kernel6.12 need support gki_10

Solution:
pagetrace and amfc

Verify:
s4

Change-Id: Ia31cdd91f12a07dd8ad7a67fda1584a5cbceef75
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2026-01-16 19:08:06 -08:00
Evoke Zhang 577c32a79d lcd: debug lcd vsync handler time cost [1/1]
PD#SWPL-252078

Problem:
need debug lcd vsync handler time

Solution:
add lcd vsync handler time debug function

Verify:
bu301

Change-Id: Ic422cc067fd5cba608a9fd9aed8c4f1d2a9072da
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2026-01-15 08:37:40 -08:00
chen.xu bd3f73a36b dpss: width/height round up 2/4 [1/1]
PD#SWPL-249897

Problem:
width/height round up 2/4

Solution:
width/height round up 2/4

Verify:
T6x

Change-Id: Ibea1c27745aa1aafeb45fbef36e378f4ab9dafa5
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2026-01-15 02:40:57 -08:00
joy.rao 275d0ea907 buf_mgr: get di_backend mem for resman. [1/1]
PD#SWPL-240084

Problem:
need get di_backend mem for resman

Solution:
get di_backend mem for resman

Verify:
T6X

Change-Id: I48d71db6c35e301b849c4e1d4232f37478eab563
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
Signed-off-by: joy.rao <joy.rao@amlogic.com>
2026-01-15 01:03:02 -08:00
haibin.jiang 15233c601f codec_mm: CF2 provide an external interface of codec_mm_dbuf_walk. [1/1]
PD#SWPL-239364

Problem:
The codec_mm_dbuf_walk function needs to be wrapper and provide an
external interface

Solution:
Add external function codec_mm_dbuf_walk_external.

Verify:
ohm

Change-Id: If63bceaec5aa42ebd2b1e2e1fd51c7f6c7057958
Signed-off-by: haibin.jiang <haibin.jiang@amlogic.com>
2026-01-12 22:27:19 -08:00
zhenteng.tian 3f6d7dcb69 vd: sync frame-drop protection logic to videodisplay. [1/1]
PD#SWPL-243803

Problem:
sync frame-drop protection logic to videodisplay

Verify:
sync frame-drop protection logic to videodisplay

Verify:
T6X

Change-Id: Iaf59b75178f902bced17f7bc4d3e4aa2dcdc6192
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2026-01-12 08:33:08 -08:00
Evoke Zhang 03990bfab1 lcd: optimize vx1 clk monitor [1/1]
PD#SWPL-240727

Problem:
vx1 clk monitor timer can't sleep

Solution:
change timer to delayed_work

Verify:
bu301

Change-Id: Ief7fc39290095343a742a1e64f40d56945b34d2c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2026-01-12 08:32:48 -08:00
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
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
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