Commit Graph

1357 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
congyang.huang ca28e711e4 drm: add connector_type for meson connector [1/1]
PD#SWPL-246542

Problem:
need add connector_type for meson_tx

Solution:
add connector_type for meson connector

Verify:
S7D

Test:
DRM-OSD-44

Change-Id: I15dd12ecf66fa3a9aba30f448b655f9f7747c012
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2026-02-28 12:27:42 -08:00
zijie.hong fe5f748111 vdin: keystone port based on hwc [1/1]
PD#SWPL-254841

Problem:
For keystone,
the port need to be configured by HWC.

Solution:
modified

Verify:
T6W

Change-Id: I590a1a8ad920a982f665e3cdafd40bc0d014ca1b
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2026-02-27 08:24:18 -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
yaoyu.xu c522a25e48 hdmirx:add dci timing [1/1]
PD#SWPL-254762

Problem:
add dci 2048*1080 timing.

Solution:
add dci 2048*1080 timing.

Verify:
T6X

Change-Id: I143d112dc3cab371dee189c5e80b893f90604ca7
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2026-02-09 03:38:59 -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
qinghui.jiang f2fd69533b amvecm: add ioctl for get signal type [1/1]
PD#SWPL-254608

Problem:
add ioctl for get signal type

Solution:
add ioctl for get signal type

Verify:
t966d5

Change-Id: I111c0da50969f2638ab9248c4e0f431264bf8485
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2026-02-09 00:30:40 -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
Lei Zhang af1fae8672 A4: sync dts from kernel-6.6 [1/1]
PD#SWPL-249140

Problem:
N/A

Solution:
sync dts from kernel-6.6

Verify:
on A4

Change-Id: I985881f433b1b947c99822e51869f5b1150e83f1
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2026-02-05 19:19:59 -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
rong.wang 7e833c5e3d deinterlace: add dim_cfg iocmd [1/1]
PD#SWPL-246419

Problem:
add dim_cfg iocmd

Solution:
add dim_cfg iocmd

Verify:
s7d

Change-Id: I1cdb106cb68149ec28ea942554f6e681bbf68591
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2026-02-02 21:26:30 -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
Jian Hu 1f540248c2 clock: t7c: add upstream scmi clock driver in bl31_1.3 [2/2]
PD#SWPL-134663

Problem:
scmi share memory use SRAM

Solution:
1.porting upstream bl31_2.7 clock driver to bl31_1.3
2.remove the fix clock in Kernel

Verify:
t7

Change-Id: I9989cb8bb901542fbc70f83858b6dc8ed0a06556
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2026-01-30 02:44: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
zhan.wang cea54e3b3f amvecm:add gamut0 ctrl [1/1]
PD#SWPL-252615

Problem:
add gamut0 ctrl

Solution:
add gamut0 ctrl

Verify:
ok

Change-Id: Ia77c0c5834c0e3510437f4a655e721fecd27d1b6
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
2026-01-29 02:39:32 -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
Jinbing Zhu 9af10dc3bb amvecm: add hdr on/off ioctl for 6.12 [1/1]
PD#SWPL-227839

Problem:
add hdr on/off ioctl

Solution:
add hdr on/off ioctl

Verify:
t6d

Change-Id: I85fa1de0af525a2072e72fe52c11c926a7d00d85
Signed-off-by: Jinbing Zhu <jinbing.zhu@amlogic.com>
2026-01-27 23:06:46 -08:00
mingxiu.sun ec9870f325 vdin: Provide the up_layer with the real_mem_size required by vdin [1/1]
PD#SWPL-245310

Problem:
Add an IOC and report the buffer size required by the VDIN

Solution:
Add an IOC and report the buffer size required by the VDIN

Verify:
t6w

Change-Id: If91bcfe8837c9ab4e821193958859c326098d6c0
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2026-01-27 23:06:39 -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
qinghui.jiang c9491679d7 amvecm: osd hdr matrix setting not fit [1/1]
PD#SWPL-252821

Problem:
osd hdr matrix setting not fit for some cases

Solution:
osd hdr matrix setting not fit for some cases

Verify:
t966d5

Change-Id: Iaaa227c5600700e31d7f62a83b26d33ec0c52b53
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2026-01-26 18:14:11 -08:00
Ao Xu acf4f2127e drm: add a9 drm driver support [1/1]
PD#SWPL-245865

Problem:
add a9 drm driver support

Solution:
add a9 drm driver support

Verify:
a9 pxp

Change-Id: I5a56b79eec9f1f8bcae9d44899dfaee76c4a1914
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2026-01-26 18:13:02 -08:00