Commit Graph

1108 Commits

Author SHA1 Message Date
qiyao.zhou afdac7f9b4 video: add video pipe adapter module. [1/1]
PD#SWPL-248237

Problem:
Add a new dev to communicate with user space.

Solution:
Add video pipe adapter module.

Verify:
t6x

Change-Id: I762841598edfd77410b97bc01bfabc7acc80f04f
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2026-01-29 20:18:00 -08:00
chenyang.liu 922479cb4b lcd: fix lcd bist error [1/1]
PD#SWPL-253249

Problem:
vmode_switch set to 1 after init mode set

Solution:
set vmode_switch to 0 after clk gate switch

Verify:
bu301

Change-Id: Ib4889d159a7f854d1495c87e6c076efbcece8d7d
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2026-01-29 20:17:49 -08:00
zhou.han 005740b59a hdmitx: Fix viu_mux return value for unsupported modes [1/1]
PD#SWPL-246415

Problem:
HDMITX and CVBS are bound to the same crtc. When configuring CVBS mode,
the system first checks if the 576cvbs mode is supported by hdmitx,
then verifies support in cvbs. HDMITX detects that 576cvbs is unsupported
and sets meson_crtc_state->viu_mux to 0. CVBS also uses this value,
resulting in vsync loss. This occurs because CVBS's clock source is enci,
requiring viu_mux to be configured as 1.

Solution:
When hdmitx_get_viu_mux determines that the current mode is not supported,
it should return VIU_MUX_INVALID instead of 0.Then, when cvbs configures
viu_mux, it will process based on the value in vinfo.

Verify:
s7d+t7c

Change-Id: I4bb1438c1cbdea9ac2b60b59d637de72a5b27bf6
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2026-01-29 20:17:37 -08:00
chen.xu 0c074737e1 dpss_process: dpss output vf use another flag to indicate it contains a dec vf [1/1]
PD#SWPL-244071

Problem:
dpss output vf use another flag to indicate it contains a dec vf

Solution:
support

Verify:
T6X

Change-Id: Icce265bd6bb4fb34bad866aad65cf56dffc18965
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2026-01-29 02:39:39 -08:00
lukang.jia 3b90cc4617 dpss: frc notifies vpp to enable MC link [1/1]
PD#SWPL-253557

Problem:
In AMplayer loop playback, MC link is not enabled on the second play.

Solution:
frc notifies vpp to enable MC link

Verify:
T6X

Change-Id: I5648eec4027b17aa015f5099ae7528a6fd6f1de7
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2026-01-29 02:39:22 -08:00
Huijuan Xiao 117059a216 hdr: fix cuva setting for [1/1]
PD#SWPL-214226

Problem:
fix cuva setting for old chip

Solution:
fix cuva setting for old chip

Verify:
s7d

Change-Id: I0b41bc974cdb9977f47042991f5adf82e21581d9
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2026-01-27 22:58:38 -08:00
Wanwei Jiang 64deb986c0 bandwidth: no inside-device priority tuning by default [1/1]
PD#SWPL-252566

Problem:
after the system boots up, accessing the priority
registers inside the device may cause a panic

Solution:
1. no inside-device priority tuning by default
2. enable/disable priority access for inside devices
such as:
echo vpu p 1 > priority
echo vpu p 0 > priority

Verify:
local

Change-Id: I50a69883af89216a32a689d09c88f15181c4305e
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2026-01-27 01:07:20 -08:00
donghui.wang f1be1629f7 ldim: modify ldim_fw_s ver5 [1/1]
PD#SWPL-249236

Problem:
new feature

Solution:
add ext_hist support

Verify:
t6x

Change-Id: Ic4ad8a1bfec5734afc59d2a042f21aa614c678a0
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2026-01-26 20:32:58 -08:00
gerrit autosubmit 99e3454224 Merge "DEBUG: add arm alive check driver [5/5]" into amlogic-6.12-dev 2026-01-26 20:32:10 -08:00
mingxiu.sun 08abf730a5 vdin: add game_frc ioc [1/1]
PD#SWPL-234828

Problem:
add game_frc config

Solution:
add game_frc config

Verify:
t6x

Change-Id: I168d98e15b058425e664b765923847f242f40ad7
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2026-01-26 18:15:13 -08:00
qinghui.jiang 2dfc5ed922 amvecm: osd pq update not fit [1/1]
PD#SWPL-252261

Problem:
osd pq update not fit.

Solution:
modify matrix update flow.

Verify:
t966d5

Change-Id: Ic1ac4465f3033f87d2b273dc50e468a466f71e74
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2026-01-26 18:15:06 -08:00
Xiangyu Cai 58ad465fa6 vrr: check input when vrr signal [1/1]
PD#SWPL-252224

Problem:
vrr signal not updata

Solution:
update vrr signal

Verify:
t6x

Change-Id: I6437f9f50f5a2f929931ae64f20260d6f989a3ae
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2026-01-23 00:30:06 -08:00
Wanwei Jiang 9d7b5b155f bandwidth: priority version 2 [1/1]
PD#SWPL-247872

Problem:
On the T6X board, priorities at all levels can be displayed and configured

Solution:
1. display all levels priorities;
2. configure dmc and device priorities;
3. the priority configuration inside the device requires module owner
support, and it will be gradually improved in the future

Verify:
t6x

Change-Id: Iff7c11ac00b2e359544146b5a73c8080832d3920
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2026-01-22 22:31:53 -08:00
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
bangzheng.liu dab347d8cc DEBUG: add arm alive check driver [5/5]
PD#SWPL-243334

Problem:
N/A

Solution:
add arm alive check driver

Verify:
on T6x

Change-Id: If8587ebceffe3aae30bb1cd4b98a1621c2975ca3
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2026-01-20 19:28:42 -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