Commit Graph

825 Commits

Author SHA1 Message Date
zongdong.jiao 02fd74a5e1 hdmitx21: add vrr range and vic lists [1/1]
PD#SWPL-170918
PD#SWPL-161717

Problem:
Sink may support only 4k120, but its QMS range may be from
24 to 120.
Or sink may support upto 4k60, but 1080p120hz.

Solution:
Add the qms/game vrr range and vic lists to DRM group
Don't clear the EDID when forced_edid is true
Skip BRR 120 check when QMS tfr_max is false

Verify:
s7d/ross

Test:
DRM-TX-75

Change-Id: Ia65fa38bf18ae7399c9c4178665f8a3f18a03a74
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-06-27 20:10:21 +08:00
ruofei.zhao 6b2d0c2e1c hdmitx21: remove is_cur_hdmi_mode [1/1]
PD#SWPL-170502

Problem:
During the switch to 444,8bit, drm will first set_nulldisp_vout_server,
and then disable hdmitx module. Since it is not currently hdmi_server,
callback send_drm_pkt cannot clear hdr pkt.

Solution:
Remove the is_cur_hdmi_mode judgment in the send_drm_pkt function,
and the hdr pkt can be cleared normally

Verify:
SC2
S5

Test:
DRM-TX-34,DRM-TX-78,DRM-TX-79,DRM-TX-80,DRM-TX-81

Change-Id: Ie85a6073c0c11a8100d344cefffecac613c82a22
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-06-26 20:19:35 +08:00
Huijuan Xiao b7e23c9cc3 amvecm: vsync cost optimization [1/1]
PD#SWPL-172823

Problem:
dv_pq_ctl vsync cost optimization

Solution:
dv_pq_ctl vsync cost optimization

Verify:
s5

Change-Id: I747a15f21cc2e681da11218a0bf90a7cffeb3a8e
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-06-23 07:01:23 -07:00
congyang.huang 3dd9732893 vout: support connector type interface [1/1]
PD#SWPL-166618

Problem:
connectors can not get connector type

Solution:
add connector type interface for connectors to get value

Verify:
t7c txhd2

Test:
DRM-OSD-44

Change-Id: Ic6fe152d419bc1a9381ada21dfa9a808e4e2c84c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-06-20 10:13:29 +08:00
xiang.wu1 28c10f461f hdmitx: add soundbar switch API on hdmi tx driver [1/1]
PD#SWPL-172191

Problem:
[U] need add soundbar switch API on hdmi tx driver

Solution:
1.add sounbar_en node to control soundbar switch
write 1 is on, write 0 is off
2.if soundbar is on, not send hpd event to android
if soundbar is off, keep the original process

Verify:
T7

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

Change-Id: I4d2c78064a3d158eca038cbbae945a8331dac76d
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-06-19 14:54:56 +08:00
Jianxiong Pan c0ae2f061c mm: pagetrace: arm64 unable get _text and module_base parameters. [1/1]
PD#SWPL-161628

Problem:
arm64 unable get _text and module_base parameters via find symbal.

Solution:
use long type to store pagetrace information.

Verify:
sc2.

Change-Id: Id52bed43bbeed50a6d8ef0e32a54c5d9d9eab331
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-06-18 19:40:42 +08:00
hongyu.chen1 77e354e3d2 S7D: power domain amfc config. [1/1]
PD#SWPL-164972

Problem:
1.The AMFC module is currently configured to always on.
In order to save power consumption, power can be
removed during suspend.
2.usb power domain naming is not standard

Solution:
1.Cancel the AMFC always on configuration.
2.Change the usb domain name

Verify:
S7D

Change-Id: Ib92ffee894f248f7edb2a358bddc548543c68719
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-06-07 19:56:28 +08:00
Huijuan Xiao c5f24c8d0e 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-05-28 20:17:41 +08:00
zongdong.jiao 41246d4410 hdmitx: add brr_duration in vinfo struct [1/1]
PD#SWPL-170855

Problem:
When QMS is enabled, the BRR may 120hz. When switches to lower rate,
video player will run under lower rate and display abnormal.

Solution:
Add brr_duration and video still run BRR rate to avoid abnormal display.

Verify:
s7

Test:
DRM-TX-38

Change-Id: I03f3588f89648145ae06b66fe4db4bb9701559b3
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-05-24 21:48:17 +08:00
Long 19ae6f1b63 eMMC: add sg-link descriptors for crypto. [1/1]
PD#SWPL-168640

Problem:
The old descriptor chain will cause dun to not be updated.

Solution:
add sg-link descriptors.

Verify:
S7

Change-Id: I50ccca0f441c4df4945a350cfdf9779497d9bba5
Signed-off-by: Long <long.yu@amlogic.com>
2024-05-24 14:19:06 +08:00
rong.wang 82618db164 deinterlace: add api to get input param for vpp [1/1]
PD#SWPL-160157

Problem:
add api to get input param for vpp when pre-link

Solution:
add api to get input param for vpp

Verify:
t5m

Change-Id: I5f1198c94dfc840f5024d1fdb61bda2f5c5e8f4e
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2024-05-20 19:11:42 +08:00
Tao Zeng 6d13604db9 amfc: add amfc driver support [1/1]
PD#SWPL-137614
PD#SWPL-163213

Problem:
No amfc driver

Solution:
add it:
1, basic driver for AMFC
2, EROFS support
3, kernel compressed by ZSTD support

Verify:
pxp

Change-Id: I45d2e308d209e35edba626619072aae93c4d0f56
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-05-16 20:03:23 +08:00
guoqing.sun dad913e37f 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-05-16 15:28:51 +08:00
ruofei.zhao bdde14ac95 hdmitx: update hdmitx version [1/1]
PD#SWPL-168367

Problem:
update hdmitx version for release

Solution:
update hdmitx version

Verify:
S7D
SC2

Test:
DRM-TX-40

Change-Id: I6115555010b8303d44e2a4d422e1319cb436a79a
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-05-10 14:52:17 +08:00
xing.xu 96c9e956fd vdec: S5 Secure + no Secure play no smooth [2/3]
PD#SWPL-164404

Problem:
Back permissions are not separated from
front permissions.

Solution:
Separate back's permissions from front
and control them separately

Verify:
s5

Change-Id: I9e6465d5b8b45143a51c440d1a24160ad80087fb
Signed-off-by: xing.xu <xing.xu@amlogic.com>
2024-05-08 16:25:51 +08:00
Long 01f29c4a9a eMMC: support inlinecrypt feature. [1/1]
PD#SWPL-166960

Problem:
need inlinecrypt for emmc

Solution:
support inlinecrypt feature

Verify:
S7

Change-Id: I1d328d527a714b1f4661b0d0c328ecedec30d0d4
Signed-off-by: Long <long.yu@amlogic.com>
2024-05-07 20:15:49 +08:00
hang cheng c6fc740445 cvbs: add video mute test api [1/1]
PD#SWPL-167292

Problem:
need cvbs video mute api for special test

Solution:
add cvbs video mute api for drm: call
cvbs_video_mute(true / false) to mute/unmute
CVBS video output, it will keep video mute
even set cvbs output again, until drm call unmute.

Verify:
s1a

Test:
CVBS video mute/unmute + hotplug hdmitx and check cvbs mute

Change-Id: I5f6d5c28596f0cdf26c9356a2500b1fe8fe43fd7
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-05-07 17:13:05 +08:00
ruofei.zhao 21fc5d87c6 hdmitx21: auto change the color depth to support HDR under DV_STD [1/1]
PD#SWPL-160150

Problem:
play HDR video under DV_STD, output as SDR

Solution:
auto change the color depth to support HDR under DV_STD

Verify:
SC2
S5

Test:
DRM-TX-90

Change-Id: Ifd830c91c68a600f5ac4c3b9e00b0709083b74e8
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-05-07 14:28:39 +08:00
hang cheng 5cde5c9656 hdmitx: not send uevent after suspend [1/1]
PD#SWPL-158050

Problem:
it will block suspend if send kobject uevent
when suspend

Solution:
not send uevent after suspend

Verify:
ohm

Test:
DRM-TX-105

Change-Id: I66f13e24076290f99defca8badb8d94d8b2e3e2a
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-05-07 14:03:12 +08:00
qing.zhang a8b13074b7 Audio: add earc rx for s7d [1/1]
PD#SWPL-163105

Problem:
new earc Rx design

Solution:
changelist from https://scgit.amlogic.com/#/c/417153
1. new default setting for arc in
2. remove pll refresh when startup
3. when cmdc init, need refresh pll after pll default setting
4. force channel sync for channel mapping
5. add dmac bit29 check for common arc check
6. add iec raw channel status check
7. use chip info(arc_ch_sync/arc_in_new)

Verify:
use s7d

Change-Id: Id681334bfde57bfe71a870a16859e24712e262e3
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-05-07 13:56:44 +08:00
Huijuan Xiao 0d7756fb36 amvecm: add sbtm feature [1/1]
PD#SWPL-163931

Problem:
new feature of hdmi source based tone mapping.

Solution:
add sbtm corresponding flow and APIs.

Verify:
s5

Change-Id: Iee87b4762bfacff94856b972569e03cf0796b031
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-05-07 12:20:02 +08:00
Yao Jie ef7f98b9e0 mailbox: t5m add aocpu alive check mechanism [1/1]
PD#SWPL-155395

Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.

Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.

Verify:
T5M-AY309

Change-Id: Idd1c47fd99505f3a159c86390c28303f5a5b60e9
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-18 19:50:25 +08:00
Yao Jie e595c81e0e mailbox: s7 add aocpu alive check mechanism [1/2]
PD#SWPL-155399

Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.

Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.

Verify:
S7-BH201

Change-Id: Ib548b4c0fc929b4bed788e9a350bd3791fd93f1a
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-18 19:46:12 +08:00
jinbing.zhu d16f9f13eb amvecm: s7d add demo safa reg interface [1/1]
PD#SWPL-163847

Problem:
add demo safa reg interface

Solution:
add demo safa reg interface

Verify:
verify on s7d

Change-Id: Ide58e5efbf68b609fe39269ce7f4c252d0b9c585
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-04-18 19:00:18 +08:00
wenlong.zhang 456003ca6a 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-18 19:00:18 +08:00
hongyu.chen1 954595fbf5 S7D: Clean up power domain state. [3/3]
PD#SWPL-163896

Problem:
1.need to clean out the power that
is always on to save power.
2.Some modules related to mempd have
been added for debugging later.

Solution:
1.Clean up an open power supply.
2.add power domain config.

Verify:
S7D

Change-Id: Ic313a24168041cb925483202bc26f9c53c6b1548
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-04-18 19:00:18 +08:00
Zelong Dong c7e42e11bb ir: support 2 multi-format ir controller [1/1]
PD#SWPL-163059

Problem:
legacy ir controller was updated to multi-format ir controller
and each controller have a IRQ

Solution:
support 2 IRQs in ir driver

Verify:
s7d_bm201

Change-Id: I268562144440d642e4f635dbe76bb45f799d6bee
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-04-18 19:00:18 +08:00
Yao Jie ef9264fb51 mailbox: s7d add aocpu alive check mechanism [1/1]
PD#SWPL-163760

Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.

Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.

Verify:
S7D-BM209

Change-Id: I285a300313c1439be2ed50fafc58c4a92fa032ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-18 19:00:17 +08:00
Chuan Liu 1b98582042 clk: s7d: Fix known issue [1/1]
PD#SWPL-163050

Problem:
1 PLL driver adds rstn features
2 Add ACLKM clock
3 Adapts to pll_v4_ops

Solution:
Fixed

Verify:
s7d_bm209

Change-Id: Ide5199539d388d9ee415ecf65f3c162b2e4c881c
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-04-18 18:59:11 +08:00
jinbing.zhu 7fe1d006db amvecm: s7d amvecm bringup support [1/1]
PD#SWPL-163099

Problem:
s7d amvecm bringup support

Solution:
s7d amvecm bringup support

Verify:
verify on s7d

Change-Id: I3a6ed3bc4b7bd411420c89eafc06a212de2c6148
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-04-18 18:59:10 +08:00
Yao Jie 25de2d7b85 mailbox: s7d mailbox bringup [1/1]
PD#SWPL-163061

Problem:
If there are more requirements of mailbox channels
application for other modules, mailbox driver should
be changed to add more channels, this is inconvenient
for other drivers usage

Solution:
Allocate more reserved mailbox channels for other
modules application in the future

Verify:
S7D-BM209

Change-Id: I669d42aa386676d959e27ebb51c6d7dedd7d54ac
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-18 18:59:10 +08:00
hongyu.chen1 5edd91dd2e S7D: add power domain config in kernel. [1/1]
PD#SWPL-163077

Problem:
Some new power domains have been added.

Solution:
Add the relevant configuration.

Verify:
S7D

Change-Id: I7f5bc148d0034ffad96b1f04f00417ec5796dced
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-04-18 18:59:10 +08:00
zhou.han 4c21756cf2 hdmitx: s7d pxp kernel [1/1]
PD#SWPL-147320

Problem:
s7d kernel hdmitx bringup

Solution:
Based on 5.15 code refactoring, sync with s7 and s1a

Verify:
pxp/s7d

Test:
pxp

Change-Id: I8e298f08a7b7f0b4302211785e6ecdfea178ec18
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-04-18 18:59:09 +08:00
yao zhang1 0a1ded1ad6 bringup: Fixed s7d build error [1/1]
PD#SWPL-165213

Problem:
Fixed s7d build error

Solution:
Fixed s7d build error

Verify:
s7d

Change-Id: Ic5cc56c134821e5710f00d32fe82eb7d404b07aa
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2024-04-18 18:59:09 +08:00
wenlong.zhang 60eff10348 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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-04-18 18:58:46 +08:00
Chuan Liu a7c865d81c clk: s7d: add scmi clocks [2/2]
PD#SWPL-158288

Problem:
1 Adding the logic associated with the en0p5 member makes the driver's
processing more complicated and messy.
2 Added clocks with security permissions.

Solution:
1 Only add CLK_MESON_PLL_FIXED_EN0P5 flag to implement the functions
of en0p5, so that the driver change cost is minimal.
2 Determine whether to add the CLK_MESON_PLL_FIXED_EN0P5 flag based
on whether en0p5 is enabled in init_regs.
3 Added scmi clocks

Verify:
pxp

Change-Id: I2f9e258569f4bed44cb5fd9b57368dbfa3c425cb
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-04-18 18:55:34 +08:00
hongyu.chen1 5dec1816a7 S7D: power domain: modify config. [1/1]
PD#SWPL-154090

Problem:
The S7D and S7 power domain names overlap
and need to be repaired.

Solution:
modify config.

Verify:
Compile through.

Change-Id: Ia0d18a5a2684184b8c5938c77b8b7adccd8b0ad6
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-04-18 18:55:33 +08:00
Zelong Dong e45a3f4cad reset: add reset controller support for s7d [1/1]
PD#SWPL-147281

Problem:
don't support s7d platform

Solution:
add reset controller support for s7d

Verify:
s7d_pxp

Change-Id: I29250fbe165b6f51f61bac180f0eb47bb2151fa3
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-04-18 18:55:33 +08:00
hai.cao 972e64b4b4 video: debug vsr for s7d [1/1]
PD#SWPL-149452

Problem:
s7d video bringup

Solution:
complete it

Verify:
ptm

Change-Id: Ic59ed825b97d030949a5e85f060b1f2218d61c60
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-04-18 18:55:33 +08:00
hai.cao fd2758ee21 video: add video support for s7d [1/1]
PD#SWPL-147310

Problem:
s7d video bringup

Solution:
complete it

Verify:
ptm s7d

Change-Id: I2f9929c75ee5fe72827640ced4f82516e81e159a
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-04-18 18:55:33 +08:00
Yao Jie b656fc5597 mailbox: s7d mailbox pxp bringup [1/1]
PD#SWPL-147284

Problem:
s7d mailbox pxp bringup

Solution:
s7d mailbox pxp bringup

Verify:
S7D-PXP

Change-Id: Ibbba899fb22cc21701a9555684c9e8cd314265a4
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-04-18 18:55:32 +08:00
hai.cao 10a9f120fe media_common: add support for codec_io/canvas/rdma [1/1]
PD#SWPL-147308

Problem:
s7d codec_io/canvas/rdma bringup

Solution:
complete it

Verify:
pxp

Change-Id: I154905159339d255af2d542563d5dc0d7d262f0e
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-04-18 18:55:32 +08:00
Chuan Liu 50a1e83d32 clk: s7d: clock tree bringup [2/2]
PD#SWPL-147273

Problem:
clock tree bringup for s7d

Solution:
added

Verify:
pxp

Change-Id: I629a0465ad61aa7935fea2d850fbd3418f7a840e
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-04-18 18:55:32 +08:00
Huqiang Qin 315cf6583d gpio: s7d: support gpio and irq [1/1]
PD#SWPL-146832

Problem:
S7D PxP Bringup.

Solution:
S7D PxP Bringup.

Verify:
PxP

Change-Id: I5954932f83e4cfb1aded18c90879c27522ca550d
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-04-18 18:55:32 +08:00
hongyu.chen1 4e694e2180 S7D: power domain: add support in kernel. [3/3]
PD#SWPL-146595

Problem:
S7D need power domain in kernel.

Solution:
add power domain in kernel.

Verify:
pxp

Change-Id: Ia05ec9960f38388444ae14869576f8cd1d51cf78
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-04-18 18:55:32 +08:00
Ao Xu aa7e2047cd 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: I02a58d23794c58b7cbc416f8ff5d692e814c3084
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-04-18 14:27:30 +08:00
jinbing.zhu a923b005f0 amvecm: 5.15 add vpp yuv/rgb format switch for hdmitx [1/1]
PD#SWPL-151057

Problem:
hdmitx can't convert to rgb when dsc enable

Solution:
add vpp yuv/rgb format switch for hdmitx

Verify:
s5

Change-Id: I9984028f97e81d075929995b919a1d6bb1dedf40
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-04-12 17:35:34 +08:00
Wenjie Qiao 87f7649b31 hdmitx: set frac 0 when brr mode [1/1]
PD#SWPL-163844

Problem:
switch to 59.94hz, not set 60hz mode when qms enable
because frac mode

Solution:
set frac 0 when brr mode

Verify:
s7d

Test:
DRM-TX-75

Change-Id: I69fc38ffee456d2a917f586e7ed04dad3aa8a22d
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-04-08 17:09:08 +08:00
mingyang.he a71c985c72 drm: kasan failed for slab-out-of-bounds [1/1]
PD#SWPL-151540

Problem:
kasan failed
cat/echo sysfs osd node crash in s5
cat fbdump return zero size file in s5

Solution:
reset BLOCK_ID_MAX with 32
sysfs node should according to vpu block by index
set correct plane index

Verify:
s5, t5m

Test:
DRM-OSD-17

Change-Id: I02094c9044b172af46ab9b5bd5688a12f18ce96a
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2024-04-02 10:12:42 +08:00
yahui.liu 5bad8510a7 hdmitx: [hpd] add system time id in hdmitx state [1/1]
PD#SWPL-158042

Problem:
drm module automic-check and automic-enable use differnet hpd status
information when hdmitx hotplug

Solution:
[hpd] add system timein hdmitx state

Verify:
S5/SC2

Test:
DRM-TX-103

Change-Id: Id0f37cf01c5266a720f2881ee8cd9fab274b79b9
Signed-off-by: yahui.liu <yahui.liu@amlogic.com>
2024-04-01 19:47:02 +08:00