Commit Graph

1155 Commits

Author SHA1 Message Date
shinys000114 15409271d8 Revert "ODROID: aml_media: support device tree overlay value for ODROID-VU"
This reverts commit 5e0239fbc0.

Change-Id: I70f2ca85afe0d3593c3bb962fcfd5f75ed67dadd
2026-06-02 16:23:26 +09:00
xiane 5e0239fbc0 ODROID: aml_media: support device tree overlay value for ODROID-VU
series.

Change-Id: I0caa787df86c135a1a905993a74a37121ca76ac4
Signed-off-by: xiane <sangch.go@gmail.com>
2026-05-28 10:59:00 +09:00
codewalkerster 04c2d7f611 ODROID: aml_media: Add voutmode module_param.
set hdmi to dvi output.

Change-Id: I106c061adce7e0422e67132dd3f55c45de4339e1
2026-05-28 10:58:57 +09:00
xiane fff5af7c10 ODROID-C5:hdmitx:hdmitx BLANK/UNBLANK notify to vu7c.
Signed-off-by: xiane <sangch.go@gmail.com>
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: Ideb2e6f33add780cc3bbf6257a17cc5bbecbe0ac
2026-05-28 10:58:57 +09:00
Dongjin Kim 381d4fe23b ODROID-COMMON: drm/hdmitx: Add load video modes from userspace
examples)
    "1024x768_60" 65 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
    "1920x1200_59.88" 193.250 1920 2056 2256 2592 1200 1203 1209 1245 -HSync +VSync

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ia69db7180a59f1780d388433860d31aa71c46ac7
2026-05-28 10:58:51 +09:00
nealilia 34e08d8d98 ODROID-C5: add display_vu7c
Change-Id: Id83a9cc487748a49d06977d7ee205c0959f473ff
Signed-off-by: nealilia <neal.kim@hardkernel.com>
2026-05-22 11:29:08 +09:00
shinys000114 400f6a15c5 ODROID-C5: hdmitx: add Vu5 support
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I0ac4ed7e0dc86a128a23fcb1845756a7b8ce1a86
2026-05-22 11:15:33 +09:00
shinys000114 25cb631cc9 ODROID-C5: hdmitx: add Vu12 support
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I2129a728e05814f7845cbde0654911252887b4de
2026-05-22 11:15:19 +09:00
Dongjin Kim f4c46d101d squash! ODROID-C5: gki: disable AMLOGIC_GKI_TOOL and fix compile error
Change-Id: Ie7b2b0fbec1b9751d430784d5e4275360c6e6495
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2026-05-06 11:19:03 +09:00
shinys000114 26f3d9df87 ODROID-C5: gki: disable AMLOGIC_GKI_TOOL and fix compile error
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I1ef1bd80d9aefc4ae7387f9dedb7db91057c406b
2026-04-29 12:11:20 +09:00
shinys000114 74ddbfb0ae ODROID-C5: gpu/arm add mali gpu driver
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I04295995f1f0d3e5d550805e10ab306519af30bb
2026-04-29 12:11:20 +09:00
xiang.wu1 48d01f4a5d hdmitx: meson_tx_connector sync hdmitx_connector stage 1 [1/1]
PD#SWPL-254436

Problem:
Compared to hdmitx_connector, meson_tx_connector lacks
some hdmitx patches.

Solution:
meson_tx_connector sync hdmitx_connector
https://scgit.amlogic.com/#/c/542401/
https://scgit.amlogic.com/#/c/508124/
https://scgit.amlogic.com/#/c/543496/
https://scgit.amlogic.com/#/c/545229/
https://scgit.amlogic.com/#/c/535988/
https://scgit.amlogic.com/#/c/548964/
https://scgit.amlogic.com/#/c/548808/
https://scgit.amlogic.com/#/c/546165/
https://scgit.amlogic.com/#/c/553953/
https://scgit.amlogic.com/#/c/549946/
https://scgit.amlogic.com/#/c/555400/
https://scgit.amlogic.com/#/c/555897/
https://scgit.amlogic.com/#/c/555660/
https://scgit.amlogic.com/#/c/554067/
https://scgit.amlogic.com/#/c/560626/

Verify:
s7d

Change-Id: I35a938161331c60b50eede13e36fc9fba33fd0a2
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2026-03-09 03:31:59 -08:00
hualing chen 8a7fb26888 media_proxy: CB1 add airplay info. [1/1]
PD#TV-203674

Problem:
1 need add airplay statistics info.

Solution:
1 add airplay statistics info.

Verify:
t6x

Change-Id: Ied6540d20240d9715bcde9258e2fba168afecaa4
Signed-off-by: hualing chen <hualing.chen@amlogic.com>
2026-03-05 12:10:32 -08:00
Yongjie Zhu 8dc7543080 uvm: realloc buffer management support multi video [1/1]
PD#SWPL-248087

Problem:
realloc buffer optimization for multi video

Solution:
realloc buffer support muti video,
max 10 muti video

Verify:
s6 16+6.12

Change-Id: I3686695fb93ed37057962db77af5983325529e1f
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2026-03-05 04:29:26 -08:00
Yongjie Zhu baa0521028 uvm: realloc buffer management support single video [1/1]
PD#SWPL-245812

Problem:
realloc buffer optimization for single video

Solution:
realloc buffer pool support single video screencap

Verify:
s6 16+6.12

Change-Id: I18d01234cf2b6fb9dfc10aab679d85452fbedda5
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2026-03-05 04:29:17 -08:00
lele xiang 38b11b3858 codec_mm: CB0 T6X Run some EP cases failed. [1/2]
PD#SWPL-249155

Problem:
T6x dual-path NTS case: memory leads to resman interception

Solution:
1.Add prealloc memory to resman statistics
2.Restore codec_mm size to 428M

Verify:
T6X

Change-Id: I5633001dfec83b3eaa1f936aa7fcaa1f4c607177
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2026-03-05 04:24:59 -08:00
Evoke Zhang aa0f247939 lcd: optimize t6 phy & dphy init flow [2/2]
PD#SWPL-252060

Problem:
need optimize t6 phy init flow

Solution:
optimize t6 phy init flow

Verify:
br301, bu301

Change-Id: I380e000344cb2efc4654bc2922eed791f78c7bf7
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2026-03-04 22:36:52 -08:00
zhenteng.tian eb0e1d5519 dpss: sync eos related function to kernel 6.12. [1/1]
PD#SWPL-254932

Problem:
sync eos related function to kernel 6.12

Solution:
sync eos related function to kernel 6.12

Verify:
T6X

Change-Id: I2591f1056b4d7a2abf2d10507349d9754ba26aad
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2026-03-04 22:36:42 -08:00
wenlong.zhang 967a3f9546 drm: export linear dmabuf to external [1/1]
PD#SWPL-252869

Problem:
for di post, decoder need replace the linear dmabuf, so
drm need export it

Solution:
export linear dmabuf to external by mua_buf

Verify:
t6x

Change-Id: Iee7b1826f7f86865ba1408be464a0177c5d62d62
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2026-03-04 22:36:34 -08:00
qinglin.li 65fe504445 freertos: add flag for release driver [1/1]
PD#SWPL-255069

Problem:
fix freertos ipi num error
automotive need rtos continue running after
android booted, but camera driver need release

Solution:
add rtos_run_flag: eRtosStat_release_driver

Verify:
local

Change-Id: I9af2804bb8a8651731f463e0dc0e7cdbc24aa64d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2026-03-03 23:18:48 -08:00
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