Commit Graph

7929 Commits

Author SHA1 Message Date
zhou.han e92a2312c8 drm: linux support qms [1/1]
PD#SWPL-186207

Problem:
In the LINUX system, the action of calculating the
brr mode name is blocked.

Solution:
Remove this blocking action.

Verify:
ohm/ross

Test:
DRM-TX-75

Change-Id: I70ded70948b9f8b5572b1d285a18c75546513099
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-11-20 18:16:58 -08:00
Wenjie Qiao ece33a927f hdmitx: check the deep color phase [1/2]
PD#SWPL-188132

Problem:
check the deep color phase may make mistake

Solution:
not use the intr2_stat1, because from stable to non-stable or vice-versa
the bit will not be 1; and should use the reg SYS_STAT bit0 p_stable
and enable phy to dig before poll reg

Verify:
s5/s7d

Test:
DRM-TX-135

Change-Id: I69882915c7d7ec7c3734e670a813d5bf817e1c79
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-11-20 18:16:33 -08:00
lizhi.hu 84e2cc8605 DisplayPortTX: initial version [1/1]
PD#SWPL-177221

Problem:
support DisplayPort output

Solution:
support DisplayPort output

Verify:
t7c_an400

Change-Id: I8a591f516119242c550781797e1853ef0acf01cd
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-11-20 18:16:19 -08:00
jiebing chen 55b5ce7549 Audio: add ad82088d driver support [2/2]
PD#SWPL-168606

Problem:
need to support ad82088d driver

Solution:
add ad82088d driver

Verify:
use T5d

Change-Id: Ia9df44522f6a88b9cf1f3fc1a069510c7ecf36c9
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-11-20 18:16:07 -08:00
Pengcheng Chen a923de63d1 vpp: add dither mode ctrl for s7d [1/1]
PD#SWPL-193505

Problem:
add dither mode ctrl for s7d

Solution:
add dither mode ctrl for s7d

Verify:
s7d

Change-Id: If706b52f71e287cb986d582934854249a70a5322
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-11-20 06:08:51 -08:00
qing.zhang 62d9bd8073 Audio: sc2 speaker resume output when mute [1/1]
PD#SWPL-192752

Problem:
sc2 speaker resume output when user do mute spk

Solution:
1. mute speaker when suspend resume if user continue mute

Verify:
use sc2

Change-Id: Icdf7c9b65ee5e67cda100f96a1cf62cc797ad6d2
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-11-20 06:08:43 -08:00
yao zhang1 fa2b4a5ff5 dts: Sync dts of all SoCs on K5.15 [1/1]
PD#SWPL-186585

Problem:
Sync dts of all SoCs on K5.15.

Solution:
Sync dts from other same dts.

Verify:
all SoCs.

Change-Id: I8d4667c6d3bb217e6098e95a89d1d7adaa3468a9
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2024-11-19 23:59:48 -08:00
yicheng shen 8738fff3b8 hdmirx: optimize audio pll configuration flow [1/1]
PD#SWPL-192993

Problem:
No sound when set resolution to 480p/720p,due to the wrong
audio pll setting

Solution:
Correct the audio pll setting

Verify:
T3

Change-Id: I71c4ee648ca6e47ce401d1095fbd28af460f0faa
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2024-11-19 22:27:25 -08:00
xiaotao.wei 586eb1578c uvm: skip realloc in uvm on linux [1/1]
PD#SWPL-178660

Problem:
error log when running gst-play:
"mali fd000000.valhall: Unhandled Page fault"

Solution:
add flag UVM_SKIP_REALLOC when allocating uvm to
disable lazy map on linux

Verify:
s7d

Test:
DRM-OSD-3

Change-Id: Ib0bfae1fe5b9a853beae4efc1bc6bc968c799dc0
Signed-off-by: xiaotao.wei <xiaotao.wei@amlogic.com>
2024-11-19 22:26:44 -08:00
zhikui.cui 3506a975d2 NAND: adapt to new reserve designs [1/1]
PD#SWPL-186183

Problem:
extern reserved partition maybe overlap inside bbt reserved partition

Solution:
1. parsing reserved partitions from dtb
2. skip overlap bbt blocks when scan other reserved partition

Verify:
BR309-T950D5_SOCKET #48

Change-Id: If2c2f780aa320078ed8a33bd8fadebaffaf39a43
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-11-19 22:26:25 -08:00
dian.shao 471204f59e usb: t6d usb2 phy disconnect trim [1/1]
PD#SWPL-193378

Problem:
t6d usb2 phy disconnect trim not
appropriate.

Solution:
change to 0x5

Verify:
t6d.

Change-Id: I4cc8c51788f5f3e745374e356d147daaf4461956
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-11-19 06:02:53 -08:00
gerrit autosubmit e5f64bfc94 Merge "vrtc: fix 5.15 read alarm warning in probe [1/1]" into amlogic-5.15-dev 2024-11-19 03:56:43 -08:00
yiting.deng d4c7eb4cbb vrtc: fix 5.15 read alarm warning in probe [1/1]
PD#SWPL-192783

Problem:
insmod rtc will reads alarm and converts it to standard time.
UBSAN detects that the alarm is converted to the standard time and
a data overflow warning is generated

Solution:
fix code

Verify:
s7

Change-Id: Ic6e44831b76338e52131cc046dd35d6358fcc5f8
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-11-19 03:56:41 -08:00
Haotian Guo e2df1fcfe7 tvafe: Fix the signal issue of ATV unlock [2/2]
PD#SWPL-192795

Problem:
Display snow when ATV unlock

Solution:
Return no signal when ATV is unlocked

Verify:
t5m

Change-Id: Ia8412e5de6cc8f42728ec5d1180882cbf886d0fc
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-11-19 02:55:50 -08:00
nengwen.chen 856293324e atv_demod: add ops callbacks mutex and state callbacks for tvafe (V4.02) [1/2]
PD#SWPL-192795

Problem:
add ops callbacks mutex and state callbacks for tvafe.

Solution:
add ops callbacks mutex.
add aml_fe_get_atvdemod_state.
AMLATVDEMOD_VER "V4.02".

Verify:
T5M/TXHD2.

Change-Id: I04f252afc965b3d023bf0c1f08bf242736ba0827
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-11-19 02:55:43 -08:00
jian zhou 57baa2e884 audio: remove earc rx cds multi pcm 8 channel [1/1]
PD#SWPL-193514

Problem:
audio hal doesn't support multi pcm 8 channel.

Solution:
remove earc rx cds multi pcm 8 channel.

Verify:
sc2-ah212

Change-Id: Ifc59f59224a5071c610240da5a910cc382b3e699
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-11-19 02:10:56 -08:00
Zelong Dong 28996d7788 ir: configure keymap pid/vid by cdev [1/1]
PD#SWPL-193372

Problem:
keymap is add by cdev which isn't work,
keymap pid/vid is default value

Solution:
configure keymap pid/vid

Verify:
t5m

Change-Id: Ic5323615a718640d1952d2d8ddc38082d6902cf3
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-11-19 02:10:51 -08:00
Evoke Zhang 3148aa9ae0 lcd: optimize config load flow [2/2]
PD#SWPL-192343

Problem:
lcd get config need separate as a individual file

Solution:
lcd get config separate as a individual file

Verify:
ay301, br301

Change-Id: Ib4106ba378e6532125d68f8ef4363ba70bf483b7
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-11-19 02:08:44 -08:00
Junyi Zhao 57d98994fe pwm: support t3 std [1/1]
PD#SWPL-192142

Problem:
support t3 std

Solution:
support it

Verify:
t982 ar301

Change-Id: I02dc4eac8cb5c635b7b8229cc20110a8a46b57a3
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-11-19 02:08:26 -08:00
Tao Zeng 05e8ab0105 amfc: optimization of driver [1/1]
PD#SWPL-186530

Problem:
AMFC driver need optimization

Solution:
1, update content of statistics sysfs
2, try to reduce copy in erofs system
3, reduce cache flush size of zram
4, improve cache maintain efficience, 7% ~ 10% increase for speed;

Verify:
s7d

Change-Id: I4f87120ad1358a8b1756a01654e17908dd61dc22
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-11-19 02:07:50 -08:00
Jianxiong Pan 7c8ae1189f memory: add vmap stack cache page order config [1/1]
PD#SWPL-179931

Problem:
add vmap stack page order to facilitate project modification.

Solution:
add vmap stack page order config.

Verify:
Locally

Change-Id: I33d8bcc757c3956a82865e631d7af94a59467af0
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-11-18 20:02:42 -08:00
shuide chen b1268633fa memory: reduce the default dm mempool value [1/1]
PD#SWPL-179931

Problem:
System performance is not good. we saw dm create too much mempool.

Solution:
reduce the default pool size, we tested:
Before:
=============================================================================
Test            Time      Assistant   Katniss   Assistant  Killed       Pass/
Name                        Started   Latency     Latency   Other        Fail
=============================================================================
cuj-0MB         0.36    yes:  9.90s     0.78s       9.13s     yes  pass: 100%
cuj-100MB       0.39    yes:  9.73s     0.95s       8.79s     yes  pass: 100%
cuj-200MB       0.48    yes: 11.06s     1.63s       9.43s     yes  pass:  80%
cuj-250MB       0.55    yes: 12.57s     3.07s       9.50s     yes  pass:  80%
cuj-275MB       0.47    yes: 15.60s     6.13s       9.47s     yes  pass:  60%
cuj-276MB       0.52    yes: 13.30s     3.69s       9.61s     yes  pass:  80%
cuj-278MB       0.93    yes: 16.03s     6.25s       9.79s     yes  fail:  14%
cuj-280MB       0.72    yes: 16.22s     6.58s       9.63s     yes  fail:  14%
cuj-287MB       0.71    yes: 19.69s     9.26s      10.43s     yes  fail:   0%
cuj-300MB       0.63    yes: 16.85s     7.14s       9.71s     yes  fail:  14%
-----------------------------------------------------------------------------

After:
=============================================================================
Test            Time      Assistant   Katniss   Assistant  Killed       Pass/
Name                        Started   Latency     Latency   Other        Fail
=============================================================================
cuj-0MB         0.37    yes: 10.44s     0.73s       9.72s     yes  pass: 100%
cuj-100MB       0.36    yes: 10.12s     0.74s       9.38s     yes  pass: 100%
cuj-200MB       0.42    yes: 10.60s     1.29s       9.30s     yes  pass: 100%
cuj-250MB       0.47    yes: 12.99s     2.21s      10.78s     yes  pass: 100%
cuj-275MB       0.49    yes: 13.32s     3.37s       9.95s     yes  pass:  80%
cuj-287MB       0.53    yes: 13.10s     3.62s       9.48s     yes  pass:  60%
cuj-289MB       0.53    yes: 13.62s     3.97s       9.65s     yes  pass:  80%
cuj-291MB       0.52    yes: 14.48s     4.72s       9.77s     yes  pass:  50%
cuj-293MB       0.53    yes: 16.11s     5.98s      10.13s     yes  fail:  33%
cuj-300MB       0.54    yes: 16.18s     6.02s      10.16s     yes  fail:  14%
-----------------------------------------------------------------------------

Verify:
Locally

Signed-off-by: shuide chen <shuide.chen@amlogic.com>
Change-Id: I568de7a16c5333053f03cd43cd4860bf386fe1f7
2024-11-18 20:01:54 -08:00
haitao.liu 92f11716c8 vdin: Only call the TEE api in projector scenario [1/1]
PD#SWPL-191814

Problem:
The vdin module lacks secure permissions in S series,
calling the TEE interface will cause a crash.

Solution:
Vdin not call the TEE interface except in
projector scenario.

Verify:
s7

Change-Id: Iec236212533a73b60572503bb485cd461f7cd2f0
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-11-18 20:01:47 -08:00
Junyi Zhao 734becdf29 i2c: support t3 std [1/1]
PD#SWPL-192139

Problem:
support t3 std

Solution:
support it

Verify:
t892-ar301

Change-Id: I3bc8b320c2b55a079644a75419a7d35a488680cc
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-11-18 19:56:23 -08:00
Yahui Han 7cdf4bf5ab dtv_demod: CF2 add dummy frontend. [1/1]
PD#SWPL-158421

Problem:
Needs dummy fe.

Solution:
Support.

Verify:
AP222-S905y4

Change-Id: Ib1880ef21f60d568ea1028486f48dace315a682c
Signed-off-by: Yahui Han <yahui.han@amlogic.com>
2024-11-18 18:55:26 -08:00
Jun Zhang c9d6edffa1 aq2432: fix fb1 overlay size [1/1]
PD#SWPL-191310

Problem:
fb1 size not correct on aq2432

Solution:
add fbdev_overlay_sizes

Verify:
aq2432

Change-Id: Ib5b7f762602e433daec0243eac25f1c37b6cc78f
Signed-off-by: Jun Zhang <jun.zhang@amlogic.com>
2024-11-18 04:15:33 -08:00
min.yang ce8df6d821 dtv_demod: improve T6D ATSC/QAM/DVBS/T/T2 performance (V3.6.012) [1/1]
PD#SWPL-182240

Problem:
improve T6D performance

Solution:
1. improve ATSC C/N WGN -50dBm
2. improve ATSC Dynamic Echoes
3. improve ATSC Single static echo Delay -30/50us
4. improve QAM impulse noise
5. add dvbs diseqc tx invert
6. dvbt/t2 use top agc
7. improve dvbt2 doppler performance
8. fix t6d DTG 161 SPLP test fail

Verify:
t6d

Change-Id: I2d37deaa38da0716c81ab6f3aaa316e1445287ef
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-11-18 03:42:35 -08:00
Liming Xue 382e1dc9e4 dsp: kernel5.15 fix efuse register for dsp enable check [1/1]
PD#SWPL-192941

Problem:
kernel5.15 a1/c1/c2 efuse register address for dsp enable check is error

Solution:
kernel5.15 fix efuse register address for dsp enable check

Verify:
a1/c2/c1

Change-Id: If91fa480d316b17edb564fca6c32cadbe13c2937
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-11-18 02:09:26 -08:00
chenyang.liu 9a951c645f lcd: update phy config for t6d [1/1]
PD#SWPL-192422

Problem:
some phy reg need update

Solution:
update phy reg config

Verify:
t6d

Change-Id: If917601cd67e0f7ab2f77eaa1e96eb6dfeb14ca9
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2024-11-18 02:09:05 -08:00
Qianqiang Liu e904cd5bd4 decoder: Copy codec_mm info to userspace [1/1]
PD#SWPL-192561

Problem:
The codec_mm information isn't displayed on the console when running cat
/sys/class/codec_mm/codec_mm_dump because the data isn't being copied to
the userspace buffer properly.

Solution:
Copy codec_mm info to userspace buffer.

Verify:
T6D

Change-Id: I41b96ae8b053f03e452822f893804975b7ac83aa
Signed-off-by: Qianqiang Liu <qianqiang.liu@amlogic.com>
2024-11-18 01:46:45 -08:00
Tao Zeng 4eae3b0ac3 amfc: retry if timeout [1/1]
PD#SWPL-187818

Problem:
timeout caused reboot hung

Solution:
retry if timeout

Verify:
t6d

Change-Id: I1900959647ad51b28672811a078968511e04975b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-11-17 19:58:01 -08:00
qianqian.cai f1a6d55a97 deinterlace: after standby,di process slowly [1/1]
PD#SWPL-190108

Problem:
t5m post process

Solution:
update post process flow

Verify:
t5m

Change-Id: I16b726e4ab69ad28909cc5dc705f013d82240c1e
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2024-11-17 13:58:08 -08:00
haitao.liu 574f74a4b8 vdin1: optimize vdin1 hist [1/1]
PD#SWPL-167123

Problem:
New interface for vdin1 hist compatible with universal chip

Solution:
1 Remove the limitation of chip id
2 Additional switch vdin1 hist

Verify:
t3\t5m\txhd2 kernel5.15

Change-Id: Id48b2ed3620ef2b3e86029d37ec7b2a6d28dcef3
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-11-17 13:58:00 -08:00
Jian Hu 62ae382b6d dts: fix t6d compiling warning [1/1]
PD#SWPL-191343

Problem:
common_drivers/arch/arm/boot/dts/amlogic/mesont6d.dtsi:1504.25-1508.7: Warning
(cooling_device_property): /thermal-zones/soc_thermal/cooling-maps/
cpufreq_cooling_map: Missing property '#cooling-cells' in node /cpus/cpu@0
or bad phandle (referred from cooling-device[0])

Solution:
add cooling-cells in each cpu node

Verify:
t6d-br301

Change-Id: I194b9087a6d0e147025d40a5e77fedbe3fd8afe7
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2024-11-15 03:27:15 -08:00
feng.zhang dac93d6644 dts: set codec_mm_cma to 240M [1/1]
PD#SWPL-188647

Problem:
DTS Reserved reduction,
single channel 4K

Solution:
set codec_mm_cma to 240M

Verify:
local test ok

Change-Id: I6fee574d4e4932ba2eb5cdac06f92e67c4c890b0
Signed-off-by: feng.zhang <feng.zhang@amlogic.com>
2024-11-15 02:14:49 -08:00
jiebing chen 286825d1a3 audio: need disable output pin when switch output mode [1/1]
PD#SWPL-191960

Problem:
there are no sound when disable spk output pin

Solution:
need disable pa gpio before disable spk output pin

Verify:
daisy

Change-Id: I3811cfb3095e01e726879a5d3c80af426519e117
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-11-14 04:08:47 -08:00
Zelong Dong 90bc9d6c60 ir: t3: support hibernate mode for ir [1/1]
PD#SWPL-191678

Problem:
support hibernate mode for ir

Solution:
support hibernate mode for ir

Verify:
t3_ar301

Change-Id: I774af0785d5b516789b7e09b5b691f11c4418af1
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-11-14 04:08:12 -08:00
min.yang 74a40e3737 dtv_demod: fix dvbt2 mplp plpid switch fail (V3.6.011) [2/2]
PD#SWPL-187863

Problem:
fix dvbt2 mplp plpid switch fail

Solution:
update dvbt2 fw
fw md5sum:d135c8c401bf8eda034b2df98d8b132a
AMLDTVDEMOD_T2_FW_VER: v0959.20241024
AMLDTVDEMOD_VER: V3.6.011

Verify:
T5M/T6D

Change-Id: Icc4f436192cd8374082c71b2fbd918949acdbebe
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-11-14 04:07:50 -08:00
chao.zhang 0538215270 regulator: fix cpu regulator duty cycle [1/1]
PD#SWPL-183118

Problem:
The old cpu regulator duty cycle was unreasonable

Solution:
Fix cpu regulator duty cycle of s7d

Verify:
s7d

Change-Id: I6fbd914be632a6b63cb9eaf4a4db7c9e886611e7
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
2024-11-14 04:07:16 -08:00
chao.zhang 99781e0e24 regulator: fix cpu regulator duty cycle of t6d [1/1]
PD#SWPL-183118

Problem:
The old cpu regulator duty cycle was unreasonable

Solution:
Fix cpu regulator duty cycle of t6d

Verify:
t6d

Change-Id: Ic2785e73870bd28bda93b35b39c0ecabf2bbb187
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
2024-11-14 04:07:02 -08:00
chao.zhang 97850d0b43 regulator: fix cpu regulator duty cycle [1/1]
PD#SWPL-183118

Problem:
The old cpu regulator duty cycle was unreasonable

Solution:
Fix cpu regulator duty cycle of s7

Verify:
s7

Change-Id: Ic25c1ed95453bb00fcdd5ea37a2bc32cbf1be199
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
2024-11-14 04:06:48 -08:00
jian zhou 76372de82a audio: fix roku 9101R2 no sound after switch speaker to arc [1/1]
PD#SWPL-192105
PD#SWPL-192237

Problem:
spdif ctrl mute bit will make channel status info as 0.

Solution:
use gain instead of mute control.

Verify:
t6d

Change-Id: I6539db96e6790b11de2c811f6c8d4197ac0ade17
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-11-14 02:32:06 -08:00
Shuai Li 13fc535859 audio: fix spdif RX raw no audio issue [1/2]
PD#SWPL-192661

Problem:
Spdif rx raw streaming causes endless format change loop(RAW<->PCM).
After receiving raw format, recorder restarts to capture
but HW can't keep raw format in its register.
So the recorder gets PCM at the very beginning and then gets raw format.

Solution:
Add spdif rx stable flag and mark it false when starting capture.
Audio type is reliable only after stable flag is true.

Verify:
Sc2: ohm

Change-Id: I2ebad1fc55f1282ea0e794c8c2ff8d4665e4c83e
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2024-11-14 02:31:35 -08:00
zhenyu.gao 0f70812b03 yocto: CF1 Add t6d_t950d5_br301_512M_linux.dts [1/1]
PD#SWPL-191343

Problem:
New feature

Solution:
Add t6d_t950d5_br301_512M_linux.dts

Verify:
t6d-br301

Signed-off-by: zhenyu.gao <zhenyu.gao@amlogic.com>
Change-Id: I00ecae8a894cb0dc82f27dffb6b49dde8d82f860
2024-11-14 02:31:03 -08:00
Pengcheng Chen 9a5bcfa0a6 vpp_safa: set default value to improve pq quality [1/1]
PD#SWPL-186111

Problem:
set default value to improve pq quality

Solution:
change default value

Verify:
t6d

Change-Id: I3e73fb934a5b7e74625c08f990491cdbae1f36c3
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-11-14 00:45:08 -08:00
lele xiang 559df4327a codec_mm: CB1 In NTS test,video frame low probability freeze problem. [2/2]
PD#SWPL-192366

Problem:
the scatter cache is not enough,and memory allocation
cost too long time which cause static frame issues.

Solution:
Reduced the scatter cache request threshold

Verify:
T6d

Change-Id: I6a2ddc2823153c575ca4a6f4d6f350b8fb12cdd9
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2024-11-14 00:43:58 -08:00
yaoyu.xu e58f09d1f0 hdmirx: fix 1440p 165 yuv420 display [1/1]
PD#SWPL-189959

Problem:
420 output abnormal.

Solution:
change 420 rd win auto and bypass dsc vpcore.

Verify:
t5m

Change-Id: I101c3c93490a0658572d1878b01c710cd15b78e5
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-11-14 00:43:05 -08:00
Chuan Liu 6a65814620 cpufreq: Failed to insmod amlogic-cpufreq.ko [1/1]
PD#SWPL-191832

Problem:
Not cleaning clusterdata[i].cpus resulted in the initial value of this
cpus being a random value, which triggered a null pointer when
cpufreq_online occurred.

Solution:
Clear clusterdata[i].cpus during initialization.

Verify:
sc2_ah212

Change-Id: If33cf84071a93377a22227964d12522f983032b2
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-11-13 22:06:18 -08:00
qiankun.wang 6cfa6dc3ab IOTM: reinitialize the IOTM after resume. [1/1]
PD#SWPL-191332

Problem:
After the system suspend, the core will be powered off, and the
axi_addr may point to 0, it can cause a crash.

Solution:
reinitialize the IOTM after resume.

Verify:
t6d

Change-Id: I5479d75b035b801c2954c27b171190dc0f260bd3
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2024-11-13 22:06:00 -08:00
chao.zhang 53995e253a pdvfs: enable t6d cpu pdvfs [2/2]
PD#SWPL-191381

Problem:
enable s6 cpu pdvfs

Solution:
use different pdvfs index by efuse vmin

Verify:
t6d

Change-Id: I91a7d490f6114ae05bb7ce125082ec0837fef52d
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
2024-11-13 04:02:41 -08:00