Commit Graph

4099 Commits

Author SHA1 Message Date
chuangcheng peng bca68bb030 demux: add delay when close wdma [1/1]
PD#SWPL-151824

Problem:
dmc monitor wdma use free memory.

Solution:
add delay when close wdma

Verify:
verified at T5M

Change-Id: I34a671bead69a77561377424ff959482cc0eae59
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-15 13:59:28 +08:00
qing.zhang f03c646dc6 audio: 44k domain clk setting with spdif samesource [1/1]
PD#SWPL-147001

Problem:
when playback 44k ddp source, the ddp source will samesource
with spdif out, but the clk is not exchanged.

Solution:
1. audio spdif ctrl with samesource need exchange when spdif A
&& B && tdm

Verify:
verify by t7c

Change-Id: I1ebd2acb4bdf4d107c13b04e3862c84a282ed13c
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-01-15 13:44:02 +08:00
min.yang 60c1a204d5 dvb_extern: add debug cmd (V1.19) [1/1]
PD#SWPL-147712

Problem:
remove tuner debug prop

Solution:
debug through dvb-extern

Verify:
verified by smith

Change-Id: Ia36ead6794c1e5f1877101ae340d747fe8911cb2
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-01-15 13:42:59 +08:00
he.he d28f5b3dba usb: Delet usb auto-patch and config CONFIG_AMLOGIC_COMMON_USB [1/1]
PD#SWPL-134919

Problem:
cts failed for gki_20

Solution:
Delet usb auto-patch and
config CONFIG_AMLOGIC_COMMON_USB for gki

Verify:
t7c

Change-Id: I2ad79946ea15c946eff51653f174137fd561102a
Signed-off-by: he.he <he.he@amlogic.com>
2024-01-15 13:39:22 +08:00
Jianxiong Pan c059dc9ed8 mm: autopatch fix typo defects. [1/1]
PD#SWPL-80202

Problem:
misspelled word defect.

Solution:
fix typo defects.

Verify:
local.

Change-Id: I40a3683f0cd229d67c42d98c7280a6019621aab6
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-01-15 13:39:21 +08:00
chuangcheng peng 92d17341e4 demux: using cma memory for PVR mem in S1A chip [1/1]
PD#SWPL-143734

Problem:
play AV showly for memory

Solution:
optimize cma memory for pvr in S1A chip

Verify:
verified at S1A and ohm

Change-Id: Ifd9d72045d4ce0ac5dccb6866d1db95c060f4b87
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-15 11:32:59 +08:00
qi duan 6d6a251508 ethernet: stmmac: remove tgz file [1/1]
PD#SWPL-152600

Problem:
remove tgz file

Solution:
remove tgz file

Verify:
ah212

Change-Id: I627e6bae1c7392850dfd335601573badfa0b3a12
Signed-off-by: qi duan <qi.duan@amlogic.com>
2024-01-11 10:06:40 +08:00
Wenjie Qiao d0d074f16a hdmitx: add efuse ctrl [1/1]
PD#SWPL-133056

Problem:
lack efuse ctrl hdmitx

Solution:
add efuse ctrl hdmitx

Verify:
s1a/sc2/t7

Test:
DRM-TX-87

Change-Id: I2c5438e841fc50a3dabed98d3bca51c3ac726f94
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-01-10 13:51:24 +08:00
qing.zhang f84eb32faa audio: T7C_T ott mat line out [1/1]
PD#SWPL-149963

Problem:
1. line out no output for channel select form lane

Solution:
1. config data select

Verify:
t7c ott

Change-Id: I1f77f32ebcc016a1220635bce462091be468ea44
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-01-09 20:05:27 +08:00
chuangcheng peng ab20c39365 demux: keep 4k align in dmc memory [1/1]
PD#SWPL-152966

Problem:
video decoder memory not align 4KB in dmc memory

Solution:
add 4kB align in dmc memory

Verify:
project verified

Change-Id: Idd53da0ca844f44c21a597ac7f4928d6c63ba134
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-09 20:05:27 +08:00
Hangyu Li d1965685cc dts: remove S905w2 secure vdec memory size [1/1]
PD#SWPL-152928

Problem:
S905w2 do not support DRM play

Solution:
remove s905w2 secure vdec memory

Verify:
S805W2

Change-Id: I4ba787d400325955b4931d5b559d28ae2789e663
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2024-01-09 20:03:48 +08:00
Chengbing.wu 19866ed51f regulator: common14_k5.15 common driver trunk bringup patches [1/2]
PD#SWPL-135783

Problem:
1. need use regulator to delay dvfs voltage set;
2. for boot to kernel vddcpu/vddee voltage
change to max problem;

Solution:
1. (add dvfs delay time at s7 pxp) at 374414;
2. add init voltage at txhd2 trunk;

Verify:
build pass

Change-Id: I8d5a2750d3ab5df2d949be710db5f1adf3659cb7
Signed-off-by: chengbing.wu <chengbing.wu@amlogic.com>
2024-01-09 20:02:15 +08:00
qi duan 88872b6888 eth: stmmac: move stmmac driver to common_driver for u [1/1]
PD#SWPL-152600

Problem:
stmmac driver move to common_driver for u

Solution:
stmmac driver move to common_driver for u

Verify:
ah212

Change-Id: I0edfb3bebbd2384d740ff6a4d3f6c162d8f5664d
Signed-off-by: qi duan <qi.duan@amlogic.com>
2024-01-09 20:01:45 +08:00
Liming Xue ef6be79557 dsp: dsp logbuff issue [1/1]
PD#SWPL-152090

Problem:
kernel5.15 dsp logbuff overrun

Solution:
fix logbuff overrun

Verify:
t3x,t7c

Change-Id: Iefa7f288e7039a8e9acf7f4d1fdc2da713c44187
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-01-09 20:01:39 +08:00
xiangyang.yan b33b36ca3c eth: fix phy init for upstream code [1/1]
PD#SWPL-151662

Problem:
some sc2 platform get ip slowly when use upstream setting code

Solution:
use the code before this commit

Verify:
ah212

Change-Id: Id922f45947d2fd4b43437fd35a4eb447fe4fc24c
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-01-09 20:00:07 +08:00
Zhuo Wang b354e6f4fd eth: change txhd2 s1a analog setting [1/1]
PD#SWPL-145603

Problem:
update txhd2 and s1a analog setting

Solution:
update txhd2 and s1a analog setting

Verify:
HW

Change-Id: I9faccea739eb79dca538115278eec470758475b0
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-01-09 20:00:03 +08:00
Hanjie Lin 0e7337d2fb cma: use workqueue when delayed enable cma [1/1]
PD#SWPL-149209

Problem:
si_swapinfo() can't used in timer and may caused softlockup

Solution:
use workqueue instead of timer

Verify:
sc2

Change-Id: Ied213f981cded785b394d19331c48c1833ff33cf
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2024-01-09 19:58:46 +08:00
qinglin.li 48ac7ec7d7 ddr_tool: add t3 && t3x ddr priority node support [1/1]
PD#SWPL-151626

Problem:
add t3 && t3x ddr priority node support

Solution:
add t3 && t3x ddr priority node support

Verify:
local

Change-Id: I5cb708db11e60774664a22e13865d4f48e558fa6
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-01-09 19:58:46 +08:00
Qinglin Li f746d701e9 ddr_bandwidth: fix irq not disabled when mode close [2/2]
PD#SWPL-141263

Problem:
irq not disabled when mode close

Solution:
fix irq not disabled when mode close

Verify:
local

Change-Id: I632b145626e81cddf9aef3a05f7c1ee644c9c478
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-01-09 19:42:25 +08:00
Lei Zhang 1649c22b98 mm: fix 32bit kasan can't boot on T5W [1/1]
PD#SWPL-151061

Problem:
If enabled 32bit kasan on T5W, kernel can't boot, no matter VMAP enabled or not.
This case can't happen on T5D.

Solution:
flush cache after bss cleared

Verify:
on T5W

Change-Id: Ib63e22c31c625953d7011225cf92557e1d424ac7
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-01-09 19:42:25 +08:00
hao.qi f945433921 quiescent: Quiescent Reboot fail [1/1]
PD#SWPL-152141

Problem:
quiescent case command update

Solution:
Support userrequested,quiescent

Verify:
ohm

Change-Id: I242461838deb9a97ed119304b6c1b908618a9e48
Signed-off-by: hao.qi <hao.qi@amlogic.com>
2024-01-09 19:40:12 +08:00
hongyu.chen1 338bd95ea9 T3X S5: dynamic-power-coefficient optimize. [1/1]
PD#SWPL-149619

Problem:
dynamic power coefficient parameter have problem.

Solution:
Adjust this parameter.

Verify:
BC309_T968D4

Change-Id: Iddb6cf2156e0e51b400a10345c7c906337d2d445
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-01-09 16:55:22 +08:00
qiankun.wang 9d7c41e3c5 apu: t3x: can't enable EAS [1/2]
PD#SWPL-143865

Problem:
t3x can't enable EAS because of apu.

Solution:
t3x can enable EAS when system supports
the hide cpu.

Verify:
t3x

Change-Id: Ie20fa9a01af1da9bcb5e655b5c54ecd9aa322f0f
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2024-01-09 16:55:18 +08:00
Evoke Zhang 8753e76b43 vout: fix vsync meas no effect issue [1/1]
PD#SWPL-146140

Problem:
vout clktree init error cause vsync measure function no effect

Solution:
update clktree config

Verify:
bc302

Change-Id: I92cfd930c8196669b0af603d84add679c910db7f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-09 16:51:49 +08:00
mingyang.he 775a06765e drm: fix coverity error about kernel 5.15 [1/1]
PD#SWPL-134424

Problem:
coverity check fail

Solution:
fix errors

Verify:
t7

Test:
DRM-OSD-37

Change-Id: I9527e1c3dcfc698eaf95a5a276282e51e3be68f9
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-09 16:50:50 +08:00
ruofei.zhao a3906f035b hdmitx: fix hdmitx DDC GPIO level interface [1/1]
PD#SWPL-149201

Problem:
DDC's SDA and SCL are always LOW

Solution:
fix hdmitx DDC GPIO level interface

Verify:
S4

Test:
DRM-TX-54

Change-Id: I304167eae488d98358807d1cac63911428fa22c1
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-09 16:42:09 +08:00
congyang.huang 085e219932 drm: add brrupdate property to force a full switch [1/1]
PD#SWPL-148864

Problem:
for example, if the hwc sets an hdr policy,the drm
not know whether to set a full mode switch

Solution:
add brrupdate property to force

Verify:
t7c

Test:
DRM-TX-75

Change-Id: I4e1988f88023aade606689918af5796d95d9c393
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-01-04 19:55:00 +08:00
Hangyu Li ce4e5a9fc8 dts: reduce S805X2 secure vdec memory size to 4M [1/1]
PD#SWPL-151825

Problem:
S805X2 only supports single DRM play

Solution:
reduce S805X2 secure vdec memory size to 4M

Verify:
S805X2

Change-Id: Iced878ec644b39941290011d78d74b175ac89dec
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2024-01-04 15:13:35 +08:00
Jianxiong Pan 996e468507 mm: autopatch: add more to white trace list. [1/1]
PD#SWPL-145324

Problem:
trace cannot be used.

Solution:
add more to white trace list.

Verify:
local.

Change-Id: I06934ab63c72f91881f6b9ba2f11875f18f06833
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-01-04 15:13:34 +08:00
Lei Zhang af16ae49ba Revert "ANDROID: sched/rt: Add support for rt sync wakeups" [1/1]
PD#SWPL-142846

Problem:
2 rt task waken-up alternately, block normal task too long

Solution:
keep same with kernel-6.6

Verify:
on SC2

Change-Id: Iaa1347e5e2032633281cf9eac15de3254294749c
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2024-01-04 15:12:43 +08:00
yao zhang1 fc9edce339 configs: kernel cut for ohm upgrade android U [2/2]
PD#SWPL-148328

Problem:
Optimize kernel size.

Solution:
kernel cut for ohm android U.

Verify:
sc2

Change-Id: I63584f9407aa61734b1a330c8bdad07267e10579
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2024-01-04 14:23:04 +08:00
Dezhen Wang 80d8cd3b08 scripts: fix build error when compress with lzma [1/1]
PD#SWPL-129222

Problem:
some services will lead to build error when compress with lzma

Solution:
not set specified name

Verify:
local

Change-Id: I6ad2e765f50c40279b0e9d24667b573d54efe0f2
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-01-04 13:42:40 +08:00
Dezhen Wang 132734a272 Script: support build kernel image in lzma format [1/1]
PD#SWPL-129222

Problem:
there is no dts for ac214 to bringup Newton gpt on kernel 5.15 + uboot 2015
we need the dts for ac214 first

Solution:
support build kernel image and boot.img in lzma format

Verify:
local

Change-Id: I60b6bd9b974abe3114ba3ad557013963c122b3b3
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-01-04 13:42:20 +08:00
congyang.huang dcbac6ed1d drm: add drm hdmitx state [1/1]
PD#SWPL-149698

Problem:
can not print hdmitx state

Solution:
add drm hdmitx state

Verify:
sc2

Test:
DRM-TX-83

Change-Id: I0029d892bcd8a758452c0ca533267831d5b1852c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-01-04 13:40:28 +08:00
shuanshuan.jiang 619d7c82af camera: isp allocate cma failed [1/1]
PD#SWPL-151465

Problem:
isp allocate cma failed

Solution:
change used cma area status okay from disable

Verify:
local

Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
Change-Id: I3d7968c69ef914a9c50a9de34ae8d6e7eec92d94
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-04 13:31:23 +08:00
chuangcheng peng 015dd069ef demux: optimize hw buffer for every filter [1/1]
PD#SWPL-146704

Problem:
optimize hw buffer for every filter

Solution:
optimize hw buffer for every filter

Verify:
verified at ohm

Change-Id: I0cf536ca477d6e184e08aea1092128a22e260dfd
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-04 13:30:58 +08:00
Wenjie Qiao fe7d21d5ee hdmitx: qms capability return error [1/1]
PD#SWPL-150269

Problem:
qms capability return error

Solution:
use the qms bit as the qms capability

Verify:
T7

Test:
DRM-TX-82

Change-Id: Ife6d2dd4c16b6479c38070967e9d3d3346d2486f
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-01-04 13:30:58 +08:00
mingyang.he 472e18952f drm: enable encl clk for s5 in kernel 5.15 [1/1]
PD#SWPL-148836

Problem:
no vsync after set dummy_l mode

Solution:
enable encl clk instead of encp clk when set dummy mode

Verify:
s5

Test:
DRM-OSD-137

Change-Id: I2509df97dcbb0617c957803a09c8b87f4b5b964f
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2024-01-04 11:31:48 +08:00
dabing.qi 4057e4842c videotunnel: Alloc new tunnel id before find an unused tunnel id [1/1]
PD#SWPL-149189

Problem:
during four video tunnel switch,alloc unused tunnel id will make
player cause confusion

Solution:
when alloc tunnel id, alloc new id first before alloc an unused id.

Verify:
ohm

Change-Id: I83df0a404f07c1b6769ccc99748c768eb72e3872
Signed-off-by: dabing.qi <dabing.qi@amlogic.com>
2024-01-04 11:20:30 +08:00
jian zhou 62028f53ee Audio: fix earc crash when suspend/resume [1/1]
PD#SWPL-147122

Problem:
when system entry suspend, close all the earc clock,
and when system resume, if the earc_hdmirx_hpdst
function is called earlier then resume callback
function, it will happened hardlock.

Solution:
1.enable clock is called if the earc_hdmirx_hpdst
function is called earlier then resume callback function.
2.resumed status flag default is true.

Verify:
t982_ar301

Change-Id: I529521bd5c37a7a8d01bb873d78a3c386eb25745
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-01-04 11:20:00 +08:00
yao zhang1 07425f0729 dts: Disable unuse cma. [1/1]
PD#SWPL-150568

Problem:
Disable unuse cma.

Solution:
Disable unuse cma..

Verify:
t7c/t7/s5

Change-Id: I076bd9f3c25b6e8bc59e99b742e209f17cf685da
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-01-04 11:19:51 +08:00
binbin.wang 979fd25c0b PM: Optimize the parameters of CPUIDLE [1/1]
PD#SWPL-151053

Problem:
Optimize the parameters of CPUIDLE for power consumption

Solution:
Fix incorrect code logic

Verify:
SC2 pass

Change-Id: I2190284b315e010c6cfee90a05398a511ca9b207
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
2024-01-03 20:27:01 +08:00
chuangcheng peng 6a8f324eb8 demux: optimize feeds for dynamic allocation [1/1]
PD#SWPL-145689

Problem:
dmx init alloc mem too large

Solution:
optimize feeds for dynamic allocation

Verify:
verified at ohm

Change-Id: I96124fc0c474d256234d7044b58c77d172026a1a
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-03 20:26:38 +08:00
min.yang 9abc7969cd dts: T7C: config parallel for si2151 and cxd2878 [1/3]
PD#SWPL-148610

Problem:
support atsc

Solution:
config ref prop

Verify:
verified by t7c

Change-Id: I0d8a166183a9d06d73a6784bedf4455e7e5f82ed
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-01-03 20:26:05 +08:00
Jianxiong Pan dcad9b2b05 mm: autopatch: fix 32bit kasan cant boot on T5W [1/1]
PD#SWPL-80202

Problem:
If enabled 32bit kasan on T5W with VMAP, kernel can't boot.
This case can't happen on T5D.

Solution:
Rootcause is bss cleared but real data keeps in cache, not flushed
into DDR, and physical kasan shadow page soon be mapped to shadow
memory while in shadow virtual address we see random data, which
caused kasan check failed in vmap fixup function and crashed. So
just add a dcache flush function call after bss cleared.

Verify:
T5W

Change-Id: If9834d3ebe8457fa4ef06e596ed0e136cf5cdd84
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-01-03 20:21:38 +08:00
shipeng.sun 7a9ab2e7ef resman: resman acquire codec_mm fail effect video playback [1/1]
PD#SWPL-150983

Problem:
resman acquire codec_mm fail effect video playback

Solution:
resman acquire codec_mm fail effect video playback

Verify:
t7_an400

Change-Id: Ia34e1a33d96e9426536e2b6a3dc5b6025356d7c6
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2024-01-03 20:21:38 +08:00
xiangyang.yan a85f635411 eth: optimize the fix of IP address loss after resume [1/1]
PD#SWPL-141158

Problem:
network IP address loss after resume

Solution:
optimize eth suspend/resume process to resolve network IP address loss
after resume

Verify:
T963D4-AY301-K8E#097

Change-Id: I6d0a566cb6be774401ed14aa00d470802f076354
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-01-03 20:12:02 +08:00
xiang.wu1 a6f0e45eec hdmitx: remove _check_hdmi_mode [1/1]
PD#SWPL-150566

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 _check_hdmi_mode judgment in the send_drm_pkt function,
and the hdr pkt can be cleared normally

Verify:
S5/T7

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

Change-Id: I0b3168266ffebcd042d1044a905dae98a20017a0
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-01-03 20:12:02 +08:00
dongqing.li eacd3929ba ramdump: Fix known issues for ker5.15. [1/1]
PD#SWPL-148227

Problem:
The crash file of ramdump cannot be parsed properly.

Solution:
1. Delay 60 seconds to clear DDR
2. Optimize print output to help parse crash files.
3. Reduce the func jump level of flush cache all.

Verify:
sc2

Change-Id: Ib82725cf2c22eb3ef9c7257cedbdfa718acd5ad9
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2024-01-03 20:12:02 +08:00
yufei.huan 50bfdcfe14 deinterlace: post nub not as expected [2/2]
PD#SWPL-146508

Problem:
post nub not as expected

Solution:
set post nub from UI

Verify:
ohm

Change-Id: I22081afc445dc98706dbeb3c1707c8557dd4f364
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2024-01-03 20:12:02 +08:00