Commit Graph

2208 Commits

Author SHA1 Message Date
Sunny Luo e7261bb40d spicc: fix xfer timed out error on g12 serials [1/1]
PD#SWPL-122937

Problem:
xfer timed out or set clk rate failed on g12 serials,
because of SCLK parent clk missed

Solution:
Assign the async clk as the parent of SCLK

Verify:
t3

Change-Id: I02247d677c17705f4af413f74baf17625fbd8f41
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2023-05-10 01:36:07 -07:00
congyang.huang 0bef5122cb drm: lcd can not resume [1/1]
PD#SWPL-120846

Problem:
lcd can't resume

Solution:
not set vout state when set
seamless mode in crtc_disable

Verify:
t5m

Test:
play video and resume

Change-Id: If6ea1d979c73c79a5e7047b285e629c2fe9a112b
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-05-09 23:44:46 -07:00
nengwen.chen 694c45e069 dtv_demod: fix init flow (V1.1.99) [1/1]
PD#SWPL-121023

Problem:
fix init flow.

Solution:
fix init flow.
AMLDTVDEMOD_VER "V1.1.99".

Verify:
T5D/T5M.

Change-Id: Ibb2041f9306c2edb9d9bd84d96c05d1dd709b458
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2023-05-09 23:44:42 -07:00
Wanwei Jiang f96e74d6df symbol: common13-5.15 build fail [1/1]
PD#SWPL-122095

Problem:
common13-5.15 build fail

Solution:
common14-5.15's symbolist add to android/abi_gki_aarch64_amlogic.external

Verify:
sc2

Change-Id: Ia268b63f03f26601144cacc5f08e35bc8134c3c7
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-05-10 14:19:02 +08:00
Wanwei Jiang 0df84603dc bazel: support for bazel build in the new kernel [1/1]
PD#SWPL-122095

Problem:
unable to use bazel build in the new kernel

Solution:
support for bazel build in the new kernel

Verify:
local

Change-Id: I6ee258cc46c839e000c6cc35769fa8104b14436c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-05-09 09:30:04 -07:00
qiuye.gan 4dbcf46961 tsync: CB2 Compilation failed. [1/1]
PD#SWPL-118485

Problem:
Kernel 5.15 cannot use symbol_request.

Solution:
Do not use symbol_request.

Verify:
SC2

Change-Id: I7d48bf7a94b582630f6b8a493f43457fede36584
Signed-off-by: qiuye.gan <qiuye.gan@amlogic.com>
2023-05-09 08:57:32 -07:00
xiang.wu1 cdeb7c1006 hdmitx: add hdr_priority_mode node hide or enable HDR capabilities [1/1]
PD#SWPL-109769

Problem:
When the device switches from SDR and HDR modes to each other,
the device restarts

Solution:
hdmitx driver has updated the dv/hdr cap information,The hdmitx
driver does not throw the hpd plug event, the mode is switched
from the systemcontrol side, and the hwc triggers the hotplug
event according to the vout event to inform the framework to
update the dv/hdr cap

Verify:
ah212

Change-Id: Ie403950ffbb0cc030d50a796fa083c4477078ee7
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2023-05-09 08:57:23 -07:00
mingxiu.sun d57a5a47f0 vdin: add function_sel for force not convert yuv444 [1/1]
PD#SWPL-121253

Problem:
game mode YUV444/RGB444 do csc make picture fuzzy
add function_sel for force not convert yuv444

Solution:
add function_sel for force not convert yuv444

Verify:
a311d2

Change-Id: Ibe003e725275bc58430eec1f968109b184749e27
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-05-09 06:56:19 -07:00
zongdong.jiao 91de023f29 hdmitx: correct the hdmi dump registers [2/2]
PD#SWPL-122863
PD#OTT-43041

Problem:
wrong hdmi dump registers

Solution:
correct the hdmi dump registers

Verify:
sc2/ah212

Change-Id: I2ce7e613af19008403bfb1cb44fcc054d27ae057
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2023-05-09 05:39:34 -07:00
mingxiu.sun 1bf092bfa7 vdin: provide UAPI headers for vdin module [1/1]
PD#SWPL-117407

Problem:
provide uapi headers for user space

Solution:
add vdin uapi headers

Verify:
kernel5.15

Change-Id: I3b7a18aac89a6e0f750ff92996e522d2308de4c5
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-05-09 05:39:15 -07:00
Yao Jie 5487f7db5a m4: fix m4 host driver code form issue [1/1]
PD#SWPL-123076

Problem:
M4 host driver code has formal issue

Solution:
Fix formal issue

Verify:
Local build success

Change-Id: Ifc0a341497890511b59d50c06e9ec7370c23fc4a
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-05-09 03:36:23 -07:00
mingxiu.sun 6c5bb416db tvafe: Unplug av cable cannot recognize signal [1/1]
PD#SWPL-117428

Problem:
Unplug av cable cannot recognize signal

Solution:
1、Set the default value of comp_level_adj to 3
2、The detection range of the black field is low,
and the current configuration may not detect it,
so the white level detection of the black field
is enabled by default during the tvafe probe
3、add debug cmd to disable macrovision

Verify:
t5w at301 t962d4

Change-Id: Id7ded0bcdf843044cd4655774977cd03ffad657e
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-05-08 22:54:57 -07:00
he.he 5e7fea0f52 usb: split usb-v2.h [1/1]
PD#SWPL-118459

Problem:
split usb-v2.h

Solution:
split usb-v2.h

Verify:
t3

Change-Id: I1f1915e348a33317f09d2cba6b6e908950b27f96
Signed-off-by: he.he <he.he@amlogic.com>
2023-05-08 21:39:56 -07:00
zehong.luo f2c7fad644 media: decoder support p010 mode [1/2]
PD#SWPL-119633

Problem:
add p010 mode parameter

Solution:
add p010 mode parameter

Verify:
t3x

Change-Id: Ib79537c12fb7ce7aa16d91ac2631786c49a7a3e5
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
2023-05-08 21:39:51 -07:00
yaoyu.xu 7f25b5a08c hdmirx: sync bring up branch to 5.15 [1/1]
PD#SWPL-122053

Problem:
sync bring up branch to 5.15

Solution:
sync bring up branch to 5.15

Verify:
t3/t7/t5m

Change-Id: Ie5081887d9c8e8bf83e313c7a132130b18a1ab34
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2023-05-08 21:39:46 -07:00
haitao.liu 3a2dbf1592 vdin: reduce screencap latency time [1/1]
PD#SWPL-122015

Problem:
screencap takes a little long time,need reduce

Solution:
1.do not drop the first 2 frames
2.do not delay 50ms before stop vdin

Verify:
T7c

Change-Id: Ifdb26cc37da4e882a6c0dec6445b6bd131b6dac7
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-05-08 21:39:42 -07:00
jialong.jiang 2c3e9b5451 amdv: modify s5 amdv_check_enable. [1/1]
PD#SWPL-121578

Problem:
source-led always hdr.
flash black screen once time during boot up.

Solution:
add dv ll flag.
modify s5 amdv_check_enable function.

Verify:
s5.

Test:
self-test.

Change-Id: If96ad69ba8656da36d99c6d2fc70e0282dd807b1
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-05-08 03:58:49 -07:00
zhiqi.lai adfc3484b0 ge2d: add missing dependence [1/1]
PD#SWPL-120434

Problem:
ge2d module depend on canvas module.

Solution:
add missing dependence.

Verify:
Local

Change-Id: I009e356d82573114de8b3453d1627df29dee8061
Signed-off-by: zhiqi.lai <zhiqi.lai@amlogic.com>
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2023-05-08 03:58:46 -07:00
Jian Cao d52cc911e6 gdc: fix endian errors for new chips [1/1]
PD#SWPL-116164

Problem:
fix endian errors for new chips

Solution:
add endian for new chips

Verify:
t7c

Change-Id: Id3f960da02f2908a98799a64d2b31e9c2fb063d8
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2023-05-08 03:58:39 -07:00
hang cheng c525abab9d hdmitx21: check dv capability per parity bit in EDID [1/3]
PD#SWPL-120559

Problem:
it may output 1080p100/120hz DV mode to TV that doesn't
support DV mode under > 60hz mode

Solution:
per parity bit definition of DV specification, if
parity = 0, sink don't support DV under > 60hz mode
or 8K mode

Verify:
s5

Test:
s5 + 1080p120hz DV TV

Change-Id: I98d36c5ce7b31517f77a19e1639656f6b8643a2f
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2023-05-08 03:58:28 -07:00
congyang.huang 92d076e058 drm: default enable osd status [1/1]
PD#SWPL-120316

Problem:
dv could not get the osd status for startup

Solution:
default enable osd status

Verify:
ax201

Test:
DRM-OSD-56

Change-Id: I371a1a1871df9559cc263364f38bb19f81248923
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-05-08 02:30:29 -07:00
Hanjie Lin 03454cd6d9 smp: add APU support [2/2]
PD#SWPL-119162

Problem:
APU should not be seen except audio

Solution:
add APU support

Verify:
t5m

Change-Id: I0c4267b362f3d0bf398484b2318c88bdf0b00588
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2023-05-08 02:30:25 -07:00
qiang.liu f6aeced7cb vdin: keystone interlace update dest value [1/1]
PD#SWPL-122041

Problem:
keystone width and height value not update

Solution:
keystone interlace update width and height value

Verify:
T7C

Change-Id: I5b423e86b8a3b6aa6cf3b1c7bbd73bbdad8c191e
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-05-07 21:50:30 -07:00
Gaowei Zhao e93cf67119 hdmirx: change emp buffer max pkt cnt [1/1]
PD#SWPL-121757

Problem:
emp buffer set too large cause overstep the boundary

Solution:
change emp buffer size

Verify:
T5M

Change-Id: Iac8106a996a254c6c7983098228331cd525049a9
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-05-07 21:50:26 -07:00
zhicheng.huang 2b333b2674 dtv_demod: fix r842 atsc missing TP and scan slowly(V1.1.98) [1/1]
PD#SWPL-111896

Problem:
R842 ATSC-T missing TP with probability and
auto scan channels slowly

Solution:
1.enable AGC control before tuner_set_params;
2.modify ATSC-T strength threshold for r842;
3.increase ATSC-T check_signal_time for r842;
4.AMLDTVDEMOD_VER V1.1.98

Verify:
t965d4 ar331 and t950d4

Change-Id: Ie16faa31619c67f63d0b5f098065280fa2ca4c77
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2023-05-07 20:19:00 -07:00
qinglin.li 3d2405b67e upgrade: fix patch conflict [1/1]
PD#SWPL-118733

Problem:
fix patch conflict

Solution:
fix patch conflict

Verify:
sc2

Change-Id: I2637f05ca652522d1585517f400b016728c5b651
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-05-06 02:10:35 -07:00
song.han 57167d2b41 dts: modify dts node for iotrace [1/1]
PD#SWPL-119464

Problem:
iotrace dts node need modify

Solution:
modify iotrace dts node

Verify:
T5W_AT301

Change-Id: I8ef04c5f123873fd4a7dc7af5583b7914334b889
Signed-off-by: song.han <song.han@amlogic.com>
2023-05-06 01:35:36 -07:00
hang cheng 1e70be04e1 hdmitx21: disable frl work when reboot [1/1]
PD#SWPL-120816

Problem:
system crash when reboot, as frl work is still running

Solution:
disable frl work when reboot

Verify:
s5

Test:
s5 reboot

Change-Id: Ia47390fd423e71788c023bf807ff35e82e2c12e9
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2023-05-06 01:35:32 -07:00
qiankun.wang 9cf5f36fb8 debug: support FIQ dump debugging when hard lockup. [1/1]
PD#SWPL-118595

Problem:
FIQ dump debugging when hard lockup
TV-60426

Solution:
Support FIQ dump debugging when hard lockup

Verify:
SC2

Change-Id: Ie68d4411e0f714cc04c657d9c5d625c4797cb7a2
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-05-06 01:35:15 -07:00
Dezhen Wang 5ad119c8e8 Script: organize the content of the mk.sh and amlogic_utils.sh [1/1]
PD#SWPL-119384

Problem:
original content is too redundant

Solution:
put some function from mk.sh to amlogic_utils.sh

Verify:
local

Change-Id: I4e464d22dce5afef4f927e1bcdd7d6313fb17b4f
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-05-06 01:00:43 -07:00
chen.xu a0947a7467 vpp: support get aisr info for apk and dump dma src [1/1]
PD#SWPL-122111

Problem:
1.apk need get aisr information.
2.support dump data for dma source

Solution:
1.add aisr_info_show node to support.
2.support dump data for dma source.

Verify:
T7C

Change-Id: Ide9adb3e61ccadac14889157bf78b0d658a5b4c0
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-05-06 01:00:23 -07:00
Jianxiong Pan a5c6ff649d zapper: enable ZRAM. [1/1]
PD#SWPL-116862

Problem:
enable ZRAM.

Solution:
enable ZRAM.

Verify:
t215.

Change-Id: I20d4afeb3b70ac77140f105e2508a9840b0567c1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-05-05 14:50:16 -07:00
Jianxin Pan 5c09398376 zapper: remove unused code of audio and media modules [1/1]
PD#SWPL-116862

Problem:
audio and media modules memory optimization.

Solution:
disable the unused code for zapper.

Verify:
t215.

Change-Id: Ib7941245d6565ea8cbcda07ea422d18688c74e8d
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2023-05-05 09:02:16 -07:00
qing.zhang 2f8104f077 Audio: ad82128 no output when resume [1/1]
PD#SWPL-121925

Problem:
when resume the pd reset need delay

Solution:
1. pd reset pin need delay before cache restore for codec spec

Verify:
calla ref and skt

Change-Id: Ib98886fc35c489256ccf1fe3a5fe048c7d21f320
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2023-05-05 04:52:27 -07:00
qing.zhang d48f3725d6 audio: hdmi/spk playback not smooth [1/1]
PD#SWPL-106818

Problem:
spdif a/b use samesource

Solution:
1. no use samesource

Verify:
verify by t7c

Change-Id: I56c3c814fa657c3dfcd00e1ff9f27a627995b8ee
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2023-05-05 04:52:15 -07:00
Brian Zhu 15c5124d79 vpp: improve vskip policy for t5m DLG and monitor mode [1/1]
PD#SWPL-119724

Problem:
Skip too more line when DLG and monitor mode

Solution:
Change the vskip policy for DLG and monitor mode

Verify:
Verified on t5m

Change-Id: I875861db6556ba644eb761a1c6284793226f337f
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2023-05-05 04:52:03 -07:00
caiyi.xu cc498032bf dtv_demod: optimize 8VSB CN (v1.1.97) [1/1]
PD#SWPL-118785

Problem:
8VBS CN limit is 15.8dB, not meet customer requirement

Solution:
optimize 8VSB CN to 15dB

Verify:
AM301,AY301

Change-Id: If57f385fd6d087f544cfbd731b79ff2e4082cebf
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
2023-05-05 04:51:34 -07:00
shipeng.sun 9b3a4a7fd9 dmabuf: CF2 Support secure stream in dynamic free [1/5]
PD#SWPL-103836

Problem:
Support secure stream in dynamic free

Solution:
1.Support secure stream in dynamic free

Verify:
S905X4

Change-Id: Ifbf4065b57d539ff783f843e8089cda253abcd0a
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-05-05 03:23:45 -07:00
Kelvin Zhang 67f4e295d3 zapper: disable TCP/IP networking [1/1]
PD#SWPL-120856

Problem:
Zapper 2K S1A - 128M DDR - optimization net core

Solution:
Disable TCP/IP networking

Verify:
Zapper 2K S1A

Change-Id: I03b7fa4db14a60a06b3fcff9bd598e355557702c
Signed-off-by: Kelvin Zhang <kelvin.zhang@amlogic.com>
2023-05-04 21:41:29 -07:00
Kelvin Zhang 934c160a82 zapper: disable Network device support [1/1]
PD#SWPL-120856

Problem:
Zapper 2K S1A - 128M DDR - optimization net core

Solution:
Disable Network device support

Verify:
Zapper 2K S1A

Change-Id: Ie4038e575688eef1da9b462251c31c95c5eafbfb
Signed-off-by: Kelvin Zhang <kelvin.zhang@amlogic.com>
2023-05-04 21:41:25 -07:00
haitao.liu 316045c5cd vdin: vdin1 support HDR2SDR conversion on S5 [1/1]
PD#SWPL-121892

Problem:
dump vdin1 buffer when display HDR,the picture of vdin1 buffer
is not right.

Solution:
add HDR2SDR support for vdin1

Verify:
s5

Change-Id: I52bc589cb725bfc267f91a142a43704f6a5fd467
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-05-04 21:41:21 -07:00
yi.liu 1a2269d397 amlbian: g12b support debian [1/1]
PD#SWPL-112973

Problem:
g12b support debian.

Solution:
g12b support debian.

Verify:
local

Signed-off-by: yi.liu <yi.liu@amlogic.com>
Change-Id: Id017bfb7748e4441308f518b123e01ff72aeb1ac
2023-05-04 21:21:29 -07:00
shipeng.sun 297ee8ed73 tee: reserve secure vdec memory from codec_mm [2/2]
PD#SWPL-121307

Problem:
reserve secure vdec memory from codec_mm instead of reserve in BL32

Solution:
reserve secure vdec memory from codec_mm transfer secure
vdec memory to secureos

Verify:
T5M + android R

Change-Id: Iaf6e53a295bea6e63969977cd0792c91f8d1952b
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-05-04 03:28:53 -07:00
yicheng shen 55f30bd616 hdmirx: optimize abnormal format check logic [1/1]
PD#SWPL-121784

Problem:
long detection time when got abnormal format

Solution:
optimize abnormal format check logic

Verify:
T5m

Change-Id: Ic676088c562d7eae75fe6424836977dfa3b53ebd
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2023-05-04 03:28:50 -07:00
Gaowei Zhao 750713a68e hdmirx: fix HDR10+ info error [1/1]
PD#SWPL-121623

Problem:
play HDR10+ video switch to game mode.

Solution:
fix HDR10+ packet parsing problem.

Verify:
T5M

Change-Id: Ie050e9f57342e947119e98a44506c08884700ae9
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2023-05-04 02:54:28 -07:00
Yongjie Zhu 65077dca63 dmaheap: add heap-secure [1/2]
PD#SWPL-89262

Problem:
kernel5.15 add dmaheap-secure instead of ion-secure

Solution:
add dmaheap-secure

Verify:
sc2+T+5.15

Change-Id: I5780f64b1cbc520c12ac8ad0bb007e5388ef5d14
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2023-05-04 02:54:23 -07:00
Brian Zhu 673f85f1da vpp: fix the bug of switching to dw buffer under pre-link [1/1]
PD#SWPL-118311

Problem:
Did not switch to dw buffer under pre-link and small window, display
abnormal.

Solution:
Call vpp_set_filters again to switch to dw buffer correctly.

Verify:
verified on t5m

Change-Id: Iabf03e1d0e60752a3086b02ca9761ca175dfdaf6
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-05-04 01:36:46 -07:00
song.han f411bfdab1 iotrace: hook regmap r/w reg when iotrace ko [1/1]
PD#SWPL-119464

Problem:
when iotrace driver build to ko, it has some register r/w
operation not be hooked

Solution:
hook regmap r/w operation when iotrace build to ko

Verify:
SC2_AH212

Change-Id: I763b90fd91e76e5d4138db8ad1d2268c5b33e873
Signed-off-by: song.han <song.han@amlogic.com>
2023-05-03 22:52:30 -07:00
Brian Zhu b2d2d67c82 di_multi: sync pre-link code from trunk 5.4 [1/1]
PD#SWPL-118311

Problem:
Need sync code from kernel 5.4 for pre-link

Solution:
1. sync the patch to fix vframe leak under vfm path case
2. sync the patch to call dmc adjust function for pre-link

Verify:
Verified on t5m

Change-Id: I69f75d52d18e0e9be64df61f932543ae809728fb
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2023-05-03 15:30:35 -07:00
Wanwei Jiang 9b2038bba3 audio: exception handling and optimization log [1/1]
PD#SWPL-121815

Problem:
exception handling and optimization log

Solution:
exception handling and optimization log

Verify:
local

Change-Id: Ife94f13be53fd7791d9492f8272bda9576328407
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-04-28 14:48:52 -07:00