Commit Graph

1069 Commits

Author SHA1 Message Date
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
Jihong Sui 3db1cf87ae dpss: fix hdr_dd stuck [1/1]
PD#SWPL-244194

Problem:
dpss stuck

Solution:
1. add update hdr path;
2. add new frame trig;

Verify:
T6W

Change-Id: Id11d11b69af2f69ae338de1b0ef0cb4eab3fecaf
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2025-12-18 01:20:35 -08:00
lukang.jia 99d04263dc dpss: sync code from 5.15 to 6.12 [1/1]
PD#SWPL-245970

Problem:
sync code from 5.15 to 6.12

Solution:
sync code from 5.15 to 6.12
574821
610996
615838
616810

Verify:
T6X

Change-Id: I8f2c55ba78d3bb6cb0ea4ea2f4ea37c31875ba19
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2025-12-16 06:20:51 -08:00
jie.dai 3926a54a00 lcd: tcon vrr vdf bringup [2/2]
PD#SWPL-237149

Problem:
need support vrr vdf function

Solution:
add vrr vdf driver

Verify:
t6x

Change-Id: Id7657cda14086d1bc391cb03f61c7844a7c46e52
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-15 06:39:44 -08:00
qinghui.jiang 88e46bb42d amvecm: sync code from 5.15 to 6.12 [1/1]
PD#SWPL-237898

Problem:
sync code from 5.15 to 6.12

Solution:
sync code from 5.15 to 6.12

Verify:
t966d5

Change-Id: If5587692616b04786c1c8d9b843a76b4224a5d81
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2025-12-15 06:39:35 -08:00
chenyang.liu 958a5593da lcd: fix vbyone hpd bit for t6x and t3x [2/2]
PD#SWPL-245659

Problem:
hpd bit is bit 16 on t6x and t3x, not bit 6

Solution:
read bit 17 for hpd status on t6x and t3x

Verify:
bu301

Change-Id: Icce40a337aa9c42af48eefab9cab051259df3150
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2025-12-15 03:35:35 -08:00
hang.cheng f75a8be203 hdmitx: set avi picture ar match with vic [1/2]
PD#SWPL-244363

Problem:
Per CTA-861 spec, the AVI M field shall match
the Picture Aspect Ratio associated with the
current Video Format VIC

Solution:
1.for VIC with 4x3 picture aspect ratio, set
AVI M filed as 4x3,
2.for modes which picture aspect ratio not
in 4:3, 16:9, 64:27, 256:135(VESA modes),
set AVI M filed as No Data
3.for VIC with 16x9 or 256x135 picture aspect ratio,
as there's no valid M value for 64:27, 256:135,
keep M filed as default 16x9 as previously did

Verify:
S7D

Test:
DRM-TX-155

Change-Id: I56439bfc0130e5741f4e40983de418859e1c470d
Signed-off-by: hang.cheng <hang.cheng@amlogic.com>
2025-12-15 03:34:47 -08:00
Jian Cao 3de155fcce vpp: add hlg plus in src_map [1/1]
PD#SWPL-237423

Problem:
add hlg plus in src_map

Solution:
add hlg plus in src_map

Verify:
t6x

Change-Id: I940e94a0bef50c15be81af5ac4a8653c7059f17c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-12-12 08:24:41 -08:00
Evoke Zhang ac989e7f93 STR: speed up bl & video resume [1/1]
PD#SWPL-243818

Problem:
str show logo need video & video resume early

Solution:
base on https://scgit.amlogic.com/#/c/583611/
use resume_type=0x3 & pm_ops to resume video_late_resume

Verify:
T6X

Change-Id: Icbb8e577b99a279279c4fe4aec7aa8366e225297
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-12-12 08:24:11 -08:00
hai.cao fdea4f6bd5 video: optimize video mute node info [1/1]
PD#SWPL-245593

Problem:
optimize video mute node info

Solution:
optimize video mute node info

Verify:
t6w

Change-Id: Ied0db53001a889cdf17eecb801fcf5618c561f63
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-12-11 20:44:26 -08:00
lele xiang fc71181a2f codec_mm: CF2 16KB Support. [1/2]
PD#SWPL-230463

Problem:
16KB Support

Solution:
Provides a function to convert memory addresses
from 16KB pages to 4KB pages.

Verify:
T7C

Change-Id: I990912f4146d2d70777a8531cf165da5a23210c1
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2025-12-11 04:22:57 -08:00
Zhongfu Luo 8373498e1f efuse: export symbol for efuse api [1/1]
PD#SWPL-241782

Problem:
need to support efuse api for more module

Solution:
changed efuse api to EXPORT_SYMBOL

Verify:
T6X

Change-Id: I4e60ca50e04b226d5336c9eef367b83f7025c1c3
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2025-12-10 00:27:42 -08:00
Evoke Zhang fd6ad6d6b5 lcd: add wait stable logic in vs_intr_en = 3 case [1/1]
PD#SWPL-241791

Problem:
vbyone unlock after resume in dtv channel

Solution:
add wait stable logic in vs_intr_en=3 case

Verify:
bu301

Change-Id: If4245cd0764e5b57c1350d6a6ae288cba30145b5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-12-09 17:46:10 -08:00
qinglin.li 7cd7dbf994 freertos: fix freertos build error [1/1]
PD#SWPL-243407

Problem:
fix freertos build error

Solution:
fix freertos build error

Verify:
local

Change-Id: I3a32d6d76f972087001fcca8d5185fb4895f093f
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-12-09 17:45:48 -08:00
Tao Zeng b526c5a1ef amfc: Add more debug for timeout [1/1]
PD#TV-183724

Problem:
debug message for timeout is not enough

Solution:
Add more print(mainly dump source buffer)

Verify:
local

Change-Id: I746b34e95933ec7c29c5e61fe7bc47606c3eda4c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-12-09 03:15:02 -08:00
yuhua.lin 0f109cfc0b video: modify vpp_ofifo_size to 0x1000 for t6x [1/1]
PD#TV-186293

Problem:
t6x display abnormal after resume

Solution:
modify vpp_ofifo_size for t6x

Verify:
t6x

Change-Id: Ie688634ee9ece613d6bdac29462134085eae6502
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2025-12-08 22:38:38 -08:00
haitao.liu 6fc9dedc49 vdin: Flickers when switching to non-game mode [1/1]
PD#SWPL-237423

Problem:
In game mode,the one buffer method is used,When switching to
a non-game mode,the data on the VPP side gets updated immediately,
but the type has not been updated yet,which leads to abnormal display

Solution:
Do not update the one buffer memory until a new frame has been send to VPP

Verify:
t6x

Change-Id: I299b1e2bf38400270735ce60dbd9198460c6a53f
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2025-12-05 06:39:24 -08:00
jialong.jiang a7552e4c63 amdv: solve the problem of redefinition[1/1]
PD#SWPL-234966
PD#SWPL-234967

Problem:
solve the problem of redefinition

Solution:
solve the problem of redefinition

Verify:
ott/tv

Change-Id: I297be7e464d1670b7ea0612cc5a765a5e83c69fb
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2025-12-03 21:59:20 -08:00
benlong.zhou 2d120bb920 kernel: read boot log same as kernel5.15 [1/1]
PD#SWPL-237927

Problem:
kernel can't get boot log

Solution:
kernel get boot log that they are blx's log
same as below CL
https://scgit.amlogic.com/#/c/527327/
https://scgit.amlogic.com/#/c/568160/
https://scgit.amlogic.com/#/c/580089/

Verify:
s7d_bm201

Change-Id: I786569565b2b5effde66d620e3b9b014ec6f8a2c
Signed-off-by: benlong.zhou <benlong.zhou@amlogic.com>
2025-12-03 21:58:50 -08:00
rong.wang 537d27147b dpss: sync code from 5.15 V2 [1/1]
PD#SWPL-241252

Problem:
dpss sync code from 5.15

Solution:
latest:bcda4c40b0469d6c9431d56dceec5c0f7ce62284

Verify:
T6W/t6x

Change-Id: Ic301846667d0273a660e9a1f3cb91a1cb9bd6542
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-12-03 01:00:41 -08:00
qiyao.zhou ebd18ac35b dpss_process: sync code drom 5.15 to 6.12. [1/1]
PD#SWPL-241252

Problem:
dpss sync code from 5.15

Solution:
end id:Iad12955e8cf4a81737ab669a9b788809fde40e38

Change-Id: I456a05a29df752c33229748003cd04aa0ba89c94
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2025-12-03 01:00:36 -08:00
Jian Cao bb8c948bd9 dpss_frc: export the FRC interfaces [1/1]
PD#SWPL-230657

Problem:
need to export the FRC interfaces

Solution:
implement it

Verify:
T6X

Change-Id: Icecab799ac9ae2b1e3062be332165bfc660cfd79
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-11-26 08:08:12 -08:00
Deyong Chen a3b9b2d4a7 vpq: implement dev/vpq in K6.12 [1/1]
PD#SWPL-236514

Problem:
sync dev/vpq from K5.15 to K6.12,
develop logic between videodisplay wth vpq,
add dlby logic,
add dpss case bin logic,
add non-standard timing logic,
optimized vpq code,

Solution:
--

Verify:
T6W

Change-Id: Ie17c70ff58b2ab5ccb013f91344da7ef5e3f4028
Signed-off-by: Deyong Chen <deyong.chen@amlogic.com>
2025-11-26 08:07:17 -08:00
Pengcheng Chen 961e087056 lut_dma: fix DMA_RD DMC SEC READ CHECK ERROR [1/1]
PD#SWPL-239061

Problem:
fix DMA_RD DMC SEC READ CHECK ERROR

Solution:
1. change lut_dma reg from vcbus to rdma write
2. video disable need fgrain_stop
3. fgrain_stop need lut_dma_disable

Verify:
T6d

Change-Id: Ibda7e4e5088d4d8efb4ba556accbec0c1c059e15
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2025-11-25 19:18:33 -08:00
donghui.wang 968bd5aa7b ldim: modify level index to 256 [1/1]
PD#SWPL-241727

Problem:
16 level index not enough

Solution:
support 256 level index

Verify:
t6x

Change-Id: I4d161bc780fdb1130b74bbf78314ee444bcefead
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2025-11-25 13:02:26 -08:00
lizhi.hu e3daf28d63 lcd: dsi_update for tablet [1/1]
PD#SWPL-239629

Problem:
support dsi panel suspend and resume for tablet

Solution:
add

Verify:
s6

Change-Id: Ief9ce2d7738e9d02213ff198b21d5396eb36ee9a
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-11-25 01:24:43 -08:00