Commit Graph

2231 Commits

Author SHA1 Message Date
chen.xu a8317f38b8 video_processor: fix panic while make strict safety test [1/1]
PD#SWPL-123626

Problem:
while make strict safety test,v4lvideo and ionvideo
module will panic.

Solution:
modify v4lvideo and ionvideo module code,make it safe.

Verify:
T982_AR301

Change-Id: I491f6b8ca1f2047e86bd02e87578d4683df1d415
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-05-14 23:49:33 -07:00
Yao Jie 97f9c7a57f pm: fix pm driver build error [1/1]
PD#SWPL-123365

Problem:
pm driver build error without CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
enabled

Solution:
change pm driver to make it build success
without CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
enabled

Verify:
Local Build Success

Change-Id: Iba223696c420e27fd6510a747a71c3d24a50e7ba
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-05-14 23:49:15 -07:00
Dezhen Wang 7a4a7a9d50 scripts: detect the kernel version automatically in build [1/1]
PD#SWPL-121365

Problem:
build parameters is too much

Solution:
detect the kernel version automatically in build.config.constants

Verify:
local

Change-Id: Ia29f10ead028f858809bb250511fe6d601a2ee59
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-05-14 20:42:16 -07:00
shu.wang 6247f8679e dvfs: A1 kernel5.15 Loading amlogic-cpufreq.ko crash [1/1]
PD#SWPL-121024

Problem:
A1 kernel5.15 Loading amlogic-cpufreq.ko crash

Solution:
1.Add return error code when cpu regulator is not found.
2.skip regulator checking when cpufreq_voltage_set_skip is configured.

Verify:
A113L-AD403

Change-Id: I0c1fd610ab7839cca847cd91d89a4f94c13c75e5
Signed-off-by: shu.wang <shu.wang@amlogic.com>
2023-05-14 20:21:54 -07:00
xiang.wu1 169b199a5d hdmitx: sync hdmi commits [1/1]
PD#SWPL-115593

Problem:
need sync commit from project

Solution:
sync hdmi commits from project

Verify:
ah212

Change-Id: I1db415d1dfedde376dbe270f3c2e13fd558e0a47
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2023-05-12 20:52:56 -07:00
Wanwei Jiang 4573701caa audio_utils: optimize exception handling [1/1]
PD#SWPL-123408

Problem:
reboot testing will result in kernel panic

Solution:
1. modify kmap_atomic to kmap and kumap_atomic to kunmap
2. optimize exception handling

Verify:
sc2

Change-Id: I37e043cedcf08191de6e5b86d516f24386cf8533
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-05-12 03:55:52 -07:00
Gaowei Zhao 0d4e7f5265 hdmirx: fix HDMIRX silent [1/1]
PD#SWPL-123360

Problem:
state machine switch to FSM_WAIT_CLK_STABLE

Solution:
change state to FSM_HPD_HIGH when reopen port

Verify:
t5w

Change-Id: Icb1c0191210d53a8d2af01319585bf3bf6475437
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2023-05-12 02:03:49 -07:00
xiaoxin.cao b21b431e17 isp: need videobuf2_vmalloc support [1/1]
PD#SWPL-123140

Problem:
need videobuf2_vmalloc support

Solution:
select vmalloc

Verify:
c2

Change-Id: Iaaea072a2cc43872cab0fbece8a0b8bf507decc4
Signed-off-by: xiaoxin.cao <xiaoxin.cao@amlogic.com>
2023-05-12 02:03:45 -07:00
he.he c7c713af53 usb: 0008-usb-USB-low-speed-problem-1-1 [1/1]
PD#SWPL-118459

Problem:
0008-usb-USB-low-speed-problem-1-1.patch

Solution:
0008-usb-USB-low-speed-problem-1-1.patch

Verify:
t3x

Change-Id: If5f12d557de71789a19c2528b71363f03938a76d
Signed-off-by: he.he <he.he@amlogic.com>
2023-05-12 00:38:07 -07:00
gerrit autosubmit 899b05ba3f Merge "hdr: sink_changed is false,force hdr10->hlg fail. [1/1]" into amlogic-5.15-dev 2023-05-12 00:38:05 -07:00
jialong.jiang ede170527f hdr: sink_changed is false,force hdr10->hlg fail. [1/1]
PD#SWPL-121343

Problem:
sink_changed is false,force hdr10->hlg fail.

Solution:
modify is_sink_cap_changed function.

Verify:
sc2.

Test:
self-test.

Change-Id: Ied379243fc09f0abaa8a33f8be6a4f8e3459db81
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-05-12 00:38:03 -07:00
yuhua.lin 84b0feef41 osd: c3 display abnormal [1/1]
PD#SH-14150

Problem:
c3 regs is not compatible with hw_osd_reg_s

Solution:
fix it

Verify:
c3

Change-Id: I1537213e9fcc3c3fec011045edfca97a78ac0c9a
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-05-12 00:37:56 -07:00
song.han d53a5e54cf dts: modify iotrace reserved-memory [1/1]
PD#SWPL-122838

Problem:
iotrace reserved-memory overlap with others

Solution:
Modify iotrace reserved-memory to safe region

Verify:
sc2_ah212

Change-Id: I7993fb9e505f57fdb28c8a1e5b4aee13cd65a01d
Signed-off-by: song.han <song.han@amlogic.com>
2023-05-12 00:37:52 -07:00
yi.liu a2b9c09dd3 amlbian: debian support sm1 [1/1]
PD#SWPL-119471

Problem:
debian support sm1.

Solution:
debian support sm1.

Verify:
local

Signed-off-by: yi.liu <yi.liu@amlogic.com>
Change-Id: If47786a5c8064cd737b7669a5935df4749729a35
2023-05-12 00:37:49 -07:00
jinbing.zhu ce7c25011a amvecm: add amvecm t5m tv chip [1/1]
PD#SWPL-122518

Problem:
add

Solution:
add

Verify:
verify on T3

Change-Id: I88bf0ec5cb2fe774e8398d66eb6fa4fe3cdf2a29
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-05-12 00:37:42 -07:00
Dezhen Wang a5f456a433 Script: add a new config for customer to configure android project [1/1]
PD#SWPL-123455

Problem:
customer wants to add a new config used by themself

Solution:
add a option to add new config for android project

Verify:
local

Change-Id: I2dbf851c4324e3e43e51f87a40132362ac5c3fda
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-05-12 00:37:38 -07:00
yao zhang1 de7e4c0650 bringup: Sync adt4 32bit dts with 64bit. [1/1]
PD#SWPL-122078

Problem:
Sync adt4 32bit dts with 64bit.

Solution:
Sync adt4 32bit dts with 64bit.

Verify:
adt4

Change-Id: I874fe55403effff520a25fa681eae58d9ed55937
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-05-12 00:37:35 -07:00
tong.gao 77c8003e71 dts: yocto-k5.15 [1/1]
PD#SWPL-120168

Problem:
Memory allocation fail

Solution:
Enlarge ion-fb size

Verify:
local

Signed-off-by: tong.gao <tong.gao@amlogic.com>
Change-Id: I6ec1675dcaa7aca7a3c9782d5ccf9f19e9a561ed
2023-05-12 00:37:24 -07:00
Xiangyu Cai 29d27ae7a5 vlock: change process when vlock break [1/1]
PD#SWPL-120188

Problem:
not enter vlock disable when break vlock

Solution:
change process

Verify:
t982

Change-Id: I952aba0e6fb2598de1cf051d6062b225fda5ba66
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2023-05-12 00:37:20 -07:00
haotian.qu b8d776917b BT: BT detect failed on sm1 kernel5.15 [1/1]
PD#SWPL-117874

Problem:
BT detect failed on SM1 kernel5.15.

Solution:
Enable uart_A in dts

Verify:
local

Signed-off-by: haotian.qu <haotian.qu@amlogic.com>
Change-Id: I36ae492c2ca7f1cf22c4e67e15ba94690ea5953f
2023-05-12 00:37:16 -07:00
Huqiang Qin 2718a1b7e4 timestamp: porting timestamp driver to kernel 5.15 [1/1]
PD#SWPL-85472

Problem:
Project used timestamp driver on kernel 4.19,
but kernel 5.15 can't find this driver.

Solution:
Porting from: amlogic-4.19-dev

Verify:
A1/C2

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Change-Id: I6c03e1bbf0406b430cb0cf51b0bf09dd51abd31a
2023-05-11 01:54:46 -07:00
zongren.yin b30db1be36 t7c: fix hdmi no signal after suspend/resume [1/1]
PD#SWPL-120831

Problem:
HDMI no signal after suspend/resume.

Solution:
Dts hdmi hdcp_ctl_lvl set to 1 as driver ctrl.

Fixed conflicts:
NA

Verify:
local t7c build

Signed-off-by: zongren.yin <zongren.yin@amlogic.com>
Change-Id: I240133c2630c408e34daadd2da2de33ea273bd10
2023-05-10 02:53:12 -07:00
jun.liu bbf1a57127 irblaster: t5m enable irblaster [1/1]
PD#SWPL-120539

Problem:
irblaster cts test fail.

Solution:
enable irblaster.

Verify:
t5m

Change-Id: I9d42cde85c7f64a0833af86886816d7aebf5d496
Signed-off-by: jun.liu <jun.liu@amlogic.com>
2023-05-10 02:53:07 -07:00
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