Commit Graph

1135 Commits

Author SHA1 Message Date
zijie.hong 9f45980ce5 vdin: loopback rgba8888 for drm [1/1]
PD#SWPL-253422

Problem:
For drm-vdin loopback,
VDIN needs to add RGBA8888 format support.

Solution:
modified

Verify:
t6w

Change-Id: I5b3f0c69aa30f7868fcb2e8cba27f83921840cf6
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2026-03-02 02:23:55 -08:00
ruofei.zhao d3cfd9dde0 hdmitx: solve the problem of no display on cvbs without an hdmi cable connected [1/1]
PD#SWPL-255832

Problem:
no display when connected to cvbs without hdmi cable

Solution:
solve the problem of no display on cvbs without an hdmi cable connected

Verify:
AP222-S905Y4

Test:
DRM-TX-78

Change-Id: I65af1a39bfbc14228bf0a1eb669c1a63bee92939
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2026-02-25 17:36:03 -08:00
donghui.wang 3a68f90a96 ldim: set ldc en off when power off [1/1]
PD#SWPL-255496

Problem:
cause ldc mif error

Solution:
ldc en off when pwroff

Verify:
t6x

Change-Id: I1f5d7720ddef372562f9d51d47447ae36fc49ee8
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2026-02-25 17:35:48 -08:00
qinghui.jiang 42f5a0bbb7 amvecm: add more flow for 3dlut [1/1]
PD#SWPL-252067

Problem:
add more flow for 3dlut

Solution:
add more flow for 3dlut

Verify:
t966d5

Change-Id: I6935c0ebf092370c1d3e7e96415c3eb2e67aca96
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2026-02-25 17:35:35 -08:00
Jian Cao ddf9c8778c vpp: add frc mute support [1/1]
PD#SWPL-252662

Problem:
need to add frc mute support

Solution:
add this

Verify:
t6x

Change-Id: I721ab9ec12bdfc01e6d9fe53f4527ca3cb43be1e
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2026-02-14 13:19:08 -08:00
Wenjie Qiao 84ff88d7e4 hdmitx: dptx hdcp porting [1/1]
PD#SWPL-252082

Problem:
dptx need support hdcp

Solution:
support dptx hdcp

Verify:
a9/s7d

Test:
DRM-TX-

Change-Id: I14a29b25003487d5dd8a018470bc46df99dd557d
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2026-02-12 00:05:30 -08:00
xiang.wu1 b16336ecc9 dptx/hdmitx: optimize connector_type [1/1]
PD#SWPL-252467

Problem:
1.When binding DRM to hdmitx/dptx/edp, pass the correct
connector_type according to the connector connection configuration.
2.hdmitx/edptx/dptx assigns the corresponding connector_type to
vout_server based on the correct hardware configuration information.

Solution:
1.Create a new connector type for dptx/edptx, distinct
from the dptx/edptx connector type used by the panel.
2.The venc_idx used by dptx/edptx needs to be configured on
DTS, and will be obtained from DTS during probe.
3.The connector_type passed from dptx/edptx/hdmitx to
drm and vout must have the same value.

Verify:
S7D

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: Id7af2d012b96a6175a45d86bac0f1b572cc3b75f
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2026-02-11 19:28:55 -08:00
dongfei.li eea799eabc dpss_frc: add api for 16 [1/1]
PD#SWPL-249112

Problem:
add new api for vpq call

Solution:
add new api for vpq call

Verify:
T6X

Change-Id: Id1e71b52c9b04bfeb40892dd2f754e8c2a6cfe4e
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2026-02-11 01:44:41 -08:00
ruofei.zhao afe261383e hdmitx: add scan info policy [2/2]
PD#SWPL-247905

Problem:
scan info requires a control strategy

Solution:
add scan info policy

Verify:
BM201-S905X5M

Test:
DRM-TX-78

Change-Id: I6d72937304c6bdafe1364cdb923d223e3bfb6cd4
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2026-02-11 01:44:12 -08:00
Pengcheng Chen dc0461a0f5 vpu: fix vpu support dynamic sideband [1/1]
PD#SWPL-248379

Problem:
fix vpu support dynamic sideband

Solution:
fix vpu support dynamic sideband

Verify:
t6x

Change-Id: Ia3c421e3487b723fe0a5348c509b8ed9b0fc3207
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2026-02-10 19:23:08 -08:00
zijie.lin 20b23f7082 ldim: change the interrupt source to line_n [1/1]
PD#SWPL-254560

Problem:
spi tx buf concurrency issues

Solution:
change the interrupt source to ldc line_n

Verify:
t6x

Change-Id: Ifd80a17116fd3e8f7ee9eb2e9afc49c127c1884f
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2026-02-10 12:37:32 -08:00
Jianxiong Pan 2e5056b904 cma: add aml_compact_alloc api. [1/1]
PD#SWPL-252391

Problem:
provide CMA compaction APIs to satisfy driver requirements.

Solution:
add aml_compact_alloc function.

Verify:
local.

Change-Id: Iec4c524d3791315cf9e0b13e2db50983b9829224
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2026-02-09 00:33:01 -08:00
Hao Shi 66b79664f1 codec_mm: modify codec_mm_state fs [1/1]
PD#SWPL-249601

Problem:
Debugfs is disabled in kernel6.12.

Solution:
Use miscdevice instead.

Verify:
SC2

Change-Id: I53e67f0bfe7292704a177cca4604f470df042558
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2026-02-09 00:30:46 -08:00
Feng Chen d120599f76 spicc: ldim dma_trig needs check spi xfer states [1/1]
PD#SWPL-253584

Problem:
spi xfer buf will be destroy by ldim driver.

Solution:
add a check spi xfer states interface.

Verify:
T6X

Change-Id: I2da278f87088fca6cc3a040c814e9b5ebeec8c36
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2026-02-08 23:16:52 -08:00
zhan.wang b5495c02f2 amvecm: Optimize dnlp alg ko [3/3]
PD#SWPL-253868

Problem:
Optimize dnlp alg ko

Solution:
Optimize dnlp alg ko

Verify:
ok

Change-Id: I728214bdda2fd5803c8c8ec50e0f2ec12236832e
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
2026-02-08 19:34:00 -08:00
hang.cheng a5067c5224 dptx: add protection for abnormal mode set case [1/1]
PD#SWPL-253283

Problem:
1.need to continue mode setting if link training
fail under pxp mode
2.need to update link training param if force
link rate/lane count is used
3.eDP + VENC1 path is not enabled
4.there's no link training retry mechanism
5.there may be no venc clk if there's hotplug out
during  mode set

Solution:
1.ignore link training fail under pxp mode
2.update link training HW link rate/lane count even
if link training fail for PXP mode, update HW format
param if link training pass
3.add VENC1->eDPtx path config
sync https://scgit.amlogic.com/#/c/614715/3
sync https://scgit.amlogic.com/#/c/607554/2
4.add link training retry mechanism for debug purpose
5.if there's hotplug out during mode set, still set
venc clk for vsync, skip core & phy setting

Verify:
A9

Test:
1.DRM-TX-37
2.DRM-DPTX-16

Change-Id: I4333da212045a8c576c2433bf5b030d787a2302a
Signed-off-by: hang.cheng <hang.cheng@amlogic.com>
2026-02-05 22:43:09 -08:00
Yao Jie 9d29a9fb26 mailbox: optimize mailbox driver log print [1/1]
PD#SWPL-254115

Problem:
mailbox driver log level optimization

Solution:
mailbox driver log level optimization

Verify:
T6W-BS311

Change-Id: Ia740cfcbb3e23fb51813f2330e4cba8be9cd829e
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2026-02-05 19:20:08 -08:00
Evoke Zhang a4663332fc lcd: add scanning time info [1/1]
PD#SWPL-253604

Problem:
need support lcd scanning time info

Solution:
add lcd scanning time info

Verify:
bu301

Change-Id: Icfb7797d7bafd9bab51724315aec9bf37cbb0e50
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2026-02-05 05:22:44 -08:00
Qingpeng Yang e978a2d478 eth: sync optimise stmmac code [4/5]
PD#SWPL-253891

Problem:
Preparing for dual MAC.

Solution:
Optimise stmmac code.

Verify:
T6X/BU301

Change-Id: Ifcc59cf4eebf6f4ccc356280ac827d00bbfa9b5d
Signed-off-by: Qingpeng Yang <qingpeng.yang@amlogic.com>
2026-02-05 03:04:58 -08:00
Qingpeng Yang 263305e778 eth: sync optimise amlogic-mdio-g12a code [3/5]
PD#SWPL-253891

Problem:
Preparing for dual MAC.

Solution:
Optimise amlogic-mdio-g12a code.

Verify:
T6X/BU301

Change-Id: Ic8afe757d5b8675bf90bf55dd91d052737cb82a2
Signed-off-by: Qingpeng Yang <qingpeng.yang@amlogic.com>
2026-02-05 03:04:47 -08:00
Qingpeng Yang 7277a2acce eth: sync optimise amlogic-inphy code [2/5]
PD#SWPL-253891

Problem:
Preparing for dual MAC.

Solution:
Optimise amlogic-inphy code.

Verify:
T6X/BU301

Change-Id: Ia6ead255a89b47d0153acb1cb5fc5cb8869edd6b
Signed-off-by: Qingpeng Yang <qingpeng.yang@amlogic.com>
2026-02-05 03:04:39 -08:00
Qingpeng Yang 172b18f057 eth: sync optimise aml_phy_debug code [1/5]
PD#SWPL-253891

Problem:
Preparing for dual MAC.

Solution:
Optimise aml_phy_debug code.

Verify:
T6X/BU301

Change-Id: I72087ff2aaa72f9392d3d47f8308ce067863fa86
Signed-off-by: Qingpeng Yang <qingpeng.yang@amlogic.com>
2026-02-05 03:04:25 -08:00
zongdong.jiao 2b1f7e0523 hdmitx: clean up tx20/tx21 global_tx_hw [1/1]
PD#SWPL-206199

Problem:
Clean up tx20/tx21 global_tx_hw

Solution:
Clean up tx20/tx21 global_tx_hw

Verify:
ross

Test:
DRM-TX-38

Change-Id: I1a29b7a66eea0d436e17291572f8177491b85381
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2026-02-04 20:33:33 -08:00
Tao Zeng 1187374af1 amfc: add dma copy test tool [1/1]
PD#SWPL-254603

Problem:
No amfc dma copy function

Solution:
add dma copy and bandwidth test tool

Verify:
T6X

Change-Id: I3bd507cf9b5966b6690d0b61e2090262b1910fb3
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2026-02-02 21:28:36 -08:00
xiang.wu1 8f876cf511 hdmitx: hdmitx_drv remove references to chip_type [1/1]
PD#SWPL-206200

Problem:
hdmitx_drv.c is common to both hdmitx20 and 21,
and should not contain any chip_type related checks.

Solution:
remove references to chip_type

Verify:
S7D

Change-Id: I001f5a4e297417e124b48ad0d03798ebde884aef
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2026-02-01 02:24:11 -08:00
congyang.huang d823c0b5bd drm: implement connector features for HPD, test attr ioctl, and sequence_id [1/1]
PD#SWPL-237244
PD#SWPL-244011
PD#SWPL-240725

Problem:
1.missing testattr ioctl implementation in the meson connector.
2.HPD uevent is not reported via DRM in the meson connector.
3.the sequence_id function is not implemented in the meson connector.

Solution:
implement the following three features in the meson connector:
1.add testattr ioctl support.
2.report HPD uevent through the DRM subsystem.
3.implement the sequence_id function.

Verify:
s7d

Test:
DRM-OSD-46

Change-Id: I48c548f8e3dfa03d6c36869e76a38f82bcd3497c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2026-01-31 11:12:50 -08:00
zijie.lin 6b23354e6d bl: support 4 channel pwm [1/1]
PD#SWPL-243839

Problem:
support 4 channel pwm

Solution:
support 4 channel pwm

Verify:
t5m

Change-Id: Ibcfae0fc82ae8960433c8cf270aeaf6549e0f6b2
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2026-01-31 03:09:15 -08:00
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