Commit Graph

863 Commits

Author SHA1 Message Date
Wenjie Qiao cdf5fe98cc hdmitx: don't send emp packet [1/1]
PD#SWPL-209441

Problem:
send emp packet when TV not support qms vrr

Solution:
don't send emp packet when TV not support qms vrr

Verify:
s7d

Test:
DRM-TX-

Change-Id: I6f76ec092632c6958449d0a0bce070c188d59aa9
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2025-06-04 18:03:27 -07:00
ruofei.zhao 13f394f352 hdmitx: optimize kernel scdc printing [1/1]
PD#SWPL-214994

Problem:
hdmitx kernel prints a lot

Solution:
optimize kernel scdc printing

Verify:
S905X4

Test:
DRM-TX-78

Change-Id: Ie5f5406fa46b403810b2bf55e5c948b1dac8a3f8
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-06-03 12:51:05 -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
ruofei.zhao 4eec527d91 hdmitx: exit cuva video, disable emp packet sending [1/1]
PD#SWPL-213332

Problem:
play cuva video, exit cuva video, hdmi_hdr_status node is still cuva

Solution:
to exit cuva video, disable emp packet sending

Verify:
S905X5M

Test:
DRM-TX-34

Change-Id: Iae42951f32b14d6ec1cb87fcf3abd97d32fd9073
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-05-30 09:00:38 -07:00
Qianggui Song c7e39bc032 gpio: fix gki 2.0 with debug param compile error [1/1]
PD#SWPL-216011

Problem:
Compile error with use gki 2.0 with debug for
gpiod_get_label is not exported

Solution:
Use common version function and undef gpio_dbg

Verify:
t7d& txhd2

Change-Id: If2c1abd0da0e4abba4fef356c49b00b7bc24d19d
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2025-05-30 02:25:10 -07:00
ruofei.zhao 78e369d2f0 hdmitx: add diagnostic info for hdcp1.4/scdc/spd infoframe [1/1]
PD#SWPL-215182

Problem:
hdmitx hdcp1.4/scdc/spd infoframe diagnostic information
is not updated

Solution:
added diagnostic information for hdmitx hdcp1.4/scdc/spd infoframe

Verify:
S905X5M

Test:
DRM-TX-147

Change-Id: Ic5a3162bf8304be30710c6e629e0b00903de7e25
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-05-30 02:24:33 -07:00
miaohong chen 173fadabbb v4ldec: CF2 Support Priority configuration. [1/1]
PD#SWPL-208685

Problem:
Support Priority configuration.

Solution:
Pass channel priority to the backend.

Verify:
ross

Change-Id: I691caf4987df7ea2bf21d114c91ec61d1be40814
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
2025-05-29 18:15:31 -07:00
huijie.huang 151f2dcb06 lcd: add asf and ufr mode [2/2]
PD#SWPL-214019
PD#SWPL-209711

Problem:
need to support asf and ufr mode

Solution:
add asf and ufr mode

Verify:
t6w

Change-Id: I1f44e0a3f591eaec5962260f99976ba32c785314
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2025-05-27 12:56:02 -07:00
zhenteng.tian 43595079bf video_display: send present fence to vpp. [1/1]
PD#SWPL-204852

Problem:
videodisplay need send present_fence to vpp.

Solution:
send present fence to vpp

Verify:
SC2

Change-Id: Ie1760684cd4d4d1f43771564ceae3ba4bd58842a
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2025-05-27 12:55:22 -07:00
jinbiao f43cca5a96 mmc: add hs400 para save and optimize performance. [1/1]
PD#SWPL-205585

Problem:
1 lack hs400 para save
2 performance issue.

Solution:
1 add hs400 para save
2 optimize performance

Verify:
SM1/G12B

Change-Id: I3ab72c7e5177a2f92207be0ef98886c912231461
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
2025-05-27 05:40:24 -07:00
miaohong chen 9a18e988da v4ldec: CF2 Support dynamic transmission of signal type. [1/1]
PD#SWPL-202784

Problem:
Signal type information needs to be transmitted dynamically.

Solution:
The signal type of vp9 is dynamically transmitted
through the es package, and supports the joint transmission
of hdr10p & signal type data; other protocols
transmit the signal type through es parsing.

Verify:
ross

Change-Id: I00eeccfdefdbb735dc39ad90c2180a62bd1dbb8d
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
2025-05-26 05:13:33 -07:00
lele xiang 591cdaf814 Codec_mm: CF1 Enable basic scatter limited size function. [1/2]
PD#SWPL-212227

Problem:
Fixed scatter cache size causes redundant memory consumption.

Solution:
Calculate scatter memory requirements and used to limite
scatter cache allocation.

Verify:
T6d/ah212

Change-Id: Ibbe54a98ff77d71b10a79c55d1a4a45601805c4f
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2025-05-22 10:05:20 -07:00
Yongjie Zhu f94c54f8b4 uvm: fix aipq attach to uvm fail [1/1]
PD#SWPL-214634

Problem:
move uvm to separate ko (aml_uvm.ko),
aipq attach fail

Solution:
fix aipq attach to uvm fail

Verify:
t7c

Change-Id: I346f34e4d000132b239d37ef80c92327019fe77a
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2025-05-21 21:06:49 -07:00
Evoke Zhang b2da15adc5 lcd: update clk_mode parameter [2/2]
PD#SWPL-213247

Problem:
need support clk_mode for each detail timing

Solution:
support clk_mode in extend timing config

Verify:
ay301

Change-Id: I8887b42b1fc0e194157db3da9fbe6758fa275c61
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-05-21 21:06:14 -07:00
Pengcheng Chen 3475025abb vpp: enable t3x vpu read sideband for game mode [1/1]
PD#SWPL-210417

Problem:
enable t3x vpu read sideband for game mode

Solution:
enable t3x vpu read sideband for game mode

Verify:
t3x

Change-Id: Iaeaa9f7f30bb68a9eb06028fc9eab50c836bd2e8
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2025-05-21 21:06:00 -07:00
Yao Jie 2cbe44ad7b mailbox: support aocpu to arm mailbox transport [1/1]
PD#SWPL-168573

Problem:
AOCPU need to support sending mailbox message to ARM
actively

Solution:
1. Change mailbox driver to support AOCPU sending
mailbox to ARM
2. Change mailbox devfs driver to support receiving
data from AOCPU and notify user space task
3. Configure mailbox dts to support receiving
data from AOCPU via device node

Verify:
SC2-AH212
S7D-BM209

Change-Id: If8f1a26a237e0e1d3ee4085493b379adc74b8129
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2025-05-21 21:05:11 -07:00
ruofei.zhao ba819c822e hdmitx: add new uevent for hwc [1/1]
PD#SWPL-207734

Problem:
Need to add uevent reporting function of HDMITX_LINK_UNSTABLE and
HDMITX_INCOMPATIBLE_CABLE

Solution:
Added uevent reporting function for HDMITX_LINK_UNSTABLE and
HDMITX_INCOMPATIBLE_CABLE

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: Id75f0cca9873bfe02a87197b3a0586a06a9d00e3
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-05-20 13:17:49 -07:00
yang.zhou 604383457a uvm: uncompressed format doesn't need gpu realloc [2/2]
PD#SWPL-211950

Problem:
after modifying the nv12 format, the h264 process goes to
the ge2d copy, but the ge2d is not adapted to nv12, and
an error occurs during data copying.

Solution:
a compress member is added to decoder_para to determine
whether GPU reallocation is required.

Verify:
android-16

Change-Id: I640f5ceaf6fce3cf7b0146d8accc6fe26f6c9373
Signed-off-by: yang.zhou <yang.zhou@amlogic.com>
2025-05-20 00:59:40 -07:00
ruofei.zhao c85ab5d846 hdmitx: remove the aspect ratio to 64:27 resolutions [2/2]
PD#SWPL-211473

Problem:
resolutions with an aspect ratio of 64:27 are not supported,
validate_mode check failed

Solution:
remove the aspect ratio to 64:27 resolutions

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: Ib05a1b93672699e58431616de92a09c1bd3bb072
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-05-20 00:58:58 -07:00
xiang.wu1 564c0763e7 hdmitx: drm need pass frac_mode to tx [1/1]
PD#SWPL-213016

Problem:
drm not pass frac_mode value to tx driver,
In QMS mode, the frame rate with all decimal
points selected in Resolution is abnormal

Solution:
drm pass frac_mode value to driver

Verify:
s7d

Test:
DRM-TX-75

Change-Id: Id20d575764005bbdd561eca93c0a46d127b8a3b6
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2025-05-19 23:08:35 -07:00
ruofei.zhao be4c65dee2 hdmitx: add hdmitx diagnostic information [1/1]
PD#SWPL-197767

Problem:
need to add hdmitx diagnostic function

Solution:
add hdmitx diagnostic information

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: I8813659df1a8b6b789adea767aab934cbf68a9b9
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-05-19 06:39:51 -07:00
Huijuan Xiao 109b577cb9 video: set flag when vout2 changed [1/1]
PD#SWPL-210385

Problem:
set flag when vout2 changed

Solution:
set flag when vout2 changed

Verify:
t7c

Change-Id: If89d20f36ed1f676c9c291a1365948b1ebdaf6b8
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2025-05-17 15:11:09 -07:00
dongqing.li 89d3368483 radump: kernel save dump file to android data [1/1]
PD#SWPL-209926

Problem:
ramdump can not save to android data.

Solution:
1. add dts node ramdump_data for kernel 32bit.
2. add debug log for ramdump_bin_read.

Verify:
S7D/T6D

Change-Id: Ib2e113fa0c34afa7059da026ea842ebb344c2573
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2025-05-17 15:11:03 -07:00
gerrit autosubmit 4100c89712 Merge "pwm: add pwm ops in atomic [1/1]" into amlogic-6.12-dev 2025-05-15 00:59:59 -07:00
lizhi.hu e3350143b3 lcd: fix i2c command init in dsi [1/1]
PD#SWPL-213249

Problem:
support i2c command in dsi

Solution:
add

Verify:
t7_an400

Change-Id: I34af7c89c9ffbd58c347c659b1275d4597b3bbfb
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-05-15 00:59:26 -07:00
zhikui.cui 5f94b33ed3 NAND: support sub-page write/read [1/1]
PD#SWPL-212624

Problem:
support sub-page write/read

Solution:
support

Verify:
local

Change-Id: I00ca02c4d62fce592542cc81e9449835cdd711e6
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2025-05-14 22:59:35 -07:00
zhikui.cui 6f85cdea52 nand: sync code from amlogic-5.15-dev [1/1]
PD#SWPL-212826

Problem:
miss too much patches

Solution:
cherry pick these patches:
1. nand: fix page read error [1/1]
(cherry picked from commit <f8c72c139b55>)
2. spinand: add gd spinand support [1/1]
(cherry picked from commit <dd12f9791150>)
3. spinand: add new flash support [1/1]
(cherry picked from commit <d1522e840c40>)
4. nand: fix memory corruption in meson_nfc_execp_op [1/1]
(cherry picked from commit <c4633a3355fb>)
5. nand: fix can't scan nbbt in bitflips case [1/1]
(cherry picked from commit <b42c4003f411>)
6. nand: spinand bitflip threshold set to 75% ecc strength [1/1]
(cherry picked from commit <9796e942a92e>)
7. nand: support S34ML04G300BHI00 [2/2]
(cherry picked from commit <d1d4b39ab5e5>)
8. spinfc: compatible with host ecc and device ecc [2/2]
(cherry picked from commit <9cbc6d2f351a>)
9. spinand: add W25N01KV support [2/2]
(cherry picked from commit <f4b6a8586aaa>)
10. NAND: adjust the mechanism of register partition
and get rsv parameter [1/1]
(cherry picked from commit <6d366b548ce4>)
11. NAND: fix flash identification in winbond spinand [1/1]
(cherry picked from commit <61cc009f04d9>)
12. NAND: spinand support W25N02KVZEIR [1/1]
(cherry picked from commit <09f428d53010>)
13. NAND: spinand support W25N04KVZEIR [1/1]
(cherry picked from commit <2cbe83348801>)
14. spinand: F35SQA001G QPL qualify [1/1]
(cherry picked from commit <932190b3f11d>)
15. NAND: slcnand support register partition from cmdline [1/2]
(cherry picked from commit <0d66cb18e4ea>)
16. NAND: keep all boards first partition name same [1/1]
(cherry picked from <06a27687ef5f>)
17 spinand: fix mistakes from W25N01KV QPL [1/1]
(cherry picked from commit <6ac06f0d8034>)
18. spinand: W25N02KV&W25N04KV adjust oob free [1/2]
(cherry picked from commit <44286554468e>)
19. NAND: support spinand for t6d [1/1]
(cherry picked from commit <8a4daf37047f>)
20. spinand: add F35SQB002G support [2/2]
(cherry picked from commit <6d7d7150e6d6>)
21. NAND: S7 refine NAND layout [1/1]
(cherry picked from commit <49a1827b1c98>)
22. spinand: add F35SQB004G support [2/2]
(cherry picked from commit <aae5d99590ff>)
23. spinand: fixup reserve dtb size is different with bl33 [1/1]
(cherry picked from commit <e7c8a6f78440>)
24. nand: S4D adds partitions abnormally [1/1]
(cherry picked from commit <b6fefd28f2bc>)
25. NAND: adapt to new reserve designs [1/1]
(cherry picked from commit <3506a975d20a>)
26. NAND: slcnand support update bl2 with new page info [1/1]
(cherry picked from commit <004559c85895>)
27. spinand: add GD5F2GM7UEYIGR support [2/2]
(cherry picked from commit <9491901059d8>)
28. nand: fix compile failure [2/2]
(cherry picked from commit <3f5e2e619c00>)
29. unifykey: fix compile failure [1/2]
(cherry picked from commit <2878f3251c4e>)

Verify:
local t6d

Change-Id: I194e87a94885d7150c5f04bc289b8327ba75ff5c
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2025-05-14 00:47:13 -07:00
donghui.wang 5230c49d57 pwm: add pwm ops in atomic [1/1]
PD#SWPL-212905

Problem:
pwm ops not support in atomic

Solution:
support it

Verify:
t7c an400

Change-Id: Idc02040f8692ea84f5d7d9e282cba4475111a16e
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2025-05-13 18:54:52 +08:00
Long Yu 126c723b46 emmc: statistic eMMC rw data. [1/1]
PD#SWPL-210810

Problem:
need to statistic emmc r/w data

Solution:
statistic emmc r/w data

Verify:
T7C

Change-Id: Ib0924baecb52ca042043babe48923fe8e390b2f7
Signed-off-by: Long Yu <long.yu@amlogic.com>
2025-05-12 09:07:09 -07:00
jinbing.zhu a9b2144145 amvecm: add dummy data set [1/1]
PD#SWPL-212962

Problem:
set dummy data according to full/limit

Solution:
set dummy data according to full/limit

Verify:
s5

Change-Id: Ifd3d319229731c046ed2a145194950d0d61d8fbb
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2025-05-11 21:11:01 -07:00
lele xiang bb4b6c6e9f Codec_mm: CF1 Enable prealloc scatter mem for secure playback. [1/2]
PD#SWPL-206236

Problem:
T6d Run VSP-* cases failed. gap occurred.

Solution:
Enable prealloc scatter mem for secure playback.

Verify:
T6d

Change-Id: I236b4a430f486fa027fed75e2c77e4bf04646cef
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2025-05-06 23:54:22 -07:00
Yongjie Zhu 508020e601 uvm: move uvm to separate ko on 6.12 [1/1]
PD#SWPL-49188

Problem:
uvm needs to be separated from aml_media.ko,
so it can be maintained more easily

Solution:
uvm compile to separate ko (aml_uvm.ko)

Verify:
t6d

Test:
uvm test

Change-Id: Idf6fb39488f25bfda85a543183875182de8dec1b
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2025-05-06 23:54:07 -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
Wenjie Qiao 9acbd8fb91 hdmitx: valid mode need support frac mode [1/1]
PD#SWPL-211587

Problem:
valid mode name is fraction, check fail

Solution:
valid mode will transfer frac name to int name
and check the format valid

Verify:
s7d

Test:
DRM-TX-143

Change-Id: I847c00dc06871532b34021113ca1b6ccabe0c5b1
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2025-04-29 06:47:17 -07:00
qinglin.li 6d9dd5d39a upgrade: common16-6.12 upgrade by Mar [1/1]
PD#SWPL-209928

Problem:
update base kernel kernel_aarch64_tv
update include/linux/upstream_version.h
fix conflict

Solution:
AML_KERNEL_VERSION      8
UPSTREAM_VERSION        "99d39c38c7d1"
AML_PATCH_VERSION       "99d39c38c7d1"
MERGE_DATE              "2025-04-27"

Verify:
local

Change-Id: Ibd8c7aecc65c29cb6f80de977ac7fa0b5773d4b9
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-04-28 17:17:42 +08:00
hang cheng c277d882c9 tx_connector: adjust tx connector directory structure [1/1]
PD#SWPL-210815

Problem:
need to adjust tx connector directory structure for DPTX

Solution:
adjust tx connector directory structure

Verify:
adt4, ross

Test:
DRM-TX-38

Change-Id: Id04c3c3459cccf186ef3186d20b84a5b5137ba82
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2025-04-27 23:02:24 -07:00
hang cheng 606b532893 hdmitx: remove unnecessary sysfs node [1/1]
PD#SWPL-209213

Problem:
there're sysfs node in below cases, if not used properly
by system layer, will cause unexpected result
1.sysfs node not used for flow control, only used for debug
2.sysfs node already replaced by drm property

Solution:
remove unnecessary sysfs node, move the read interface
to procfs dump, and move the write interface to debug node

Verify:
ross, adt4

Test:
DRM-TX-38

Change-Id: I81380ea55e42ad7bbc721b1e91e51d5e4d421771
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2025-04-25 09:00:56 -07:00
lele xiang d5c11c82d9 Codec_mm: CF1 Add trace tracking items in the codec_mm module. [1/1]
PD#SWPL-205054

Problem:
Add trace tracking items.

Solution:
Add trace tracking items.

Verify:
T6d

Change-Id: I41f857d77d29e1b5be44ee6e305df77a678767a9
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2025-04-25 01:25:54 -07:00
yuna.liu 0501d1a071 decoder: CF2 decoder identify and report dv. [2/2]
PD#SWPL-206598

Problem:
support report dv flag.

Solution:
decoder support report dv fla.

Verify:
ohm

Change-Id: I9ce5abaff597d964299e0f3404c255f5473d80be
Signed-off-by: yuna.liu <yuna.liu@amlogic.com>
2025-04-24 05:05:18 -07:00
Ao Xu 0fd07c0661 hdmitx: remove fmt_attr and tst_fmt_attr [1/1]
PD#SWPL-209036

Problem:
fmt_attr and tst_fmt_attr is not used anymore

Solution:
remove fmt_attr and tst_fmt_attr

Verify:
sc2

Test:
DRM-TX-142

Change-Id: I9e9750942481eacd1ba51bbc1236e690097533d7
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2025-04-24 05:04:41 -07:00
hualing chen 95a583fbae media_proxy: CF0 add inject cc and get cc api. [2/2]
PD#SWPL-185979

Problem:
1 CF0 add inject cc and get cc api.

Solution:
1 add add inject cc and get cc api.

Verify:
ohm

Change-Id: Ib801f6ace0a87fcb68461286876f5924d88eb9d5
Signed-off-by: hualing.chen <hualing.chen@amlogic.com>
2025-04-23 09:41:08 -07:00
Lei Zhang ae8f7a4020 preempt_rt: bringup preempt rt kernel [7/9]
PD#SWPL-201692

Problem:
spinlock is sleeping lock, cause BUG_ON in atomic context

Solution:
change spinlock to raw_spinlock

Verify:
on A5

Change-Id: Iea05aa36c58143d0efe880631d8906d9125fe55e
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2025-04-23 01:14:29 -07:00
hang cheng 0cc8f51cea hdmitx: clean up and unify HW api [1/1]
PD#SWPL-206746

Problem:
the HW api are organized in different parts,
need to clean up and unify for extension.

Solution:
clean up and unify HW api for extension

Verify:
adt4, ross

Test:
DRM-TX-38

Change-Id: I6d36166096c972057f0c881947f1b25449cedc09
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2025-04-21 03:11:38 -07:00
zhan.wang 9e7c471c2d amvecm: dnlp code optimization [1/1]
PD#SWPL-192767

Problem:
dnlp code optimization

Solution:
use pointers operate alg param

Verify:
verify on sc2

Change-Id: Id3b9f332893fec3e49b13818832dbf474b195a73
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
2025-04-21 03:11:14 -07:00
Ao Xu 772bf2a37a drm: cleanup hdmitx vrr rate api [1/1]
PD#SWPL-209037

Problem:
cleanup hdmitx vrr rate

Solution:
cleanup hdmitx vrr rate

Verify:
s7d

Test:
DRM-TX-142

Change-Id: I5f24d44da17f85a1df838b8d7d87ee705bb4ea8b
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2025-04-20 21:08:00 -07:00
rong.wang b0944628d4 deinterlace: update kernel6.12 [1/1]
PD#SWPL-208710

Problem:
sync code from 5.15

Solution:
sync code from 5.15

Verify:
t6d

Change-Id: I10de87f195453dbd3a95e3977dac5837ba9034f3
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-04-18 15:31:46 -07:00
ruofei.zhao 976731e04f hdmitx: add edid_spinlock protection when updating_hdr_strategy [1/1]
PD#SWPL-206197

Problem:
in update_hdr_strategy, without edid_spinlock protection, it is possible
to obtain the intermediate state information of rxcap

Solution:
add edid_spinlock protection when updating_hdr_strategy

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: Iad533f4c5bff970637ef0c8568728ce2b75f18bd
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-04-17 21:24:23 -07:00
Wenjie Qiao 9a62a6d2bd hdmitx: config i2c 50k as default [2/2]
PD#SWPL-210419

Problem:
now i2c clk is 75k, need reduce

Solution:
config i2c 50k as default

Verify:
s5/s7d

Test:
DRM-TX-38

Change-Id: I20711b0a14f7c2edd0f8c5e3307d760817c62328
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2025-04-17 01:12:14 -07:00
hang cheng 0739f21f61 hdmitx: abstract hdcp for multi-instance [1/1]
PD#SWPL-208048
PD#SWPL-207160

Problem:
1.the members of hdmitx_common struct are not in order
2.need to abstract hdcp common interface and support
multi-instance of hdcp on hw21

Solution:
1.change members of hdmitx_common struct in order by
function type
2.abstract hdcp common interface, and support
multi-instance of hdcp for hw21

Verify:
adt4, ross

Test:
DRM-TX-38

Change-Id: I42d201f61fea22e472968d7eb99b5b1733f98816
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2025-04-16 05:12:36 -07:00
ruofei.zhao 16c38cc63a hdmitx: modify hdr_status_pos to all_zero_hdr10plus_pkt [1/1]
PD#SWPL-209353

Problem:
hdr_status_pos naming is not standardized

Solution:
When exiting hdr10plus, hdmitx_set_hdr10plus_pkt will be
called first to send a hdr10plus vsif packet with all zeros.
At this time, all_zero_hdr10plus_pkt needs to be set to true.
Then, when hdmitx_set_drm_pkt is called to disable the drm
infoframe, if all_zero_hdr10plus_pkt is true, it is
necessary to disable the hdr10plus vsif packet with all zeros
and set all_zero_hdr10plus_pkt to false.

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: I9f15c31e8ee78c237e47d7ff47b4812b36ad758c
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-04-15 06:56:09 -07:00