Commit Graph

101 Commits

Author SHA1 Message Date
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
jianhua.yi 80ccb314aa PQ: pq xml by hdr type [1/2]
PD#TV-159332

Problem:
pq xml by hdr type

Solution:
pq xml by hdr type

Verify:
Yocto

Change-Id: I765106b22c86359516b85d43be095765cecd285b
Signed-off-by: jianhua.yi <jianhua.yi@amlogic.com>
(cherry picked from commit c9f73279294dc8d9a511dab291122f7c71e9c56a)
2025-05-12 23:11:15 -07:00
Blance Tang 04817588c3 Yocto-4.0: K6.12 UAPI fix [1/1]
PD#SWPL-205517

Problem:
UAPI define is not followed

Solution:
Follow UAPI define

Verify: Local
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
Change-Id: I02035c1c76692296da113acf37cb6e009b9c4cdb
2025-05-06 01:16:01 -07:00
miaohong chen 73b0b26ca3 AVBCD: CF1 Support for avbcd wrapper of hardware mode [2/3]
PD#SWPL-175471

Problem:
Support for avbcd wrapper of hardware mode.

Solution:
Support for avbcd wrapper of hardware mode.

Verify:
S6

Change-Id: I6c01e80fdc3f144113f53bd4abd9125392561371
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
2025-04-24 03:14:40 -07:00
yujun.zhang 094777e5ea drm: sync code from 5.15 to 6.12 [1/1]
PD#SWPL-206105

Problem:
Sync code

Solution:
sync code from 5.15 since Oct, 2024

Verify:
SC2

Test:
DRM-OSD-44

Change-Id: I3171d93fbf68ddab1bd95131d17b59db31d89a23
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2025-04-10 03:03:04 -07:00
chuangcheng.peng 42d20d6224 demux: remove dvb-core to common_drivers [1/2]
PD#SWPL-208124

Problem:
remove dvb-core to common_drivers

Solution:
remove dvb-core to common_drivers

Verify:
verified at adt4

Change-Id: I04343953f26eaf614d3009e1079c9daeb345a6ee
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2025-04-07 02:05:15 -08:00
Wenjie Qiao 2d1f9b3acb hdmitx: sync 5.15 to 6.12 [1/1]
PD#SWPL-207211

Problem:
sync 5.15 to 6.12

Solution:
sync 5.15 to 6.12

Verify:
S7D

Test:
DRM-TX-40

Change-Id: I7fe687e1f3aad89222117ac8f907e7f1c6df970c
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2025-04-06 21:01:32 -08:00
can.zhang 49006276c0 amvecm: fix disable hdr10+ 612 and sync code [1/1]
PD#SWPL-207671

Problem:
When OTT is connected to a TV that supports hdr10plus and it is
turned on for the first time, it shows that it does not support
hdr10plus

Solution:
remove the is_hdr10plus_enable judgment logic,
HDR10plus strategy selection by HDR module

Verify:
S905X5

Change-Id: Icc40897ff0495c19fa523b96c0c0d39af859e4d1
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-03-31 19:54:54 -08:00
chuangcheng.peng ad2b4a53e8 dvbci: add ci header at include/uapi/amlogic/ [1/1]
PD#SWPL-206435

Problem:
add ci header at output header

Solution:
add ci header at include/uapi/amlogic/

Verify:
verified

Change-Id: I9705f5499f27456ad1e10dc39bf3a7ef8ab0fe15
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2025-03-21 00:25:41 -08:00
qinghui.jiang 2af68414e8 amvecm: module_params clean [1/1]
PD#SWPL-195501

Problem:
module_params clean for amvecm.

Solution:
module_params clean for amvecm.

Verify:
s905x5m

Change-Id: I13b39ec5bcba6d98c3f7f969f0a3e506f8003d3f
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2025-03-18 03:59:55 -08:00
lizhi.hu 4e1b09e5cc DisplayPortTX: Sync 5.15 code to 6.12 [1/1]
PD#SWPL-204061

Problem:
bringup

Solution:
sync cl
454074: initial version
503167: driver bug fix
506377: isolate driver and interface IP ctrl
513041: revert crtc_sel for dptx
513081: remove multi vout server regist

Verify:
t7_an400

Change-Id: I6f7afdfea1258f6802fc22a16b60d0de1bcec581
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-03-13 00:31:55 -08:00
jialong.jiang 504bc9c65c amdv: get cfg support. [1/1]
PD#SWPL-195125

Problem:
get precision detail, dark detail
and lightsense cap for specified mode

Solution:
get precision detail, dark detail
and lightsense cap for specified mode

Verify:
tv

Change-Id: I490974a05d4607c158ed7838c27634657c73d50c
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2025-01-20 20:05:27 -08:00
zijie.lin ee479dfb1e lcd: porting from 5.15 to 6.12 [1/1]
PD#SWPL-196854

Problem:
ldim/tcon ko build failed

Solution:
main info
1. porting code from 5.15 to 6.12
2. last CL:500745
3. delete EDP related code
4. do not support unifykey

Verify:
sc2/s7d

Change-Id: I71b2e6a644373d2aaffa33bb783d4d2270b6e9d3
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2025-01-20 20:05:19 -08:00
Zelong Dong 5db8d03b19 ir: update IOCTL cmds [1/1]
PD#SWPL-195993

Problem:
move ir header file to include/uapi/ & update IOCTL cmds

Solution:
move ir header file to include/uapi/ & update IOCTL cmds

Verify:
sc2

Change-Id: Ib98ccb26746a67d6bc040666101193bd104eee6a
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-01-17 02:49:51 -08:00
hai.cao 88d8799f9f vpp: add ioctl for some module parameters [1/1]
PD#SWPL-198205

Problem:
add ioctl for some module parameters

Solution:
add ioctl for some module parameters

Verify:
all platforms

Change-Id: I5b59e405ff1652f18751a5be22f0c519d40eed33
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-01-05 21:56:53 -08:00
zijie.hong edb893b04f vdin: sync vdin code from k5.15 to k6.12 [1/1]
PD#SWPL-192132

Problem:
sync vdin code from k5.15 to k6.12

Solution:
modified

Verify:
s905x4

Change-Id: I04c7ab5e56a5b94e0046a838ddcd0bdbad6b972a
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2024-11-14 02:31:26 -08:00
bowen cheng 26d63cee10 hdmirx: sync kernel 5.15 to 6.12 [1/1]
PD#SWPL-191961

Problem:
sync kernel 5.15 to 6.12

Solution:
sync kernel 5.15 to 6.12

Verify:
sc2

Change-Id: I0458acc2f0f8056baebb68249d3af83c1592e0d6
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
2024-11-14 02:31:12 -08:00
zhan.wang 763ffb79b9 amvecm: sync amvecm patches to amlogic-6.12-dev [1/1]
PD#SWPL-191851

Problem:
sync amvecm patches  to amlogic-6.12-dev

Solution:
sync code to 6.12

Verify:
sc2

Change-Id: I2072da90744fbdce7c1cbdad98dc930e0fa4275e
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
2024-11-12 02:10:19 -08:00
shufei.zhao bc810cfb8b uapi: fix build warning [1/1]
PD#SWPL-183190

Problem:
kernel5.15 have warnings

Solution:
change // to /**/

Verify:
build

Change-Id: I8ea6da7490033f8fd85cd6020bbd26acf8ae52f6
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2024-10-24 04:26:45 -07:00
Ao Xu 6cc9aab0a3 drm: sync 5.15 CL to 6.12 drm driver [1/1]
PD#SWPL-188410

Problem:
6.12 drm driver bringup

Solution:
sync 5.15 CL to 6.12 drm driver
delete CONFIG_AMLOGIC_KERNEL_VERSION related code

Verify:
sc2

Test:
DRM-OSD5,DRM-OSD-16

Change-Id: I27819e8d5c733961e0816a84050d0367f22df8fe
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-10-17 22:46:45 -07:00
ruofei.zhao 5bf8f3d774 hdmitx: sync kernel 5.15 code to kernel 6.12 [1/1]
PD#SWPL-188403

Problem:
sync kernel 5.15 code to kernel 6.12

Solution:
sync kernel 5.15 code to kernel 6.12

Verify:
SC2

Test:
DRM-TX-5

Change-Id: Ie0be7d1be5cf2f5fd197fc77441b5f9d2eff8a1a
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
(cherry picked from commit 8e6c3c05d52f2aad51382d8f51938e647f09b6e4)
2024-10-15 12:25:49 +08:00
hai.cao 8b463e0b48 vpu: vpu code sync from 5.15 [1/1]
PD#SWPL-168198

Problem:
sync code from 5.15 but include module parameters

Solution:
sync code

Verify:
sc2

Change-Id: I62702243b4cb767ef11185970a51f168b5a448a8
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-07-12 08:26:57 -07:00
shihong.zheng 0ec1d8f8ee media: h266 format define. [1/1]
PD#SWPL-172885

Problem:
media_modules h266 code depend on h266 format define.

Solution:
define h266 format for video decoder

Verify:
s6 pxp

Change-Id: Ia001b35292691811425de6b7e8c98e9e3e65575d
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
(cherry picked from commit 8582af4d3a)
2024-06-27 12:14:55 +00:00
Hao Shi 542455ffdc amvdec: optimize vdec_info and vframe_counter_s [1/1]
PD#SWPL-168978
PD#SWPL-169060

Problem:
The size of vdec_info and vframe_counter_s of
the kernel and player are out of sync causing
tsplayer AMSTREAM_IOC_GET_MVDECINFO to fail.

Solution:
force structures to be byte-aligned

Verify:
t5w s4d

Change-Id: I14f2388d82288cbaa97dbc309a486f908bf597db
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-06-27 12:13:08 +00:00
Ao Xu aaf207f308 drm: sync drm driver [1/1]
PD#SWPL-160959

Problem:
need sync drm driver

Solution:
need sync drm driver

Verify:
sc2

Test:
DRM-OSD7, DRM-OSD-8, DRM-OSD-9

Change-Id: I328292635bffce869dd05c2f5f75bb348cc32921
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-06-27 12:12:06 +00:00
Hao Shi 7f29312c62 amvdec: optimize vdec_info and vframe_counter_s [2/2]
PD#SWPL-160457

Problem:
memcpy beyond individual struct members

Solution:
create a named mirror of an anonymous struct union

Verify:
sc2&sm1

Change-Id: If86c3581ac473bb8e4c2b2021bedcbe44ad406e2
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-06-27 12:12:00 +00:00
mingxiu.sun 2fecc67eb3 vdin: kernel6.6 bring up [1/1]
PD#SWPL-160480

Problem:
kernel6.6 vdin bringup

Solution:
kernel6.6 vdin bringup

Verify:
sm1/sc2 kernel6.6

Change-Id: Ide808797921316e8f3fd9cf9d9814b028756f702
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-06-17 02:17:16 -07:00
Wanwei Jiang 43461aec82 kernel6.6: bring up [1/1]
PD#SWPL-145682

Problem:
bring up kernel6.6

Solution:
1. porting kernel6.6
2. compatible with different kernel versions
3. bring up kernel6.6

Verify:
sc2 c2 a4 a5

Test:
None

Change-Id: Ie22af0abc8ea96261e8a8cc7804b58565aedd904
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-12-14 16:55:55 +08:00
mingxiu.sun 15a3f407ab vdin & hdmirx: modify colorimetry delivery method [1/1]
PD#SWPL-125462

Problem:
open the HDMI2.0 ,the color of image is changed

Solution:
add vf info for colorimetry

Verify:
t5m kernel5.15

Change-Id: I126786f130d59fe2977ad8ea46b921aadd302d67
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-11-28 08:19:14 -07:00