Commit Graph

83 Commits

Author SHA1 Message Date
huijie.huang 91ed26090c lcd: support dccd parsing flow [2/3]
PD#SWPL-139062

Problem:
DCCD support

Solution:
Support load dccd

Verify:
T5M

Change-Id: I3f30b90b6e27fff1566902b9da848280fe6aa532
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2024-06-18 03:06:22 -07:00
donghui.wang 32a15e6656 ambilight: add ioctl api for get data [1/1]
PD#SWPL-173586

Problem:
miss ioctl api for get data

Solution:
add ioctl api for get data

Verify:
t3x

Change-Id: Ia6f1f69f22ec8e5c68c23c766b5abc48a10c1d60
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2024-06-17 03:35:52 -07:00
shihong.zheng 8582af4d3a media: h266 format define. [1/1]
PD#SWPL-172885

Problem:
media_moduls h266 code depend on h266 format define.

Solution:
define h266 format for decoder

Verify:
s6 pxp

Change-Id: Ia001b35292691811425de6b7e8c98e9e3e65575d
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2024-06-16 20:05:14 -07:00
Gaowei Zhao 2033694d10 hdmirx: add filmmaker flag to struct tvin_latency_s [1/1]
PD#SWPL-168888

Problem:
tvserver can not get filmmaker flag

Solution:
add filmmaker flag to struct tvin_latency_s

Verify:
t3x

Change-Id: Iebe041e02dcf1deea7a0a96f9681cd629fbbb50f
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-06-05 02:25:52 -07:00
jinbing.zhu 05d50eaa10 amvecm: add colorimetry delivery method [1/1]
PD#SWPL-140663

Problem:
add ext signal type

Solution:
add ext signal type

Verify:
t965d4

Change-Id: Ibe681cdcef8194328282a31af09096f8cb961424
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-05-28 05:54:40 -07:00
qinghui.jiang 9025387ebf amvecm: sdr2hdr ioctl for pq server [1/1]
PD#SWPL-167174

Problem:
need new ioctl for sdr2hdr

Solution:
add new ioctl and flow for sdr2hdr

Verify:
t3x_revb

Change-Id: Ia479ae29cfd7c3552e87ca17fbda78ae2db3ad29
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2024-05-28 03:58:07 -07:00
Hao Shi b83a65e54e 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-05-28 03:57:23 -07:00
jinbing.zhu 98863d138b amvecm: add ai color param ioctl [1/1]
PD#SWPL-165683

Problem:
add ai color param ioctl

Solution:
add ai color param ioctl

Verify:
T3X

Change-Id: I9103c45c8e8325183d9769ad814a67394458b029
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-05-27 01:53:00 -07:00
Huijuan Xiao f6bf14f09c hdr: hdr core before osd blend [1/1]
PD#SWPL-157470

Problem:
bypass hdr mtx when osd blend after hdr core.

Solution:
bypass osd hdr mtx.

Verify:
t3x

Change-Id: I4ef0f736fe270cf52f91dcf09dc99ae0574e2c42
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-05-24 02:24:08 -07:00
wenlong.zhang 86ad56769f drm: support yuv 10bit for video [1/1]
PD#SWPL-146801

Problem:
support yuv 10bit for video

Solution:
support yuv 10bit for video

Verify:
s7

Test:
DRM-OSD-63

Change-Id: I93d00a77cb6776bd430c2db9845e685ff059bddd
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2024-05-20 23:55:39 -07:00
Huijuan Xiao 0bca5b8708 hdr: hdr core before osd blend [1/1]
PD#SWPL-165938

Problem:
move rgb2yuv from hdr core to osd csc.

Solution:
move rgb2yuv from hdr core to osd csc.

Verify:
s7d

Change-Id: Ib52d37f9f9a72dad048ce3ed2512ed1208d1538f
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-05-20 06:39:47 -07:00
jialong.jiang 47b69b6702 amdv: add aisdk function for hw5. [1/1]
PD#SWPL-168075
PD#SWPL-168078

Problem:
add aisdk function for hw5.

Solution:
add aisdk function for hw5.

Verify:
t3x

Change-Id: I60b3d1e3488ae7442179a7f6974134141e2f4082
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-05-20 04:10:28 -07:00
yao liu 1cfc6caede amdv: SDK test case DMB fail [1/1]
PD#SWPL-167148
PD#SWPL-166753

Problem:
1.DMB level5 fail
2.PD ioctl fail

Solution:
1.correct error for reg compare
2.change ioctl parameter

Verify:
t3x

Change-Id: I74fee5fd9eca74fd2df02600d9b1a96cf00c7313
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-05-08 07:38:14 -07:00
Hao Shi c53c3195c6 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-04-28 22:39:52 -07:00
guoqing.sun 70b5ce8ae9 CI: CB2 add ioctl CA_SET_START. [1/1]
PD#SWPL-160156

Problem:
CA_SET_START

Solution:
CA_SET_START

Verify:
android-u t5m

Change-Id: Ia67484e2f12b4260436964cd91a8a8f9deb49bd9
Signed-off-by: guoqing.sun <guoqing.sun@amlogic.com>
2024-04-23 04:08:26 -07:00
Haotian Guo 23704bf705 hdmirx: edid block checksum [1/1]
PD#SWPL-162491

Problem:
calculating checksum error when there are more than 2 blocks

Solution:
Change the calculation method

Verify:
t3x

Change-Id: I71d212144273705a8eba62823fc27b0cdbec75d5
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-04-18 04:49:13 -07:00
wenlong.zhang b3436bfa11 drm: change afbc format [1/1]
PD#SWPL-163150

Problem:
support DRM_FORMAT_ABGR1010102

Solution:
support DRM_FORMAT_ABGR1010102

Verify:
S7D

Test:
DRM-OSD-6

Change-Id: I20a2b0080dd99baafd9fff4b0c6a9a32a99df58a
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2024-04-17 19:31:22 +08:00
wenlong.zhang 560bdbdbac drm: s7d bringup & support gfcd [1/1]
PD#SWPL-147645

Problem:
s7d bringup & support gfcd

Solution:
s7d bringup & support gfcd

Verify:
s7d

Test:
DRM-OSD-138

Change-Id: I6e8f268f0fa42a6906f18a21d923ec059b749954
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2024-04-17 19:31:20 +08:00
Ao Xu 3e79ef53f5 drm: add get_vrr_range function for lcd connector [1/1]
PD#SWPL-156902

Problem:
hwc need get lcd connector's vrr range info

Solution:
add get_vrr_range function for lcd connector

Verify:
t3x

Test:
DRM-LCD-1

Change-Id: I562929b06bdfcfc4bb514b2d67e93e84a6925814
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-04-12 16:39:52 +08:00
yao liu c58211d886 amdv: add precision api [1/1]
PD#SWPL-161721

Problem:
new function

Solution:
1.DV_IOC_GET_DV_PRECISION_DETAIL_SUPPORT get cap from cfg
2.DV_IOC_SET_DV_PRECISION_DETAIL_BYPASS set bypass

Verify:
t3x

Change-Id: I01e1f01e942349aa2241df6748100015603e185b
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-04-10 20:39:54 -07:00
Gaowei Zhao a54e3fca89 hdmirx: support qms [1/1]
PD#SWPL-154454
PD#SWPL-160882

Problem:
not support qms

Solution:
support qms

Verify:
t3x

Change-Id: I3f373014962a06788ae9b0185555d8a8e0cf5725
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-04-09 19:48:57 -07:00
jinbing.zhu d7c8c44b1c amvecm: need optimize vframe for 5.15 [1/1]
PD#SWPL-161639

Problem:
need optimize vframe for 5.15

Solution:
.need optimize vframe for 5.15

Verify:
t3

Change-Id: I7ecb26b4d602c3620a4064831e23fea961d74ff9
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-04-06 21:46:57 -07:00
dongfei.li f68672dd56 frc: frc configure buf num [1/1]
PD#SWPL-151267

Problem:
drv set buf num

Solution:
drv set buf num

Verify:
T3X

Change-Id: I2e8ee518adddb969c499b285ceb0988f13ab7a00
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2024-03-25 11:33:02 +00:00
donghui.wang d468bb8c64 ldim: add ioctl api for glb hist [1/1]
PD#SWPL-157518

Problem:
add ioctl api for glb hist

Solution:
add ioctl api for glb hist

Verify:
t5m

Change-Id: Idff2157533509a850eaf56a45b8ccc3b8bba7085
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2024-02-29 22:53:24 -08:00
Haotian Guo 8258df371f hdmirx: differentiate HDMI ALLM and DV ALLM [1/1]
PD#SWPL-158200

Problem:
The upper layer cannot distinguish between dv allm and hdmi allm

Solution:
The bit1 of allm_mode represents dv allm, and bit0 represents hdmi allm

Verify:
t5w

Change-Id: I42f73ceffc20beae3e0182c1dce9e1fdc9c1f787
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-02-23 02:08:20 -07:00
Haotian Guo ee8c1bc0e6 hdmirx: add 480/567 format [1/1]
PD#SWPL-151288

Problem:
Driver does not support formats for 480 and 576

Solution:
Drive the addition of 480 and 576 formats

Verify:
t7c

Change-Id: I2fa54e65061752e641e03e0ea713a8f5ffd0fb14
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-01-15 06:39:38 -07:00
Gaowei Zhao bb65d6ad2d hdmirx: fix compile issue caused by __packed [1/1]
PD#SWPL-153477

Problem:
aml-tvserver build fail because of __packed

Solution:
delete __packed

Verify:
Yocto

Change-Id: I0068a3e9e79498e489e924d4b0421fdb19e0fcba
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-01-11 16:11:24 -07:00
Gaowei Zhao 78c7661731 hdmirx: get AVI info [1/1]
PD#SWPL-152652

Problem:
dump AVI info invalid

Solution:
update register for AVI info

Verify:
t3x

Change-Id: Ic3874d3cc269043957b0244f9cb476db77c48ced
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-01-10 00:34:22 -07:00
Huijuan Xiao 57524869bc amvecm: add osd pq setting [1/1]
PD#SWPL-141758

Problem:
add brightness contrast color adjust for osd.

Solution:
add brightness contrast color APIs for osd.

Verify:
t5m

Change-Id: Ie2e2b463adf920aeb7ed5fa9e972325cbf778f01
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2023-12-19 00:19:09 -07:00
congyang.huang c0fa7f03bf drm: add vrr range getting ioctl [1/1]
PD#SWPL-147629

Problem:
no ioctl to get vrr range

Solution:
add ioctl to get vrr range

Verify:
t7c

Test:
DRM-TX-75

Change-Id: If6dab5d69b90ff63acf9617c61a452a6f25bd5d9
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-12-13 20:59:09 -07:00
jialong.jiang 45af8ab3f9 dv: AISDK needs to be merged into trunk. [1/1]
PD#SWPL-134510

Problem:
End-User Calibration.
automatic playback potimization.
lightsensor.

Solution:
add user sample cfg interface,
apo driver reports content type by uevent.
lightsensor.

Verify:
t5m.

Change-Id: Idc193083424f6420ae774abf3b3e39181f127c05
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-12-05 20:27:07 -07: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
Gaowei Zhao 0bfa23f2f7 hdmirx: support iMax mode [1/1]
PD#SWPL-137268

Problem:
not support iMax mode

Solution:
parse iMax flag from VSIF packet

Verify:
T5W

Change-Id: I3b1c52f132e47d825cf086473c6c60af44c5045f
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2023-08-31 08:04:21 -07:00
qiang.liu 86d706df8f vdin: if fmt is null send nosig [1/1]
PD#SWPL-137116

Problem:
fmt is null vdin send unstable will black screen

Solution:
if fmt is null send nosig

Verify:
txhd2

Change-Id: I482068d6bbc6aeb867c6c59528d9d8edf3dd79dd
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-08-24 21:58:41 -07:00
congyang.huang 0aba26a6cd vout: move vout ioctls to uapi [1/1]
PD#SWPL-134166

Problem:
move vout ioctls to uapi

Solution:
move vout ioctls to uapi

Verify:
T5W

Change-Id: Idcb298b99738883cbb9b5e6486248fa698fbfb33
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-08-23 04:14:24 -07:00