Commit Graph

913 Commits

Author SHA1 Message Date
xiang.wu1 8e4502a7d3 hdmitx: optimization frl stop flow [1/1]
PD#SWPL-181717

Problem:
cancel_delayed_work() may not cancel the work in time

Solution:
stop frl first at disable phy
Use the cancel_delayed_work_sync() instead
clear frl mode at hdmitx_set_frl_rate_none

Verify:
s5/ax201

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: Ifac6bce137f251c3d643afae60d567c75eee81c0
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-11-05 11:25:21 +08:00
Hao Shi 53a4bddcc3 dmabuf_manage : CF0 add secmem v3 64bit addr support [1/1]
PD#SWPL-176629

Problem:
add secmem v3 64bit addr support

Solution:
add secmem v3 64bit addr support

Verify:
None

Change-Id: Id5c6bca16e8620140770b7dc9f6b9dbddc395850
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
2024-11-01 15:13:23 +08:00
shipeng sun 79aed07904 dmabuf_manage: CB1 Remove unused code [1/1]
PD#SWPL-176200

Problem:
Remove dmabuf_manage and secure vdec heap's unused code

Solution:
Remove dmabuf_manage and secure vdec heap's unused code

Verify:
ohm_wv4

Change-Id: Ib88ff7393c41767e275a4db26035bdc00ba2d4db
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
2024-11-01 15:06:48 +08:00
gan.zhang 7ae11945d2 decoder: CB2 Pass the under input information to the upper layer. [1/3]
PD#SWPL-179486

Problem:
In stream mode, when the decoder cannot decode the data, it
needs to pass the under input information to the upper layer.

Solution:
Pass the under input information to the upper layer.

Verify:
Ohm

Change-Id: I55530bcd0085c87dfa752ca831ee76b070c1bce4
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
2024-10-31 11:06:17 +08:00
Hao Shi 42d0d38ed3 codec_mm: support reserved bak pool [2/2]
PD#SWPL-177308

Problem:
H.266 support 34bit

Solution:
add a reserved pool to alloc mv buffer

Verify:
s6_s905x5_bl201

Change-Id: Iff86b122bed9eef0c7dd8858aef7a452f02bd015
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-10-30 11:19:38 +00:00
Hao Shi 68fb0f928e codec_mm: dump_mem_infos in atomic [1/1]
PD#SWPL-188627

Problem:
dump_mem_infos in atomic context.

Solution:
remove dump_mem_infos from
codec_mm_get_free_size.

Verify:
sc2

Change-Id: I9597da2b7a20afba1ab0d42247e3a8fc1463e663
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-10-30 10:46:06 +08:00
Zelong Dong 194c938816 ir: support mbox for some func [2/3]
PD#SWPL-182441

Problem:
need to support mbox for some func

Solution:
1. get wakeup framecode
2. enable/disable debug log
3. set wakeup key table
4. enable/disable bl30 ir
5. get the last powerkey

Verify:
t6d_br301

Change-Id: I40e3d6eb08903533f975eba87e18a24148055b70
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-10-25 17:53:58 +08:00
Zelong Dong a53ae472bc mailbox: support device id & command for IR [1/3]
PD#SWPL-182441

Problem:
support device id & command for IR

Solution:
support device id & command for IR

Verify:
t6d

Change-Id: I42f6a0117cf8ce3891c9a97885ad3216d54a0f29
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-10-25 17:53:39 +08:00
Pengcheng Chen 5eea67f42f vpp: update vd1/vd2 in hsize/vsize for amdv [1/1]
PD#SWPL-183223

Problem:
update vd1/vd2 in hsize/vsize for amdv

Solution:
update vd1/vd2 in hsize/vsize for amdv

Verify:
s5

Change-Id: I84062711edfecf3144a0a10997375db14b98c440
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-10-24 19:19:12 +08:00
xiang.wu1 534c047459 hdmitx : Optimize node output size [2/2]
PD#SWPL-185799

Problem:
When the character length of the content exceeds PAGE_SIZE,
memory leaks may occur.

Solution:
Limit and check output size

Verify:
s7d/sc2

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: I538183ca41520bf5119062508f7d47b4d33b0eb6
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-10-24 10:04:23 +08:00
Junyi Zhao 47af10bd6c pwm: s7: add double channel and normal channel in tee env [1/2]
PD#SWPL-176719

Problem:
when pwm's clk be locked by tee, all pwm should follow tee.
so, should support wifi 32K on pwm tee module.
in case of clk of wifi's pwm channel being locked.

Solution:
add  double channel to match wifi 32K legacy used.

Verify:
s7

Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
Change-Id: I343be31d409cf1480b5681acc1ec83fd7a7fad5c
2024-10-23 16:12:03 +08:00
Doosan Baek 905ff99ea1 kl/kt: add mid extra function [1/1]
PD#SWPL-187016

Problem:
need mid_extra
need tdes kt capability
need m2m_any kl capability

Solution:
add mid extra mode
add tdes kt capability
add m2m_any kl capability

Verify:
s6

Change-Id: I1f49890b61bf70110596c036c970d895388317c1
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2024-10-23 16:07:05 +08:00
yuhua.lin 9330813e9d dewarp: dewarp kasan issue [1/1]
PD#SWPL-178593

Problem:
current_item use after free

Solution:
us is_idle instead of current_item

Verify:
s6

Change-Id: I95051da49c0bfd7ae6feaf73f3334bd18791bd08
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-10-23 11:03:19 +08:00
Jiucheng Xu 7e20d543ab cma: export enable interface for using cma buffer for write file [1/1]
PD#SWPL-185295

Problem:
write file cache couldn't use cma buffer.

Solution:
add module param to control the enable/disable using cma buffer for
write file cache.

Verify:
t3/t5w

Change-Id: Ief6506d24298358560f475eb2f11393989819763
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2024-10-22 17:01:29 +08:00
jing.li1 1ebcb13b3b Demux: Add api for multi2 [1/2]
PD#SWPL-181881

Problem:
S6 need to support multi2

Solution:
Add api for multi2

Verify:
Verified on bl201

Change-Id: I124eeda9df93d9a7f0bacba3ad5c663f341852f5
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
2024-10-22 15:05:25 +08:00
zhou.han ef31653cac hdmitx: add hdcp_user property [1/1]
PD#SWPL-182609

Problem:
There are some hdcp fail messages in mesondisplay logcat.
But IVCX chip don't need HWC to enable hdcp flow, SNPS chip need.

Solution:
Add hdcp_user property to notify HWC of controlling dynamically
hdcp flow

Verify:
sc2/s6

Test:
DRM-TX-37

Change-Id: I146187a7843dbd83a7531d3415fb28249a6ef086
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-10-22 15:04:50 +08:00
Wenjie Qiao 0aeacb12a1 hdmitx: audio notfiy hdmitx set audio mode [1/1]
PD#SWPL-175070

Problem:
1, need set audio mode when change video mode
2, hdmitx will not set audio mode when audio notify hdmitx set same
audio format
3, mute/unmute flow will lead to PA/PB appears in non SP0 position

Solution:
1, send new event to audio hal and set audio mode
2, hdmitx set audio mode when audio notify hdmitx set same audio format
3, need audio hal reset set audio mode when mute/unmute

Verify:
sc2/s7d

Test:
DRM-TX-86

Change-Id: I416d7f78779b3f5e8bd751b12fcda5784ae014fb
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-09-05 15:14:05 +08:00
Wenjie Qiao 6d5eab13d7 drm: set vrr_enabled in logo init stage [1/1]
PD#SWPL-179882

Problem:
vrr_enabled was zero in logo init stage.
when hwc set mode, drm hdmitx connector will do a full modesetting
it will lead to black screen flicker

Solution:
get vrr status by hdmitx api.
if qms is enabled, vrr_enabled will be set to true

Verify:
s7d

Test:
DRM-OSD-2, DRM-OSD-45

Change-Id: I581fb9de6d578ec920bce01278a43e4b29cb2f0c
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-08-30 19:20:17 +08:00
ruofei.zhao d8ea6757f5 hdmitx: add is_hdr10plus_enable flag [1/1]
PD#SWPL-181888

Problem:
HDR10plus is only supported by OTT when
is_hdr10plus_enable is 1

Solution:
add is_hdr10plus_enable flag

Verify:
S6
S4

Test:
DRM-TX-73

Change-Id: I3998c9aa62baae836431e2fe649af5a97bd49650
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-08-29 19:49:19 +08:00
Chuan Liu dfb83bfa5b clk: s6: Update the axi_clk register bits definition [1/1]
PD#SWPL-183185

Problem:
VLSI updated the axi_clk register bits definition in the document.

Solution:
Fixed

Verify:
s6_bl201

Change-Id: Ibb3e5f9c5a8d7cfce58932568f26ae3dc80e4c3c
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-08-29 19:03:07 +08:00
zhenteng.tian d328e39734 vc: notify frame display info to mediaproxy. [1/1]
PD#SWPL-177588

Problem:
video_composer need notify frame display info to mediaproxy

Solution:
notify frame display info to mediaproxy

Verify:
T5M

Change-Id: I5da4354b0fc2bb1097faa759572504b4036db713
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-08-29 14:01:11 +08:00
can.zhang 3bec96db52 amvecm: disable hdr10plus openlinux [1/1]
PD#SWPL-181880

Problem:
hdr10plus func need open or not

Solution:
add code

Verify:
local

Change-Id: Idd08e9e7ea740ee9634367162b626eb0a1fd3b95
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2024-08-29 11:24:52 +08:00
yuhua.lin 72f14f2de4 gdc: add uvswap for dewarp [1/1]
PD#SWPL-182203

Problem:
input format and output format are different
dewarp need to support swap U/V

Solution:
complete it

Verify:
s6

Change-Id: Ied820eca7f6690c707318317657c9e6d5edcbd89
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-08-29 11:20:02 +08:00
xing.xu 146a889115 bandwidth: CF1 Single-frame Bandwidth Sampling [1/1]
PD#SWPL-179304

Problem:
Getting bandwidth data

Solution:
Getting bandwidth data

Verify:
s6.s7

Change-Id: I64e0bdc57456e6e17cb542b608eec5e952eac9ec
Signed-off-by: xing.xu <xing.xu@amlogic.com>
2024-08-29 10:41:27 +08:00
congyang.huang d3ce731a7a drm: optimize qms_brr_viclist function [1/1]
PD#SWPL-178271

Problem:
optimize qms brr viclist

Solution:
optimize get_modes function
vrr range equals hdmitx and lcd group freq divided by 100

Verify:
s5 t5m

Test:
DRM-OSD-45
DRM-OSD-47

Change-Id: I72d1a2588fb761f21b1b56039c1cb37d5b55ce60
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-08-27 16:38:21 +08:00
zhou.han 41ccf69ed8 hdmitx: add edid_valid property [1/1]
PD#SWPL-99060

Problem:
Try to limit the external module directly r/w  the driver node.

Solution:
Add edid_valid property

Verify:
ohm

Test:
DRM-TX-20

Change-Id: I3bc300e0a8c0ec019d2ef10db976584140de4588
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-08-22 14:44:14 +08:00
Jianxiong Pan baf674390d mm: set the special flags of cma allocation to filter printing of dmc. [1/1]
PD#SWPL-179075

Problem:
dmc monitor not filter cma allocation function by default.

Solution:
set the special migrate flags for dmc monitor.

Verify:
local.

Change-Id: Ie55a22685edc386c1e2af53a31269669e852d089
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-08-13 16:28:51 +08:00
qinghui.jiang 6bb7c56af3 amvecm: new ioctl cmd for get chip id [1/1]
PD#SWPL-175088

Problem:
new ioctl cmd for get chip id.

Solution:
add new ioctl cmd and flow.

Verify:
t982

Change-Id: If7384905cbad3b9ee2c770a837ba98cf4031cd34
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2024-08-12 19:40:20 +08:00
hualing chen 47b810be18 media_proxy: CB2 move proxy to kernel common for 5.15. [1/8]
PD#SWPL-177051

Problem:
1  Di module can not call proxy api for 5.15.

Solution:
1  Move MediaProxy to kernel common for 5.15.

Verify:
t5m

Change-Id: I573f51392c809b77bf6a2e8194a4a3a451f1cc35
Signed-off-by: hualing chen <hualing.chen@amlogic.com>
2024-08-09 17:37:15 +08:00
Yongjie Zhu 81b8a5de32 dmaheap: add class and debug node [1/1]
PD#SWPL-176242

Problem:
dmaheap driver need support debug & class node
gralloc need use ioctl to get dmaheap info

Solution:
add class and debug node for dmaheap
add dmaheap ioctl for gralloc

Verify:
s7d

Change-Id: I60fa73f6c51bbb37fc81531e61b28ecd1fbf700f
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2024-08-09 17:23:47 +08:00
Chuan Liu d16057fbc8 clk: s6: Fix known issue [1/1]
PD#SWPL-179629

Problem:
1 Optimize driver file formats using automated tools.
2 vpu_clk adds a flag feature to prevent glitch when operating the
clock.
3 The naming of hifi_pll is inconsistent with the clkid style.
4 The latest documentation provided by vlsi has changed the sys_clk
definition for USB and PCIe.

Solution:
1 Optimized
2 vpu_clk added flag CLK_OPS_PARENT_ENABLE.
3 The clkid of hifi_pll is named CLKID_HIFI_PLL.
4 USB and PCIe sys_clk have been updated.

Verify:
s6_bl201

Change-Id: I4560f7bc6d42583d4e62d184c182bfe199cb6955
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
Signed-off-by: gongwei.chen <gongwei.chen@amlogic.com>
2024-08-08 16:38:05 +08:00
Rong Chen b6de9d689b mmc: add hs400 para save [1/1]
PD#SWPL-178572

Problem:
lack hs400 para save.

Solution:
add hs400 para save.

Verify:
S5

Change-Id: Ie363d3b303dd26c55b47778aa7753444be4af423
Signed-off-by: Rong Chen <rong.chen@amlogic.com>
2024-08-08 16:14:25 +08:00
ruofei.zhao 44a28a8e25 hdmitx: optimized hdmitx logs [2/2]
PD#SWPL-178894

Problem:
hdmitx logs non-normative

Solution:
optimized hdmitx logs

Verify:
S7D

Test:
DRM-TX-78

Change-Id: I49bf8a82fc34e12594f823843aa705d992a96640
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-08-05 19:54:15 -07:00
xiangyang.yan fae282a51f S6: ethernet: googlecast wakeup [1/1]
PD#SWPL-179266

Problem:
googlecast wakeup

Solution:
add function googlecast wakeup

Verify:
bl201

Change-Id: I92b40055453e65df0a7735769acb590dc41f009c
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-08-02 21:04:55 +08:00
zongdong.jiao 022c4ab2c4 hdmitx: add external plugin/out handler for eARC hpd [1/2]
PD#SWPL-177527
PD#SWPL-173088
PD#SWPL-173090

Problem:
The HPD signal may be come from HDMI HPD, but eARC has HPD
status from status bits

Solution:
Add reading EDID data in external plugin handler with mutex
No external plugout handler

Verify:
sc2, t7c

Test:
DRM-TX-38

Change-Id: I443e69aa6c8949a0d49df476108414431fd067d7
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-08-02 19:19:45 +08:00
dian.shao 2785ce4b38 usb: s6 power optimise & misc [1/1]
PD#SWPL-177679

Problem:
S6 usb high power.
speed-drop usb devices.
u2phy disconnect, squelch & edgedrv cali

Solution:
Optimise suspend logic by holding usb controller reset bit,
usb controller comb reset bit, usb2_phy_reset_bit, usb3_phy_reset_bit
.Besides:
1. reset usb3_apb_reset_bit and leave it set then modify corresponding
static regs for low power.
2. off unused usb3phy digital 100M clk.
3. Some quirky devices take >2s to turn on Rterm and begin polling
after resume, which is seen in the new clean usb3 phy. This leads
to wait_for_connected timeout when resuming. Add XHCI_MISSING_CAS
for xHC to workaround by asserting warm reset at resume.

The speed-drop usb devices TX maybe unstable at insertion, leading to
CDR KI overload. Delay freq tracking start point by modifying fr_en
delay 1us->300us.

Modify params in driver & dts.

Verify:
BL201.

Change-Id: I4d6139ecad79e8582ada818338fcf53a1d66b131
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-08-02 19:13:37 +08:00
Zhongfu Luo 4ae41ac092 efuse: S6: support read cali data [1/1]
PD#SWPL-176790

Problem:
S6: support read cali data

Solution:
S6: support read cali data

Verify:
S6 BL208

Change-Id: I3c3d7ba9f6b9ad619141ef0496b74c6648007d4a
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2024-08-01 17:29:36 +08:00
Hao Shi e0c575634d codec_mm: scatter owner register [1/1]
PD#SWPL-176775

Problem:
scatter keep size need expand for vdin

Solution:
scatter user can set scatter keep size
by register scatter owner.

Verify:
ohm

Change-Id: I4be8af6dff0454cda9191666ec48cd1e03464127
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-07-31 20:57:11 +08:00
zhikui.cui b13deaba77 NAND: adjust the mechanism of register partition and get rsv parameter [1/1]
PD#SWPL-177473

Problem:
1.uboot pass partitions by cmdline in default
2.uboot pass rsv parameter by kernel dtb

Solution:
1.first register partitions from cmdline rather than dts
2.first parse rsv parameter from dts rsv part table

Verify:
AW419-C308L-Socket #020

Change-Id: Id7cb010d012768d54602be37d35940efed367d6e
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-07-30 11:09:15 +08:00
jinbing.zhu 9babc94a85 amvecm: s6 osd sharpness add load reg case type . [1/1]
PD#SWPL-176250

Problem:
osd sharpness add load reg case type

Solution:
osd sharpness add load reg case type

Verify:
s6

Change-Id: Ia3d12b9b859af62b5b94056bb16f44399e5681e9
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-07-29 10:11:59 +08:00
Hao Shi ac1b38c235 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-07-24 15:53:04 +08:00
yao liu a64e80c979 amdv: blank screen when osd3 on/off [1/1]
PD#SWPL-168062

Problem:
when osd3 on/off, core2a and core2c reset, but lut
updated fail; drm enable osd3 is one vsync earlier
then dv core2c

Solution:
1.drm set core2c lut when osd3 off->on
2.add force_toggle_once debug

Verify:
s5

Test:
s5

Change-Id: I5fe2a7abd1f4b887da5f32a655a24418fee86b64
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-07-22 19:07:26 +08:00
jinbing.zhu fad98367a6 amvecm: s6 osd sharpness bringup. [1/1]
PD#SWPL-173016

Problem:
s6 osd sharpness bringup

Solution:
s6 osd sharpness bringup

Verify:
s6

Change-Id: Ia15a81fee3bbad1302ce0253a6034ecf64555e6d
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-07-18 17:20:02 +08:00
Pengcheng Chen f09cf578f5 vpp: add dejaggy enable when input is interlaced [1/1]
PD#SWPL-176085

Problem:
s6 inline aisr quality is poor

Solution:
vpp: add dejaggy enable when input is interlaced

Verify:
s6

Change-Id: I734869c0a38d101922f92ff0857f1077d717334b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-07-18 17:12:10 +08:00
jinbing.zhu 503f39e4cb amvecm: s6 kernel bringup [1/1]
PD#SWPL-173016

Problem:
s6 kernel bringup

Solution:
s6 kernel bringup

Verify:
s6

Change-Id: Ibeefcf768f79e5e9e86caf9a37f30d8151fec223
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-07-18 08:12:38 +00:00
yao.zhou 8b9ce68999 camera: using v4l2 vdin [2/5]
PD#SWPL-176110

Problem:
bring up mipi sensor in s6

Solution:
1.add csi camera dts config
2.add csi driver support
3.the fe of mipi csi configure TVIN_SIG_STATUS_STABLE status defaultly
4.fix cfmt error
5.add VDIN_WORK_MD_V4L conditional statement
6.only modify s6_s905d5_bq201.dts s6_s905d5_bq208.dts s6_s905d5_bq209.dts
s6_s905x5_bl201.dts s6_s905x5_bl208.dts s6_s905x5_bl209.dts this time

Verify:
local

Change-Id: Ia54b8bf80dcbf26b3576e6eacc43b8f0082374b6
Signed-off-by: yao.zhou <yao.zhou@amlogic.com>
2024-07-18 10:30:07 +08:00
zongdong.jiao c53cd9ad8e hdmitx21: s6 need to support 1080p120hz [2/2]
PD#SWPL-176326

Problem:
s6 need to support 1080p120hz

Solution:
s6 need to support 1080p120hz

Verify:
S6

Test:
DRM-TX-130

Change-Id: I594f9671b36d3ea27c838bcf349a06cdcf2c707c
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-07-17 22:05:09 +08:00
hang cheng c2d04ecc69 hdmitx: provide hdcp topo info for drm [1/1]
PD#SWPL-174927

Problem:
currently apk like netflix get hdcp status
from hdmitx driver instead of drm, need to
use unify interface of drm to get hdcp status.
hdcp mode/auth status api already exist in drm,
but hdcp topo info is not provided to drm.

Solution:
provide hdcp topo info for drm

Verify:
s7d

Test:
DRM-TX-126

Change-Id: Ifb8c4bafdccd66a4d81d73c4501d264c72ddc80e
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-07-17 22:04:20 +08:00
zongdong.jiao e1cc963dbf hdmitx: add hdcp1.4 key validation method [2/2]
PD#SWPL-175733

Problem:
need method to validate hdcp1.4 key

Solution:
add hdcp1.4 key validation method, check
aksv loaded from tee contains 20 zeros and 20 ones

Verify:
s7

Test:
DRM-TX-137

Change-Id: I46c6f38d74c61f3edccbb819da0c98f3f9085018
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-07-17 22:03:49 +08:00
Wenjie Qiao 5f15dac23c hdmitx: sync edid valid_mode check between uboot/kernel [2/2]
PD#SWPL-154107

Problem:
sync edid valid_mode check between uboot/kernel

Solution:
sync edid valid_mode check between uboot/kernel

Verify:
sc2/s5

Test:
DRM-TX-27, DRM-TX-29, DRM-TX-42, DRM-TX-44
DRM-TX-59, DRM-TX-70, DRM-TX-113

Change-Id: I2a708d55575e8d781380a34b397296589aa69d71
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-07-17 22:03:34 +08:00