Commit Graph

86 Commits

Author SHA1 Message Date
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
donghui.wang 9593ac7960 ldim: fix power on duty on kernel [1/1]
PD#SWPL-144978

Problem:
duty change when enter kernel

Solution:
keep duty until get level_idx

Verify:
t3x bc302

Change-Id: I747f6389420d367d34e009f4758110ae49a28220
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2023-11-13 20:37:36 -07:00
Gaowei Zhao 9dd6f6e994 hdmirx: dual hdmi input [1/1]
PD#SWPL-134200

Problem:
new feature,dual hdmi input on t3x

Solution:
add code

Verify:
t3x

Change-Id: Ic51e37520a752e122deb7f5ef885456e1ab49781
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2023-11-10 06:47:06 -07:00
linfang.zhao d44cc4a246 drm: add mute plane interface [3/3]
PD#SWPL-143936

Problem:
show or hide video does not work

Solution:
add mute plane interface

Verify:
AP222

Test:
DRM-OSD-111

Change-Id: Ib5898c9a0bc3201d397a3a33a9c073f0799c3aee
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
2023-11-07 04:51:50 -07:00
Song Zhao 84bd527247 msync: sync driver from 5.4 [1/1]
PD#TV-98016

Problem:
5.15 has old driver version.

Solution:
Back port some of the missing change from 5.4 and add CL370123

Verify:
T3X + RDK

Change-Id: I15c7d3bdb1e87aa95aaa4e8238bc4dcd2b5287b6
Signed-off-by: Song Zhao <song.zhao@amlogic.com>
2023-11-06 23:37:49 -07:00
jinbing.zhu d0123a3d3f amvecm: add amvecm ai color enable control ioctl [1/1]
PD#SWPL-144175

Problem:
add new ioctl

Solution:
add new ioctl

Verify:
t3x

Change-Id: I3a4f8eb446059f940bfce3c97b7800f8c90baf0c
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-11-06 04:33:31 -07:00
qiang.liu 82b4572a95 vdin: add upper use signal format [1/1]
PD#SWPL-142519

Problem:
driver not add upper layer use format

Solution:
driver add upper layer use format

Verify:
t5w

Change-Id: I6c9ff0487453f5122ca51a2f47f47fc5b656b873
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-10-18 23:04:12 -07:00
jialong.jiang 6a9f81b3a6 amdv: 5.15 ioc move to uapi. [1/1]
PD#SWPL-140850

Problem:
5.15 ioc move to uapi.

Solution:
5.15 ioc move to uapi.

Verify:
t3.

Change-Id: Icc1bd8efb807a84d55fd3b380fd3a016b34f4849
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-10-18 06:19:13 -07:00
jinbing.zhu a51e859924 amvecm: 515 move struct to uapi [1/1]
PD#SWPL-142608

Problem:
move to uapi

Solution:
move to uapi

Verify:
t5w

Change-Id: Ie6737b1ad87792a6fb5ee5cff101464195da8354
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-10-18 04:14:47 -07:00
MingLiang Dong 76f3142fb0 amvecm: add sdr2020 source process [1/1]
PD#SWPL-140725

Problem:
new feature, add sdr2020 source process case

Solution:
new feature, add sdr2020 source process case

Verify:
t5m

Change-Id: I5d4d701c11066bc853b2cf24579363cec44bd963
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2023-10-12 09:25:00 +00:00
Song Zhao d7d8fa829d msync: add mono time into pts structure [1/2]
PD#TV-89282

Problem:
HbbTV need more accurate position.

Solution:
Add two more ioctl to get the A/V pts/mono pair

Verify:
T5W + Sandia

Change-Id: I9bc5408d0b41b4429056e581a18646d16d44fe41
Signed-off-by: Song Zhao <song.zhao@amlogic.com>
2023-10-11 17:57:39 -07:00
mingxiu.sun 37c83f77f6 vdin: Provides vdin1 hist values for the upper layer [1/1]
PD#SWPL-135475

Problem:
txhd2 vdin1 hist uses the vdin0 hist register

Solution:
Open the clk of vdin1 and configure the hist related register

Verify:
txhd2

Change-Id: If86d6fbfd7a760e1a51db98aecce9c37c685687e
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-09-27 02:43:46 -07:00
mingyang.he 9efc617238 drm: sync meson_drm 5.15 and 5.4 about 5.15 [1/1]
PD#SWPL-139231

Problem:
meson_drm.h in 5.15 and 5.4 have discrepancies

Solution:
eliminate the difference between 5.15 and 5.4

Verify:
sc2

Test:
DRM-OSD-103

Change-Id: I2f7432dcafc0976fbc67dbeed684280b17953284
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-09-20 04:38:55 -07:00
yaoyu.xu d5356e600c hdmirx: add support for 240p [1/1]
PD#SWPL-139463

Problem:
add support for 240p.

Solution:
add support for 240p.

Verify:
txhd2

Change-Id: Id2a0e2dec3aad54143cf78a7ce9fbae0568291d0
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-09-15 02:54:07 -07:00
yaoyu.xu 495df26260 hdmirx: t3x reb bring up [1/1]
PD#SWPL-136712

Problem:
1.add support for 5k 8k.
2.frl flow.
3.frl overlap.

Solution:
t3x sw flow.

Verify:
t3x

Change-Id: I4aeb0b6fff064db89a13b2f1454ad7cb95e8ed50
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-09-11 08:08:35 -07:00
congyang.huang 0747bfb1d9 drm: add mode and attr test ioctl [1/1]
PD#SWPL-118079

Problem:
no ioctl to test mode and attr

Solution:
add ioctl

Verify:
sc2

Test:
DRM-OSD-76

Change-Id: I39fa4f403d7302ca9af22c45389faf642735cdaa
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-09-11 06:23:46 -07:00