Commit Graph

4269 Commits

Author SHA1 Message Date
Hanjie Lin a780b7fe8d mm: compaction_alloc don't alloc CMA pages [1/1]
PD#SWPL-141879

Problem:
compaction_alloc don't alloc CMA pages

Solution:
free_pfn skip CMA pages

Verify:
sc2

Change-Id: I3d32d72c342a1c6438822475bf560f9ab329ec57
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2023-11-05 06:37:04 -07:00
hang cheng 931ac5b9a7 hdmitx: correct hdcp key query method [1/1]
PD#SWPL-142652

Problem:
after load hdcp2.2 key, hdcp2.2 is not initialized,
as checked hdcp_tx22 is not loaded

Solution:
when init hdcp2.2, no need to check if hdcp_tx22
daemon is loaded, only check hdcp2.2 key load state

Verify:
ohm + rdk

Test:
DRM-TX-37

Change-Id: I25eb429072c4213536c11718ea37b107b2363aca
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2023-11-03 16:45:18 -07:00
qiang.liu daa2cc8f1e vdin: add auto pc and game process [1/1]
PD#SWPL-141914

Problem:
not add auto pc and game process

Solution:
add auto pc and game process

Verify:
t5m

Change-Id: Ic08c047e789e44d9a9be69c06c849dc755502da3
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-11-03 16:45:12 -07:00
haitao.liu 6362d40844 vdin: optimization for scatter memory processing [1/1]
PD#SWPL-142550

Problem:
In game mode,vdin pause ddr written and set display mode
to SKIP,but video queue will not skip it in game mode,
and that vdin freed these scatter memory of vf,
so causing video abnormal.

Solution:
do not send vf out when pausing ddr written

Verify:
t5m

Change-Id: I0552c4ba0bab2edb5bd0865b4db75868f36ef107
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-11-03 16:45:08 -07:00
song.han 18fc618fcb debug: lockup and panic flow optimize [1/1]
PD#SWPL-144359

Problem:
add debug feature

Solution:
show sysrq't' when rcu stall panic
fiq dump other cpu stack when hardlockup panic
improve watchdog panic notifier priority
disable watchdog when set panic_print

Verify:
s4

Change-Id: I6af43456105a3cf802d54608d62cbb25d327a73e
Signed-off-by: song.han <song.han@amlogic.com>
2023-11-03 04:15:36 -07:00
qing.zhang c3cbeb540b audio: tl1 codec L/R inversion [1/1]
PD#SWPL-143895

Problem:
tl1 codec recording the L/R data are inverted.

Solution:
1.use codec_0 bit[18][19].
2.need combined use https://scgit.amlogic.com/#/c/352558/

Verify:
txhd2

Change-Id: Iad22963df0e53405329188edb69e526ac8ab1dc4
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2023-11-03 04:15:31 -07:00
yuhua.lin 8199a6c6db video: video printk log optimize [1/1]
PD#SWPL-144306

Problem:
video printk log optimize

Solution:
complete it

Verify:
none

Change-Id: Ia018e3193606d47730148e2f211949a5ccf1d015
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-11-03 04:15:27 -07:00
qinghui.jiang 6b5c88f828 amvecm: lc effect not sync for t3x [1/1]
PD#SWPL-140807

Problem:
lc effect not sync for 2 slice.

Solution:
modify code flow for settings sync.

Verify:
t3x

Change-Id: I223271b29f2446079975528ce1710e5515e7a184
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-11-03 04:15:20 -07:00
yongbing.he 002d7d1ef1 freertos: freertos featrue reorganize. [1/1]
PD#SWPL-137651

Problem:
notifiers event delay.

Solution:
first call freertos notifiers.

Verify:
local

Change-Id: I1a5191c1fe9efbb38dfc263e6801a56391f48d2f
Signed-off-by: yongbing.he <yongbing.he@amlogic.com>
2023-11-03 02:47:28 -07:00
Yu Tu 23a3a7bd83 pcie: add not msi interrupt judge logic [1/1]
PD#SWPL-144384

Problem:
pcie wifi interrupt too many lead to system crash

Solution:
add not msi interrupt judge logic

Verify:
S5

Change-Id: I1d6e420ce48e2e74d787349ff31dc632d18c94bb
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-11-03 02:47:21 -07:00
lukang.jia 112039050e frc: frc handle diff duration from vpp [1/1]
PD#SWPL-144266

Problem:
frc disable in some duration

Solution:
enable frc when the duration greater than 1500

Verify:
T3X

Change-Id: I31395e57fe96b47c97cc208a00996bdc4b8f6503
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2023-11-03 01:05:19 -07:00
zongdong.jiao b74f7746bb hdmitx21: add qms-vrr function [1/1]
PD#SWPL-137039

Problem:
Lack qms-vrr function

Solution:
Add qms-vrr function

Verify:
t7/an400

Test:
DRM-TX-17

Change-Id: I8aff33d9cf2db80c5b82310d8dd4531d5d32b288
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2023-11-03 01:05:11 -07:00
jialong.jiang 2ec554bebb dv: timing problem. [1/1]
PD#SH-16883
PD#SWPL-143566

Problem:
timing problem.

Solution:
fix g_vpotch to 0x14.

Verify:
t7c.

Change-Id: I96393c505c69c30b5d80fcb4893aeac43a01f6e8
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-11-03 01:05:07 -07:00
can.zhang 4480bf0fe2 amdv: add ensure dv unmute on trunk 5.15 [1/1]
PD#SWPL-144481

Problem:
dv unmute makes black screen

Solution:
ensure dv unmute at core turn off

Verify:
T963D4

Change-Id: I502b3e41f3d79e7ef9f6abdd024784f35aff9427
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2023-11-02 23:05:31 -07:00
Zhuo Wang b51df03ae2 eth: fix NETLINK [1/1]
PD#SWPL-139055

Problem:
device_init_wakeup will cause NETLINK

Solution:
not switch wol status anymore

Verify:
QA_verify with T7C

Change-Id: I823ce0c80babef1a1c83d811c3af126e7b27f995
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2023-11-02 23:05:27 -07:00
donghui.wang 43b028b161 ldim: modify get bl_matrix for tool [1/1]
PD#SWPL-142087

Problem:
pqtool cannot get bl_matrix

Solution:
modify get bl_matrix interface

Verify:
t3x

Change-Id: I8d3eeccc14b99b2978368c31d2e4e8fa19da76bc
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2023-11-02 23:05:10 -07:00
rufei.fu 5e5dc478f5 TXHD2: fix codec_mm memory address issue [1/1]
PD#SWPL-144557

Problem:
When codec_mm is located at a low memory address,it can lead
to a reduction in the memory available for the kernel to assign.

Solution:
change codec_mm 168MB to higher memory address

Verify:
TXHD2 AndroidT

Change-Id: Ie48f72ecbac59acec6855856cebbb3888c0e1148
Signed-off-by: rufei.fu <rufei.fu@amlogic.com>
2023-11-02 06:47:32 -07:00
mingxiu.sun 331f4ebfcb vdin1: hist and screenshot are abnormal [1/1]
PD#SWPL-143500

Problem:
1.The hist related register is initialized when vdin_start_dec,
the hist value of the DG is overwritten after the system starts
2.The abnormal frame is intercepted before the video signal stabilizes
3.The probability of hist's width and height is 0
4.When closing the front-end channel,
setting 0x1df9 and 0x2783 to 0 results in abnormal hist function

Solution:
1.For txhd2, remove the hist initial configuration from vdin_set_all_regs
2.Frames are dropped when an abnormal frame is found for vdin1
3.Add 20ms delay when the hist register completes
4.After closing the front-end channel, configure the hist register

Verify:
txhd2 kernel5.15

Change-Id: I95c17ffd87b0ff2fc102d9abe8add9ac126d2f9b
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-11-02 06:47:22 -07:00
MingLiang Dong 4603c44a75 amvecm: fix lc enable flash [1/1]
PD#SWPL-144017

Problem:
dv source switch to sdr source, flicker

Solution:
enable temporal filter when enable lc

Verify:
t5m

Change-Id: I50fd366f14ea193673bc9f3bd60ac27af2428540
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2023-11-02 06:47:18 -07:00
yao zhang1 628c400dc5 dts: Add sm1 ac215 dts. [1/1]
PD#SWPL-142988

Problem:
Need support sm1 ac215 dts.

Solution:
Add sm1 ac215 dts.

Verify:
sm1 ac215

Change-Id: Ia1756920feec8e079870dd83d9407234183885e3
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-11-02 06:47:12 -07:00
shufei.zhao 84f389df6a autosh: fix T7&T7C dtb build warning [1/1]
PD#SWPL-144498

Problem:
dtb build warning

Solution:
Modify the DTS format

Verify:
autosh

Change-Id: I6e34fb7c0ea41ec21d6fea4910c188cd1e3b82da
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2023-11-02 04:53:46 -07:00
Pengcheng Chen 612f551139 vpu: enable down vapb_clk when suspend with t3 [1/1]
PD#SWPL-143737

Problem:
t3 need change to lowest vapb_clk when suspend

Solution:
enable down vapb_clk when suspend with t3

Verify:
t3

Change-Id: I25d4347f5be971555598e170234d37424345a0d5
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-11-02 04:53:36 -07:00
yuyin.wei e9e7e311f6 adla: powerdomain put_sync failed [1/1]
PD#SWPL-91573

Problem:
T7C adla power off failed

Solution:
disable nna_tsensor which uses the
same powerdomain as adla

Verify:
t7c an400

Change-Id: I103ffa8c1cf655cee6ab613a6bc1868fec0bb539
Signed-off-by: yuyin.wei <yuyin.wei@amlogic.com>
2023-11-02 04:53:31 -07:00
zongdong.jiao 5e7c3164fa hdmitx: always HDR.SDR when HDR to SDR [1/1]
PD#SWPL-143562

Problem:
when exit HDR to SDR, and after 1.5 seconds here will stop HDR.SDR
packet. Some TV may black at this time.

Solution:
always HDR.SDR when HDR to SDR

Verify:
sc2/ohm, s5/ax201

Test:
DRM-TX-17

Change-Id: I28fca54388d07338caf4def08e95454f988e98ad
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2023-11-02 04:53:27 -07:00
yaoyu.xu a032cc5661 hdmirx: input device vendor and product [1/1]
PD#SWPL-144039

Problem:
input device vendor and product is the same as meson.

Solution:
change input device vendor and product

Verify:
t5m/t3x

Change-Id: Ie8bbf010606c8620d1fd0286c87069d8b2524497
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-11-02 04:53:23 -07:00
Ao Xu 0001b19357 drm: add shutdown interface [1/1]
PD#SWPL-137248

Problem:
no shutdown interface

Solution:
add shutdown interface

Verify:
ohm

Test:
DRM-OSD-116

Change-Id: Ib8a27854684de5f14c52f3909a921a520da45e9f
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2023-11-02 04:53:17 -07:00
wenlong.zhang fbf2e2d719 drm: drm formats should be loaded by chips [1/1]
PD#SWPL-120880

Problem:
different chips may require different formats, so it should
be loaded by chip id.

Solution:
drm formats should be loaded by chips

Verify:
T5M

Test:
DRM-OSD-114

Change-Id: I899daf0ec4e60cf5d58d53eac1c32b6fe0b74263
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2023-11-02 04:53:12 -07:00
yao zhang1 f02c82366f bringup: Fixed g12a build error. [1/1]
PD#SWPL-143240

Problem:
G12a build error

Solution:
Disabled adc configs & fix abi format.

Verify:
g12a

Change-Id: Ibfa28ae13b36352e77d592d68d34e8bc5d22e3f7
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-11-01 20:38:59 -07:00
bowen cheng 21350e6cc4 cec: open cecb for g12a bringup [1/1]
PD#SWPL-133647

Problem:
4.9 kernel used ceca

Solution:
5.15 kernel enable cecb

Verify:
g12a bringup

Change-Id: Id5b73cbbf1c956acb739a8edf9d1ed231d91176e
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
2023-11-01 20:38:50 -07:00
mingxiu.sun 498c19a400 vdin1: g12a-androidu bringup [1/1]
PD#SWPL-133642

Problem:
1、g12a kernel5.15 bringup
2、The vdin0 node is not open resulting in a null pointer

Solution:
g12a viu loopback bringup pass

Verify:
g12a androidu kernel5.15

Change-Id: If5a9ac8159c31a4d8e09596ad32de7a979a56d01
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-11-01 20:38:40 -07:00
binbin.wang fe789879b5 G12A: Modify pm reg information [1/1]
PD#SWPL-133278

Problem:
Modify pm reg information

Solution:
Modify pm reg information

Verify:
G12A pass

Change-Id: Ide17bd5e857692cea4d50b767582e550447bd03c
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
2023-11-01 20:38:26 -07:00
Long 482b6555d3 G12a: sdio and sdcard use time-sharing multiplexing. [1/1]
PD#SWPL-133324

Problem:
not support time-sharing multiplexing function.

Solution:
enable time-sharing multiplexing function.

Verify:
g12a_u212

Change-Id: I78392775c01b6b58aaf224b47537669bfe7737e1
Signed-off-by: Long <long.yu@amlogic.com>
2023-11-01 20:38:03 -07:00
yao zhang1 490ca93771 dts: Enabled g12a ddr tools. [1/1]
PD#SWPL-133253

Problem:
G12a need ddr tools.

Solution:
Enabled g12a ddr tools.

Verify:
g12a

Change-Id: I3a63e2e38255e4a31d00c4d641f9ce8b6f366b29
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-11-01 20:37:48 -07:00
hongyu.chen 8ff8605240 demux: G12A upgrade from 4.9 to 5.15. [1/1]
PD#SWPL-133399

Problem:
G12A upgrade from 4.9 to 5.15.

Solution:
G12A upgrade from 4.9 to 5.15.

Verify:
U212

Change-Id: If074272158ed8dd820a2ec82935a5400d40c4501
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-11-01 20:37:11 -07:00
qirong.li 03d684a12d amvecm: add the HDR and data update process [1/1]
PD#SWPL-133646

Problem:
Process data such as HDR is missing

Solution:
Supplement the relevant code flow

Verify:
G12A

Change-Id: I70b7e073adf892328bcaedb4763878abe3107536
Signed-off-by: qirong.li <qirong.li@amlogic.com>
2023-11-01 20:37:01 -07:00
hongyu.chen 8e82c79f2e smartcard: G12A upgrade from kernel 4.9 to kernel 5.15. [1/1]
PD#SWPL-133398

Problem:
G12A upgrade from kernel 4.9 to kernel 5.15.

Solution:
G12A upgrade from kernel 4.9 to kernel 5.15.

Verify:
U212

Change-Id: Ie7e8e563d28048057c79cc8ac6d3f74af7854f13
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-11-01 20:36:53 -07:00
yao zhang1 0aaf15c2fc dts: g12a enabled efuse. [1/1]
PD#SWPL-133239

Problem:
g12a enabled efuse.

Solution:
g12a enabled efuse.

Verify:
g12a

Change-Id: I843d46e44cdceaa7258867202f0caccded757424
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-11-01 20:36:42 -07:00
junai.zhang 698685da72 g12a: bringup franklin in U [1/1]
PD#SWPL-133227

Problem:
bringup franklin in U

Solution:
bringup franklin in U

Verify:
franklin

Change-Id: Ie381d1025654ac5744711ea540fcfdae522ece46
Signed-off-by: junai.zhang <junai.zhang@amlogic.com>
2023-11-01 20:36:28 -07:00
yao zhang1 6ea33b1fca dts: g12a enabled uvm & videotunnel. [1/1]
PD#SWPL-133197

Problem:
Need uvm & videotunnel

Solution:
g12a enabled uvm & videotunnel

Verify:
g12a

Change-Id: Ica46114b246790d056d92b9fb5bc8bf9892e5ce6
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-11-01 20:36:18 -07:00
congyang.huang ba1b672068 drm: enable drm for g12a [1/1]
PD#SWPL-133667

Problem:
not enable drm

Solution:
1.disable fb and enable drm
2.modify osdblend to support the
display ofthe second and third osds

Verify:
g12a

Test:
DRM-OSD-97

Change-Id: Iaaa500f81c318c409c7ac50d69ac13f74eb19c81
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-11-01 20:36:06 -07:00
zhenteng.tian 95b30f1219 dts: modify dts to enable deinterlace. [1/1]
PD#SWPL-133654

Problem:
Bringup g12a.

Solution:
Add dts and dtsi for g12a.

Verify:
g12a

Change-Id: I0c5df33ea50c58777b04c2157ab7407e9d4370e0
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-11-01 20:35:57 -07:00
zhenteng.tian 3762eba60e dts: enable video PP for g12a [1/1]
PD#SWPL-133662

Problem:
Bringup g12a.

Solution:
Add dts and dtsi for g12a.

Verify:
g12a

Change-Id: I9de35ad5e9107dc2d1b0879fd9a352c7fe0ab3d7
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-11-01 20:35:46 -07:00
saisai.chang 042640d6ed audio: g12a bring up [1/1]
PD#SWPL-133681

Problem:
1.pinctrl parameter not match
2.no soundcards

Solution:
1.match parameter
2.compatible fix

Verify:
g12a

Signed-off-by: saisai.chang <saisai.chang@amlogic.com>
Change-Id: If5c5cc8d43f3612347e7735b1b70e6f329e9b034
2023-11-01 20:35:32 -07:00
shufei.zhao 6afd51d58f defendkey: add dts to enable defendkey [1/1]
PD#SWPL-133238

Problem:
enable defendkey

Solution:
Add dts

Verify:
g12a

Change-Id: Icd2cbd0c1ca9d22293d03e0d793d07eeb789d87c
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2023-11-01 20:28:59 -07:00
Wentao.Sun 438f773584 dts: g12a: delete secos node [1/1]
PD#SWPL-133365

Problem:
secos node is invalid
Update TEE reserve memory mode

Solution:
Delete secos node,and combine bl31/bl32 reserved memory to secmon node


Verify:
g12a_u212

Change-Id: If289cd6e2f6201bc17d22bd5b03fa915d4a5265f
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2023-11-01 20:28:33 -07:00
jialong.jiang a9f5dbb065 amdv: g12a 5.15 u bringup. [1/1]
PD#SWPL-133655

Problem:
g12a 5.15 u bringup.

Solution:
g12a 5.15 u bringup.

Verify:
g12a

Change-Id: I49c7b64d2888c4aff6fd3924420d624488b49320
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-11-01 20:27:56 -07:00
Long 89c6649032 G12a: enable emmc/sdcard/sdio. [1/1]
PD#SWPL-133324

Problem:
not support emmc/sdcard/sdio function.

Solution:
enable emmc/sdcard/sdio function.

Verify:
g12a_u211

Change-Id: Ifa30eb5b7d2b3f9f817576290fd154ebf59ea9d7
Signed-off-by: Long <long.yu@amlogic.com>
2023-11-02 11:15:49 +08:00
Yongjie Zhu f29a4521bc dmaheap: add dmaheap support for g12a [1/1]
PD#SWPL-133665

Problem:
g12a need dmaheap support for kernel5.15

Solution:
add dmaheap support

Verify:
g12a

Change-Id: I2095caae4fb9c40a1ee0e681a61981466d9c8201
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-11-02 11:15:49 +08:00
Yongjie Zhu d06b53a4c8 ion: add ion support for g12a [1/1]
PD#SWPL-133663

Problem:
g12a need ion support for kernel5.15

Solution:
add ion support

Verify:
g12a

Change-Id: I55601737836cdf0c6924b3a8c698a39e06955765
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-11-02 11:15:49 +08:00
Yongjie Zhu 977cbb557c gpu: add mali support for g12a [1/1]
PD#SWPL-133666

Problem:
g12a need mali support

Solution:
add mali support on dts

Verify:
g12a

Change-Id: I18e4fe0b6f746b3703c900b075c75736b3c5962c
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-11-02 11:15:49 +08:00