Commit Graph

1252 Commits

Author SHA1 Message Date
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
can.zhang bd994720b9 amdv: Set parameters to adjust PD effect [1/1]
PD#SWPL-241687

Problem:
amdv pd effect need adjust

Solution:
add parameters interface

Verify:
Verified on t6x/w

Change-Id: I7137faa936637bd68ca4c9a1d5432f4e670f2d3e
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-12-12 08:24:21 -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
yaoyu.xu aff4c40127 dsc dec: choose dsc pll as dsc clk [1/1]
PD#SWPL-239956

Problem:
vpu clk div 2 unnormal.

Solution:
choose dsc pll as dsc clk.

Verify:
T6X

Change-Id: I19017414876ac33601a6793e9a54fedaeb17e7c0
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
(cherry picked from commit ff91423113b6fb002b3b4b5677a95d347c1fbd92)
2025-12-09 17:46:25 -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
zhikui.cui 698ed08c1c NAND: get bl2 copies number and pages per copy from cmdline [2/2]
PD#SWPL-237737

Problem:
Unified retrieval of bl2 copies number and pages per copy from cmdline

Solution:
v2019 bl2 related information transmitted from cmdline boot_layout variable
to kernel like v2023, then get bl2 information from boot_layout in kernel.

Verify:
a5

Change-Id: Ieac362fb2a2c129ecb3d52f6f9842ac8792839dd
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2025-11-25 00:34:27 -08:00
chen.xu 490d7d9abc dpss: vd1 and dpss switch will splash screen [1/1]
PD#SWPL-232397

Problem:
vd1 and dpss switch will splash screen.

Solution:
1.dpss process needn't set dv/hdr mode while switch.
2.vd1 switch to dpss need call vpp interface, vpp will mute.
3.dpss switch to vd1, while dpss finish then switch to vd1.
4.dpss to vd1, need vd1 first toggle then destroy dpss.
5.dtv seamless channel change, dv/hdr core on dpss, so vd1 frame
not allow toggle.

Verify:
t6w

Change-Id: I30acc15da695b3afe52e903339310fa56b6a972b
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2025-11-24 19:34:19 -08:00
Mingliang Dong 5119f97066 amvecm: add hdr path switch logic [1/1]
PD#SWPL-227028

Problem:
add hdr path switch logic

Solution:
add hdr path switch logic

Verify:
T6X

Change-Id: Id96522cd19471c3f7874b46e0d5c0466a9d96679
Signed-off-by: Mingliang Dong <mingliang.dong@amlogic.com>
2025-11-24 19:34:06 -08:00
can.zhang fc2295e56d amdv: add vpq interface [1/1]
PD#SWPL-230623

Problem:
test

Solution:
test

Verify:
Verified on local

Change-Id: Id9386c65e82409b6a325fc10e46b914c7a8bd8d6
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-11-21 22:07:04 -08:00
Long Yu bdc62eea67 sdio: set input delay 0 [1/1]
PD#SWPL-238701

Problem:
The inherent delay configuration inside the Wi-Fi module is not
compatible with the controller, which may cause sampling errors in the
TX direction.

Solution:
Set the internal CMD and DATA line delays of Wi-Fi to 0

Verify:
sc2

Change-Id: I4ac8434d87977e4dba4dd9ee52b171b6b49995f0
Signed-off-by: Long Yu <long.yu@amlogic.com>
2025-11-20 23:01:20 -08:00
dijie.pan 5078710e1c video: add multi plane for video display [1/2]
PD#SWPL-236654

Problem:
add multi plane for video display

Solution:
add multi plane for video display

Verify:
S7

Test:
DRM-OSD-20

Change-Id: Ic7713e58a1dbcf40003f8a54929e6e57ab47dca4
Signed-off-by: dijie.pan <dijie.pan@amlogic.com>
2025-11-19 14:30:57 -08:00
Zelong Dong be2554a1c5 ir: support the num of wakeup key from 16 to 32 [1/1]
PD#SWPL-237205

Problem:
support the num of wakeup key from 16 to 32

Solution:
support the num of wakeup key from 16 to 32

Verify:
t6d_br301

Change-Id: I19a4f1b1789b7756c6b90f3f9a3cb8c76f00205b
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-11-19 06:21:56 -08:00
qinghui.jiang 4a12fc00c6 vpp: sync new vpp driver from 5.15 [1/1]
PD#SWPL-236518

Problem:
sync new vpp driver from 5.15

Solution:
sync new vpp driver from 5.15

Verify:
t966d5

Change-Id: I001b40c87c8bb503bf19c5fb243d73cc933af508
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2025-11-19 01:02:09 -08:00
zhan.wang e87b1578d8 amvecm: gamut wrapper1 [1/1]
PD#SWPL-233485

Problem:
add  gamut wrapper1 ctl for tool

Solution:
add  gamut wrapper1 ctl for tool

Verify:
ok

Change-Id: Icce14a0ef638d4b4e05c56563e1756869d9beca6
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
2025-11-18 00:24:10 -08:00
yaoyu.xu c3f1fb5493 dsc dec: add support for different bpp [1/1]
PD#SWPL-237654

Problem:
some pc use different bpp for dsc.

Solution:
add support for different bpp.

Verify:
t6x

Change-Id: Ie8f96a8b33732970e6e578d5cc8012968cf17d30
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
(cherry picked from commit bfe6d65d2ca5c4dd2aa89b50ded6a0b70961dd8f)
2025-11-17 06:41:20 -08:00
chuangcheng.peng dfac0990a7 demux: support dsc & filter sync for nagra [1/1]
PD#SWPL-235063

Problem:
data with secure level not match with memory secure level will cause
demux hang

Solution:
dsc include pipeline and key ready, then start get data.

Verify:
verified at C5

Change-Id: I652d6822e6532408f5042cb1be28efa8d583ada7
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2025-11-17 00:23:34 -08:00
lele xiang 7d69b95f8d codec_mm: CF1 Provide buffer prealloc mechanism for non-secure mem. [1/1]
PD#SWPL-239539

Problem:
Provide buffer prealloc mechanism for non-secure mem

Solution:
Provide buffer prealloc mechanism for non-secure mem.

Verify:
T6W

Change-Id: I3cd58f3bb226ffe5ce3b5c864cd60c30bc53597e
Signed-off-by: lele.xiang <lele.xiang@amlogic.com>
2025-11-14 06:44:48 -08:00
can.zhang 838a34d08e amprime_sl: sync 515 dpss code to 612 [1/1]
PD#SWPL-237915

Problem:
No sync dpss primehdr code

Solution:
Add dpss primehdr code

Verify:
Verified on t6w/x

Change-Id: I63338cc2037e29716c29f34a0df2b9c02b7a4454
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-11-14 04:11:16 -08:00
yicheng shen 17090fb304 hdmirx: add 3072x2160p and 2560x2160p support [1/1]
PD#SWPL-237971

Problem:
add 3072x2160p and 2560x2160p support

Solution:
add 3072x2160p and 2560x2160p support

Verify:
T6X

Change-Id: Ib797371068c6285e1635d055968db0b9c1860ca5
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2025-11-12 07:56:22 -07:00
Jian Cao 4617e23550 vpp: implement 2x2 display support [1/1]
PD#SWPL-225969

Problem:
add 2x2 display support

Solution:
add this support

Verify:
T6X

Change-Id: I1f5d4be108a7993c6fedc050fb411f9dc4f91c3f
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-11-12 07:56:11 -07:00
joy.rao 04543624be resman: CB2 sync from 5.15 for resman [1/1]
PD#SWPL-235264

Problem:
need merge patch to 6.12 from 5.15

Solution:
merge patch from 5.15
498620
501622
531507
555564

Verify:
PB build 4359

Change-Id: Ia4d0d3797cea03226b17bfba80b24643d389a236
Signed-off-by: joy.rao <joy.rao@amlogic.com>
2025-11-12 07:55:07 -07:00
yujun.zhang 8867ac0bd1 hdmitx: fix null meson_tx_dev pointer dereference [1/1]
PD#SWPL-237704

Problem:
Null meson_tx_dev pointer dereferences

Solution:
If NULL, don't dereference meson_tx_dev pointer but use
default meson_tx_log to print log.

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: I33f16898be444c203375e0d20e33a9b046570310
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2025-11-10 23:31:59 -07:00