Commit Graph

792 Commits

Author SHA1 Message Date
ruofei.zhao 3f6e4635c3 module: update hdmitx version to 20240712 [1/1]
PD#SWPL-176541

Problem:
update hdmitx version for release

Solution:
update hdmitx version to 20240712

Verify:
S6

Test:
DRM-TX-40

Change-Id: I113108804c58904be373d9bd4f264227b0d1b247
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-07-15 00:05:22 -07:00
yao liu 6bf8cf9fca amdv: blank screen when osd3 on/off [1/1]
PD#SWPL-168620

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-15 00:04:56 -07:00
zhou.han d871967cda hdmitx: autotest fix [1/1]
PD#SWPL-161339

Problem:
EDID auto test fail

Solution:
print Source Physical Address

Verify:
ohm

Test:
autotest

Change-Id: I23cffa299418a7c79becfabb37c545baca4c6bda
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-07-11 02:05:11 -07:00
ruofei.zhao f7f1e76909 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>
2024-07-10 03:57:14 -07:00
yao liu 54f6b192cc amdv: display error when resume in DLG mode [1/1]
PD#SWPL-175926

Problem:
In DLG mode, display size is 3840x1080, aoi reg
is updated to 3840x1080, if disable/enable video
with no toggle, aoi reg will continue to be halved

Solution:
record the ori and updated AOI with new variables

Verify:
t5m

Change-Id: Idbc479a1d157fb35be131b7b9896e5cbf0ee3b67
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-07-10 03:57:05 -07:00
dongfei.li 53d7b90d24 frc: frc chg t5m n2m setting [1/1]
PD#SWPL-171634

Problem:
chg n2m setting

Solution:
chg n2m setting

Verify:
T5M

Change-Id: I77f7bf82912d7fc216aee6ebd646bb32b2c119c2
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2024-07-09 21:52:52 -07:00
dian.shao 378f02428b usb: u3phy trim [1/1]
PD#SWPL-172978

Problem:
The u3phy needs trimming.

Solution:
Add driver codes.

Verify:
S6.

Change-Id: I159f6c74f78c8dbde2e180514f8ca215bab2ffa5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-09 08:02:48 -07:00
lizhi.hu c2f5aacc61 lcd: s6 bringup [1/1]
PD#SWPL-173021

Problem:
s6 bringup

Solution:
add support for s6

Verify:
s6_bq201

Change-Id: I3363de352ae5b29e2b27e32bf281e0def506bb44
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-07-09 06:05:03 -07:00
Pengcheng Chen 8c9fbe53ee 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-09 05:11:08 -07:00
lukang.jia 18df5f6c62 frc: frc add crc debug method [1/1]
PD#SWPL-175641

Problem:
add crc debug method

Solution:
add crc debug method

Verify:
T5M

Change-Id: I51e9c0c51c5349bc60b598d981830ccfd45a3461
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2024-07-09 02:06:50 -07:00
shipeng sun e49480a2f7 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-07-08 05:57:10 -07:00
hang cheng d9c2487367 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>
2024-07-07 20:13:35 -07:00
zhenteng.tian 5d51f3adf9 vc: screen anomaly when using vf and dma buf for compositing.. [1/1]
PD#SWPL-174021

Problem:
screen anomaly in dma_buf and vf frame data composition using composer.

Solution:
1.clear src_vf after completing the composition of a frame of data.
2.fix the issue vicp cannot perform compositing on dma_buf.

Verify:
T3X

Change-Id: Ibf5492d823a1f1e8540feae7d8e275487a83710c
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-07-05 21:44:44 -07:00
qiyao.zhou cf807c8e91 vicp: add enhanced security support for S6 [1/1]
PD#SWPL-174883

Problem:
add enhanced security support for S6

Solution:
add enhanced security support for S6

Verify:
s6

Change-Id: If4c88fecc4f0224402292c12a731494bda520499
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-07-05 10:44:48 +08:00
dian.shao b600110bfc usb: usb3.0 phy cfg update [1/1]
PD#SWPL-175043

Problem:
usb3.0 phy cfg update.

Solution:
update driver.

Verify:
bl201 & bl208

Change-Id: I72bde2600870859b4a2aa3f4c448f1f553890ee7
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-05 10:44:48 +08:00
jinbing.zhu 22154d4249 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-05 10:44:47 +08:00
zhiwei.zhang 51257246f0 camera: camera bringup on s6 [1/1]
PD#SWPL-173326

Problem:
add camera code for s6

Solution:
1. driver compatible for sm1 & s6;
2. for s6, add dts setting for squlech and deskew.
3. ov5640 add 640x480 rgb setting
4. 2 lanes & 4 lanes setting
5. enable mclk 24M using ioremap;

Verify:
local

Change-Id: I81dbaea3ddf46a4078d925ed64d230f6261a3f75
Signed-off-by: zhiwei.zhang <zhiwei.zhang@amlogic.com>
2024-07-05 10:44:47 +08:00
Doosan Baek e69174d9bf kt: s6 kl/kt bringup [1/1]
PD#SWPL-169992

Problem:
s6 kt/kl kernel bringup
need multi2 algo type

Solution:
s6 kt/kl kernel bringup
add multi2 algo type

Verify:
s6

Change-Id: I0622e86c05194784934f08aa0dd5d38b1239857e
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2024-07-05 10:44:46 +08:00
dian.shao ac3a75e803 usb: s6 bringup usb3.0 & misc [1/1]
PD#SWPL-172978

Problem:
S6 Silicon Bringup
- Kernel
- High speed peripheral driver
- USB
- usb3.0 & misc

Solution:
Dts&driver.

Verify:
s6

Change-Id: If7cdf1af5dc6c21a91eb89869bf9e6ca32be9d00
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-05 10:44:45 +08:00
jinbing.zhu 2918237026 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-05 10:44:45 +08:00
dian.shao 46361691a0 usb: s6 bringup [1/1]
PD#SWPL-172978

Problem:
S6 Silicon Bringup
- Kernel
- High speed peripheral driver
- USB

Solution:
Dts&driver.

Verify:
s6

Change-Id: If41c5d1fa45be1eeb9453b1c9c435cf0b05042a5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-05 10:40:49 +08:00
yuhua.lin 4ed34b9179 s6: add codec_io/canvas/rdma support for s6 [1/1]
PD#SWPL-156543

Problem:
s6 codec_io/canvas/rdma bringup

Solution:
complete it

Verify:
pxp

Change-Id: Ic9facdff23c43b330d8203744d9ca6a3a0172b8f
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-05 10:40:48 +08:00
song.han a14fb05934 iotrace: call stack support [1/1]
PD#SWPL-175591

Problem:
5.15-u scs can't work
arm 32bit caller_addr can't work

Solution:
arm64 use CALLER_ADDR micro
arm32 support find stack operation

Verify:
SC2

Change-Id: Ic8142284af335f22cf5fe0aceb438e2119ec7373
Signed-off-by: song.han <song.han@amlogic.com>
2024-07-03 23:11:16 -07:00
qiyao.zhou 2c4572ef31 vc: bypass di according to compression ratio [1/1]
PD#SWPL-172361

Problem:
bypass di according to compression ratio.

Solution:
Modify vc flow to implement this requirement.

Verify:
t5m

Change-Id: Iace3aec5f202369882793a42c66a6b590211cf29
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-07-03 00:13:18 -07:00
Tao Zeng c8d8b493d3 amfc: add support for s7d revb [1/1]
PD#SWPL-175588

Problem:
Need support s7d revb

Solution:
1, add clk set for revb;
2, use clk interface for clk set

Verify:
S7D bm201

Change-Id: I168a942f6796208dd4dff67a13f065be14a40f0c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-07-02 21:10:48 -07:00
Cheng Wang d812c13867 frc: frc cursor control debug [1/1]
PD#SWPL-174725

Problem:
frc cursor control debug

Solution:
frc cursor control debug

Verify:
T3X

Change-Id: I0e42149990f0160fd385fe3b8b5d341847ba0949
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2024-07-01 05:39:12 -07:00
Long f0b480d4f1 eMMC: support amlogic CQE v2. [1/1]
PD#SWPL-160981

Problem:
The CQE v1 does not support placing tasks in memory
and does not support data encryption.

Solution:
support CQE v2

Verify:
S7 ax201

Change-Id: I0737d7b2b9e955838a9f3294d1f5faf5fd84aa17
Signed-off-by: Long <long.yu@amlogic.com>
2024-06-30 22:01:20 -07:00
Pengcheng Chen 0e84724283 vpp: add vpp afd info for hdmi and atv [2/2]
PD#SWPL-168860

Problem:
add vpp afd info for hdmi and atv

Solution:
1. add vpp afd info for hdmi and atv
2. add crop info into afd input param

Verify:
t5m

Change-Id: I882a2d59c8738e3844d0ccc72e41a267a4463c62
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-06-28 05:54:00 -07:00
haitao.liu 105de984f7 vdin: Pass afd info to vpp [1/2]
PD#SWPL-168849
PD#SWPL-168856

Problem:
AFD feature development

Solution:
vdin pass afd info to vpp

Verify:
t5m

Change-Id: I3264ef109e560590b3da1c5ae0d2ab6355c8ea19
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2024-06-28 05:53:51 -07:00
zhenteng.tian cb8730b144 video_composer: set frc operation mode according to duration. [1/1]
PD#SWPL-172344

Problem:
use video_composer to set the FRC working mode.

Solution:
use video_composer to set the FRC working mode.

Verify:
T5M

Change-Id: I70ad264105144ae07b2c8336e722c7369c025f74
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-06-28 03:58:00 -07:00
Wenjie Qiao e0f9a0246d 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>
2024-06-28 03:57:46 -07:00
qinglin.li b287e54ab6 freertos: C3 fix rtos lose frame [1/2]
PD#SWPL-175077

Problem:
C3 doorbell lose frame

Solution:
Optimize ISP and encoder processes

Verify:
c3

Change-Id: Ief888fb4d5e9a7e93af94487dc92eeadbe22c7e1
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-06-26 23:06:06 -07:00
hai.cao c706a147f1 video: crop size changed by vframe crop size [1/1]
PD#SWPL-172574

Problem:
Switch between horizontal and vertical screens crop error

Solution:
swap frame do not set crop when switch screen direction

Verify:
t7c

Change-Id: I3cc00d513e1b155af0674e2f21177e4217a4cc11
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-06-25 23:06:31 -07:00
Evoke Zhang 849fcbb851 lcd: tcon: optimize tcon multi data set [2/2]
PD#SWPL-172429

Problem:
need optimize tcon multi data set flow

Solution:
optimize tcon multi data set flow

Verify:
ay301

Change-Id: I6ab7b24ea36d45108c911c1bee9ea1555f1eb573
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-06-25 23:06:20 -07:00
ruofei.zhao d7760c4cc1 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-25 23:06:12 -07:00
Evoke Zhang 7ad52c9b88 lcd: tcon: add new ctrl_type for demura multi lut [2/2]
PD#SWPL-172404

Problem:
need support new ctrl_type for demura multi lut

Solution:
add new ctrl_type for demura multi lut for resolution match

Verify:
ay301

Change-Id: If3cfdf49f65c31801b5014b2d5c268bc3521de9b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-06-24 02:36:20 -07:00
Long 1d680881eb sdio: Optimize the throughput performance of sido wifi. [1/1]
PD#SWPL-174291

Problem:
need to improve sido wifi performance.

Solution:
Switch sdio source clock to DIV2 to provide bandwidth

Verify:
S7 ax201

Change-Id: I471517743851f381ec5d50aac3df9b26e5fe4aee
Signed-off-by: Long <long.yu@amlogic.com>
2024-06-23 23:02:29 -07:00
Huijuan Xiao d185352d12 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: Ib5b42470fcfbcc90264ff3074461d24f960ab4f9
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-06-20 23:41:07 -07:00
Cheng Wang 2bd2be5153 frc: add rdma access reg for alg [1/1]
PD#SWPL-94797

Problem:
add rdma access reg for alg

Solution:
add rdma access reg for alg

Verify:
T3X

Change-Id: I039dfab67d964c38dcf98c4bc5fe38833d823733
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2024-06-20 23:40:22 -07:00
jie.dai c12976a050 lcd: lcd memory management [2/3]
PD#SWPL-160850

Problem:
need add driver to manage lcd memory

Solution:
1. add resman platform driver to manage lcd common resource
2. add reserved memory management driver

Verify:
t5m/t3x/t3/t5w/t5d/txhd2

Change-Id: Id92a3807a234a650d48645d35c8f445b24fbcf69
Signed-off-by: Jie Dai <jie.dai@amlogic.com>>
2024-06-18 23:40:55 -07:00
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
xiang.wu1 3e99d70844 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-17 06:03:18 -07:00
yaoyu.xu 11e6779c74 dsc: dsc flow modify [1/1]
PD#SWPL-165955

Problem:
some dsc format can not decode.

Solution:
adjust dsc settings.

Verify:
t3x

Change-Id: If89605bbaeed3f40b59d4c53a4721de2929f4f23
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-06-11 01:49:03 -07:00
huijie.huang a1431ff50f lcd: tcon support extern header [2/2]
PD#SWPL-171136

Problem:
Tcon need to support extern header

Solution:
Tcon add extern header analyser

Verify:
ay301

Change-Id: Ia360dc58801edeb82ecda0ae946bc13c33cb509b
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2024-06-07 03:57:56 -07:00
Jianxiong Pan b47e253023 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-06 02:24:59 -07:00
lizhi.hu ee3e9b6639 lcd: tablet multi timing support 2 [1/1]
PD#SWPL-166373

Problem:
lcd meed support multi timing switch func

Solution:
1. connectorX_type based vout output control
2. outputmode no more have panel/panel1 indicator, now use timing
3. lcd list and lcd set func help to set lcd config

Verify:
t7_an400
t3x_bc302_multidisplay

Change-Id: I4881627ac083b62f26397f6d749adff2c867989e
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-06-05 04:01:40 -07:00
Xingxing Wang 562c6fc1b6 thermal: add indmc sensor driver to do thermal cooling [1/1]
PD#SWPL-166661

Problem:
DDR kernel refresh control patch list

Solution:
add indmc sensor driver to do ddr thermal cooling

Verify:
S7D

Change-Id: I5ba8d167f9ce83785f51af6d2809030147aaacde
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-06-05 04:00:52 -07:00
congyang.huang c5702cf190 drm: dummy connectors should only register corresponding vout_server [1/1]
PD#SWPL-166621

Problem:
dummy connectors should only register corresponding vout_server

Solution:
dummy connectors register vout_server by connector type env

Verify:
t7c t3x

Test:
DRM-OSD-26

Change-Id: Ibcecc573739cfefe92797fe562bcf1d04d3dfc93
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-06-05 04:00:27 -07:00
congyang.huang 82af31ee68 drm: drm supports a new connector type framework [1/1]
PD#SWPL-166619

Problem:
DRM needs to support mode switching for lcd tablet

Solution:
1.drm extend private connector type for hdmitx
2.modify the found connector flow in the logo
3.add connector type property for hwc to get private type
4.remove old lcd rate hint flow

Verify:
t7c, t3x

Test:
DRM-OSD-44, DRM-OSD-5

Change-Id: I192c29c9f2c8c2936810103407cd7cd219a85401
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-06-05 04:00:22 -07:00
Evoke Zhang 0518029b68 lcd: optimize debug information [2/2]
PD#SWPL-171280

Problem:
lcd debug information need optimized

Solution:
optimize lcd debug information

Verify:
ay301

Change-Id: I0ca030f2cdbd5c306cb229568138a155028059f3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-06-03 00:12:42 -07:00