Commit Graph

129 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Huijuan Xiao 714d3b0d89 hdr: sync hdr code ker 5.15 to 6.12 [1/2]
PD#SWPL-237418

Problem:
update hdr processes to align ker 5.15

Solution:
update hdr processes to align ker 5.15

Verify:
S7D

Change-Id: I8f468ba354efed5d3892dd12bd77dacf873b9658
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2025-11-10 00:01:53 -07:00
jie.dai 3916b1d993 lcd: add pmu data path ioctl [1/1]
PD#SWPL-235585

Problem:
hal need pmu data path

Solution:
add pmu data path ioctl

Verify:
t6x

Change-Id: I29185a4313d2aff600bec90b97ae9ca14dd77c82
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-11-04 15:29:13 -07:00
Jinbing Zhu 35a5b05cf6 amvecm: sync t6x pq 5.15 to 6.12 [1/1]
PD#SWPL-234392

Problem:
sync t6x pq 5.15 to 6.12

Solution:
sync t6x pq 5.15 to 6.12

Verify:
t6x

Change-Id: I9dc9abaa2a0e6dab1f01be5bf6660f4861aad59e
Signed-off-by: Jinbing Zhu <jinbing.zhu@amlogic.com>
2025-11-04 08:18:34 -07:00
rong.wang 2dc56c0962 dpss: dpss bringup in 6.12 [2/3]
PD#SWPL-228897

Problem:
dpss bringup in 6.12

Solution:
dpss bringup in 6.12

Verify:
T6X/T6W

Change-Id: Ic35aaa959a74953992bcb9f733e13a5bad3da652
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-10-31 03:18:52 -07:00
yaoyu.xu b7d61d1418 hdmirx:sync code from 5.15 to 6.12 [1/1]
PD#SWPL-234410

Problem:
sync code from 5.15 to 6.12

Solution:
sync code from 5.15 to 6.12

Verify:
t6x

Change-Id: If578b87410020b9c5d2c6d785940a2720d071504
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2025-10-28 05:05:21 -07:00
zhou.han b6ad8533d0 drm: add qms brr modename [1/1]
PD#SWPL-235127

Problem:
add qms brr modename

Solution:
add qms brr modename

Verify:
ross

Change-Id: I9624729669802c06574fb5dc86ef3f15952ec833
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2025-10-24 01:39:57 -07:00
rong.wang 61930d5883 deinterlace: add dm iocmd for pqserver [1/1]
PD#SWPL-232259

Problem:
add dm iocmd for pqserver

Solution:
add dm iocmd for pqserver

Verify:
s7d

Change-Id: Ica18b8b0347e168a03d0749c5cbe282c1d620ee5
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-10-22 06:32:16 -07:00
donghui.wang dcf74ea791 bl/ldim/bcon/ambilight: sync kernel5.15 [1/1]
PD#SWPL-228774

Problem:
need sync kernel5.15 code

Solution:
1.sync ldim/bcon/ambilight

Verify:
t6w

Change-Id: I602303a9b8aafb2784f50c64f129a1a178b34711
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2025-09-22 21:06:24 -07:00
jialong.jiang 752d9a0433 amdv: add lux value interface.. [1/1]
PD#SWPL-231801
PD#TV-177158

Problem:
add lux value interface.

Solution:
add lux value interface.

Verify:
t6x

Change-Id: I6856333cc824f1fb06ab4b5888c038a25da75ef6
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2025-09-19 18:01:00 -07:00
Evoke Zhang f3758e1eea lcd: update ioctl phy tuning [1/1]
PD#SWPL-228972

Problem:
need update ioctl phy tuning to support data lane sel

Solution:
update ioctl phy tuning

Verify:
be311

Change-Id: Ie7fec5ff49d877929468d2f1aed2604b562f2a93
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-09-17 18:51:34 -07:00
zijie.hong 130ccef9be vdin: Provide UAPI headers for v4l2 module [1/1]
PD#SWPL-229736

Problem:
Provide UAPI headers for v4l2 module

Solution:
move headers related to v4l2

Verify:
T5W/T6D

Change-Id: I62f8cc38243a27204f19a64b3c0edb10fca34226
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-09-12 21:06:53 -07:00
Doosan Baek 35600c23cc kl/kt: improve seckey driver [1/1]
PD#SWPL-215242

Problem:
structure variable type
old license

Solution:
fix seckey driver variable type
modify license

Verify:
s6

Change-Id: If6280e73b82f18dc45b5ac146c0532fbeecbd52a
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2025-09-10 01:34:11 -07:00
Deyong Chen 6138ab422d vpq: add vpq iocmd file to uapi path for k6.12 [1/1]
PD#SWPL-230589

Problem:
aml_pqserver includer vpq_cmd.h, but no file in k6.12 uapi path

Solution:
add vpq iocmd file to uapi path for k6.12

Verify:
T6W

Change-Id: Icab109c49a627c530ea6d3da5ca5b3fb0d60dec9
Signed-off-by: Deyong Chen <deyong.chen@amlogic.com>
2025-09-10 01:11:54 -07:00
Ao Xu d7f68502e7 meson_tx_connector: update dptx and hdmitx driver [1/1]
PD#SWPL-229825

Problem:
update dptx and hdmitx driver

Solution:
update dptx and hdmitx driver

Verify:
s7d

Test:
DRM-TX-38

Change-Id: Ic0f8ccdfd250b3fa5bc54f63d4c73c4904948b50
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2025-09-05 04:50:02 -07:00
Jian Cao 8d3919fbf5 vpp: add pip first toggle ioctl [1/1]
PD#SWPL-223394

Problem:
add this support

Solution:
add this support

Verify:
s6

Change-Id: Ib4a87bf8b5b9c2b89da25d11c7012ab54dafc2b6
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-09-01 02:07:22 -07:00
yuna.liu cfaacf3c32 media_modules: CF2 CC support 64bit pts [1/1]
PD#SWPL-224528

Problem:
The upper layer requires 64bit pts.

Solution:
When reporting on cc, add vpts_64 to cover 33bit standard.

Verify:
T6D

Change-Id: I4cc64e39b641253cb790901b565e1e920cc91b56
Signed-off-by: yuna.liu <yuna.liu@amlogic.com>
2025-08-31 21:15:31 -07:00
jinbing.zhu 22e28dcff2 amvecm: sync kernel 5.15 to 6.12 with pq [1/1]
PD#SWPL-226504

Problem:
sync kernel 5.15 to 6.12 with pq

Solution:
sync kernel 5.15 to 6.12 with pq

Verify:
t5m

Change-Id: I2efecf27542eee4378ff0b7a8e9c053715df25fc
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2025-08-31 19:44:08 -07:00
jinbing.zhu 832befe05d amvecm: new ioctl cmd for get force output [1/1]
PD#SWPL-220920

Problem:
new ioctl cmd for get force output.

Solution:
add new ioctl cmd and flow.

Verify:
t5w

Change-Id: Iae3b1752457b1543291b4cb263a7d0a171f453f4
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2025-08-11 13:13:53 -07:00
can.zhang 4715acc1fb amdv: add policy ioctl [1/1]
PD#SWPL-221572

Problem:
need add ioctl

Solution:
add code

Verify:
Verified on local

Change-Id: I3a8b802bfe2a05fb60ab92e9b79fe4334655fb12
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-08-11 08:56:43 -07:00
jing.li1 1c5cbd8f71 dvb: include standard linux dvb header files [1/1]
PD#SWPL-215766

Problem:
not support standard linux dvb header files

Solution:
include standard linux dvb header files

Verify:
t6w

Change-Id: If04996c3605b0d7f57f04ddc4b3569b149e22fb2
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2025-08-11 06:20:20 -07:00
Ao Xu 9da8ecfc07 drm: add connector id in DRM_IOCTL_MESON_TESTATTR ioctl [1/1]
PD#SWPL-218705

Problem:
DRM_IOCTL_MESON_TESTATTR ioctl has no connector id

Solution:
add connector id in DRM_IOCTL_MESON_TESTATTR ioctl

Verify:
s7d

Test:
DRM-OSD-5

Change-Id: If179dd0a252e2ad1578bef46b156916cd5522a4f
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2025-08-11 02:33:16 -07:00
yaoyu.xu 78e7f34c7f hdmirx: Fix some dsc special case [1/1]
PD#SWPL-208493

Problem:
some dsc special case can not display normal.

Solution:
add negative vsync support.

Verify:
t3x

Change-Id: I57e77423a8237378d8c6a0364b7fef9190b7a488
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2025-08-09 14:05:15 -07:00
Ao Xu 49216de422 meson_tx_connector: add dptx and hdmitx new driver [1/1]
PD#SWPL-220560

Problem:
add dptx and hdmitx new driver

Solution:
add dptx and hdmitx new driver

Verify:
s7d

Test:
DRM-TX-38

Change-Id: I67bd41a05f2a047fdb01dd341e9db85e2ec9fd9a
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2025-07-28 01:20:00 -07:00
jing.li1 56b237cddf Demux: Demux driver supports 16G memory [1/1]
PD#SWPL-176906

Problem:
Demux driver need to support 16G memory

Solution:
Update demux driver to support 16G memory

Verify:
Verified on s6

Change-Id: If6d80a9be5c33bfda0310e2f5d6771448c7d9c68
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2025-07-27 22:08:21 -07:00
mingyang.he 3f1e8d80f0 drm: add write permission for uvm buffer for kernel 6.12 [1/1]
PD#SWPL-221231

Problem:
add write permission form uvm buffer

Solution:
add write permission form uvm buffer

Verify:
t6d

Test:
DRM-OSD-36

Change-Id: I10260c456a45531c74078b12810c6a510f17272f
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2025-07-24 19:31:47 -07:00
Haotian Guo 4a0a978530 tvafe: sync 5.15 code [1/1]
PD#SWPL-222460

Problem:
sync 5.15 code

Solution:
sync 5.15 code

Verify:
t5m

Change-Id: Ia5138e6f1975ab479acf0abd03f23d6ef70581bb
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2025-07-23 02:13:59 -07:00
jialong.jiang 955d6a6856 amdv: add gd control interface. [1/1]
PD#SWPL-220376

Problem:
add gd control interface.

Solution:
1.upper layer can use DV_IOC_SET_DV_GD to open and close gd.
2.driver can use the following command to open and close gd:
echo global_dimming 0/1 > /sys/class/amdolby_vision/dv_pq_info

Verify:
T6W

Change-Id: I7ddce412a02b6389b330ce58d157309b806a77a6
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2025-07-22 23:04:38 -07:00
Evoke Zhang c7406a1897 lcd: support more ioctl cmd for get panel info [1/1]
PD#SWPL-222608

Problem:
1.need sync lcd config ready state
2.need get lcd interface type

Solution:
add lcd config ready and get interface cmd

Verify:
ay301

Change-Id: I18890b604ad4df3ccc7f995de34423f4380c589a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-07-22 20:01:19 -07:00
zijie.hong 4f61c0ab24 vdin: sync code from k5.15 [1/1]
PD#SWPL-222264

Problem:
WSS can not work

Solution:
1) driver sync code from 5.15
2) app auto insmod ko

Verify:
TXHD2

Change-Id: I8cb8333cdfd7b478eaaace58bc98c178b18816e9
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-07-22 20:01:13 -07:00
bowen cheng 0ed36a972b hdmirx: sync code from kernel5.15 [1/1]
PD#SWPL-221241

Problem:
sync code from kernel5.15

Solution:
sync code from kernel5.15

Verify:
t5m

Change-Id: Ie205d1f7b8d3bcbf407e9e85565c2863f57a0438
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
2025-07-07 23:08:43 -07:00
jing.li1 54a694b53d ci: sync code from amlogic-5.15-dev [1/1]
PD#SWPL-205571

Problem:
ci code falls behind of amlogic-5.15-dev

Solution:
sync code from amlogic-5.15-dev

Verify:
t5m

Change-Id: I1f8f9d163d7efa99e5cfd7cb4d9703722597ed87
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2025-07-04 05:52:07 -07:00
Huijuan Xiao 9a2f4a5b42 hdr: hdr tmo new version 2.6.1.3839 update [1/1]
PD#SWPL-219934

Problem:
hdr tmo new version 2.6.1.3839 update

Solution:
hdr tmo new version 2.6.1.3839 update

Verify:
s7d

Change-Id: Ife92842c24c21398979f9284b7a515e176c5328f
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2025-07-01 23:23:19 -07:00
zhicheng.huang 33029a24c3 dvb_extern: fix frontend compatibility issue in 6.12(V1.29) [1/3]
PD#SWPL-202929

Problem:
fix frontend compatibility issue in kernel6.12

Solution:
1.update frontend Macro Definition in kernel6.12
2.VER V1.29

Verify:
txhd2

Change-Id: Ib74c1c8d8338e1fb328bccd4fdb2ee3b74ccc2a4
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2025-06-20 00:22:26 -07:00
zijie.hong 611a3a301d vdin: t5m k6.12 sync code [1/1]
PD#SWPL-215877
PD#SWPL-215817
PD#SWPL-216190

Problem:
1) t5m rx sct_alloc panic
2) txhd2 av picture severe serrations
3) txhd2 rx log too much

Solution:
1) codec_mm_scatter subscript from 1 to 16, for UBSAN check
2) resolve vdin vfm t/b reverse
3) sync code from k5.15 to k6.12

Verify:
t5m/txhd2

Change-Id: Ib349500746a6faf7d780444e5e4cda046f39cc2e
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-06-13 01:50:46 -07:00
chuangcheng.peng 8870bc08eb demux: add ioctl setting filter hw mem size [1/1]
PD#SWPL-214489

Problem:
add ioctl setting filter hw mem size

Solution:
add ioctl setting filter hw mem size

Verify:
verified at sc2

Change-Id: I95d5de4f5a0786c2d688f74400e45d883e1cb265
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2025-06-10 19:47:06 -07:00
Evoke Zhang a5e358c63e lcd: support tcon data_complete and lut_demo ioctl cmd [1/2]
PD#SWPL-215327

Problem:
need support tcon data_complete and lut_demo ioctl cmd

Solution:
support tcon data_complete and lut_demo ioctl cmd

Verify:
ay301

Change-Id: I602bcc2718fc3abefdedbe48c13572420ccbfd85
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-06-05 05:11:29 -07:00
lizhi.hu 0b6ace6a6d eDPtx: add to drm [1/1]
PD#SWPL-198016

Problem:
new eDP driver support on drm

Solution:
add

Verify:
t7_an400

Test:
DRM-OSD-98

Change-Id: I47f39b63e17ad0a05c3e49b7ed072609d0b3cf24
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-06-03 03:24:34 -07:00
rong.wang f3ce967099 deinterlace: add iocmd for pqserver [1/1]
PD#SWPL-213114

Problem:
kernel6.12 change parameters to new path
pqserver not find and compatible with 5.15

Solution:
add iocmd for pqserver to control nr

Verify:
s7d

Change-Id: I96f3b4524259a694becc41daffc04223b8ff7119
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-05-27 07:14:03 -07:00
Jian Cao 3cd45138ba vpp: add aisr_en ioctl [1/1]
PD#SWPL-209170

Problem:
add IOC Interface to replace direct module parameter access

Solution:
complete it

Verify:
t5m

Change-Id: I38619829c193e1d54a3da8b59fe663f63d5aae61
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-05-26 06:51:21 -07:00