Commit Graph

4618 Commits

Author SHA1 Message Date
Jian Cao ae3dbc2cb5 rdma: remove unnecessary checks for video low latency mode [1/1]
PD#SWPL-148946

Problem:
fix the issue of video flickering

Solution:
remove unnecessary checks

Verify:
s1a

Change-Id: I6f0379bb2f8f29a19e1c08cbe7192b9186958ece
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2023-12-12 06:11:44 -07:00
ruofei.zhao 3da6cea635 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>
2023-12-12 06:11:38 -07:00
yuhua.lin 71314a5905 video: add node to get max src support [1/1]
PD#SWPL-148158

Problem:
add node to get max src support

Solution:
complete it

Verify:
t3x

Change-Id: Ifc3c9680e11765db9acd6fdf8c94ae49f925a2f2
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-12-12 04:37:08 -07:00
Jian Cao df312c2188 amvecm: remove unnecessary matrix settings [1/1]
PD#SWPL-149092

Problem:
the system freezes on restart

Solution:
OSD matrix is not enabled
no need to disable

Verify:
t3x

Change-Id: I4a3d73ca9300d526a177811932106f63e81a5dcb
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2023-12-12 02:26:37 -07:00
he.he 9bb31af931 usb: support CRG HOST problem [1/1]
PD#SWPL-134919

Problem:
make error for linux, IPC-C3-NBR-PB

Solution:
debug

Verify:
t3,t7,t5d

Change-Id: I5057ce341122af61f513e91b7125d981bdee265f
Signed-off-by: he.he <he.he@amlogic.com>
2023-12-12 02:26:25 -07:00
nengwen.chen 8774bc79b7 atv_demod: fix prop setting (V3.04) [1/1]
PD#SWPL-140739
PD#TV-102307

Problem:
some prop set error.

Solution:
fix prop setting.
AMLATVDEMOD_VER "V3.04".

Verify:
T5M.

Change-Id: Ic5c11048629322599dc108260459158a4c79b37e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2023-12-12 02:25:46 -07:00
Shuai Li 3c7b287268 audio: set pdm as default mic for g12b [1/1]
PD#SWPL-148113

Problem:
VTS fail because the mic setting is wrong.

Solution:
Add pdm default mic sufix name.

Verify:
G12A

Change-Id: Ie7a107714e522a9f69722464e4c528f359b93e39
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2023-12-11 22:57:12 -07:00
dezhi kong e5a79e30bb uvm: fix memory leak [1/2]
PD#SWPL-143214

Problem:
uvm sgt memory leak

Solution:
add free for sgt
add skip debug interface

Verify:
AndroidT kernel5.15 ohm

Change-Id: I8419e60318409a15bdec41d3918e875fc547778c
Signed-off-by: dezhi kong <dezhi.kong@amlogic.com>
2023-12-11 20:43:05 -07:00
Hao Shi c5890c0f69 zapper: close v4l2-m2m in zapper [2/3]
PD#SWPL-147419

Problem:
Zapper optimization v4l2.

Solution:
close CONFIG_AMLOGIC_VIDEOBUF_RESOURCE.

Verify:
BG201

Change-Id: Icc5a7de4a2bf2fba399dd0717fa3d92e383aa967
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2023-12-11 08:27:22 -07:00
Zelong Dong 4f532e8539 ir: add BTN_* event for input device [1/1]
PD#SWPL-148643

Problem:
ir mouse mode need BTN_* event

Solution:
add BTN_* event for ir input device

Verify:
s4_ap229

Change-Id: Ic078fb2b842fc91e6b7df55f5bc184a25b696c39
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-12-11 06:19:05 -07:00
lizhi.hu 0c6e7026d6 lcd: t3x lvds hs pol adjust [1/1]
PD#SWPL-146836

Problem:
t3x lvds polarity need adjust

Solution:
add polarity adjust

Verify:
t3x

Change-Id: Ib3e8a95d12dded835fac94ec0e51e7fa59e2b851
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2023-12-11 06:19:01 -07:00
yi.liu fc98545e00 amlbian: Support making dtb-deb [1/1]
PD#SWPL-106598

Problem:
Support making dtb-deb.

Solution:
Support making dtb-deb.

Verify:
local

Change-Id: I7214092c2d3fba27150fa719d85b39c8090b61b7
Signed-off-by: yi.liu <yi.liu@amlogic.com>
2023-12-11 06:18:45 -07:00
qiang.liu 7b3439ec08 adc: set adc pll force lock bit [1/1]
PD#SWPL-148388

Problem:
adc pll clk will flapping causes loss of lock

Solution:
set adc pll force lock bit

Verify:
txhd2

Change-Id: I4ab5ea149ebb22509fbe864e2734e59e4141af5f
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-12-11 06:18:41 -07:00
qiang.liu 06c6601861 tvafe: remove cdev_del and optimize game debug [1/1]
PD#SWPL-147511

Problem:
1.avin shutdown call cdev_del will cause crash
2.game debug process has probelm

Solution:
1.remove avin shutdown call cdev_del
2.optimize game debug

Verify:
t5m

Change-Id: I0a31312137ee4f84cecd9430ee678ee2a6fe9a9a
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-12-11 06:18:36 -07:00
yufei.huan 928c805a03 deinterlace: 1080i 265 first two frames timeout [1/1]
PD#SWPL-144696

Problem:
1080i 265 first two frames timeout

Solution:
set mem mif separate_en

Verify:
txhd2

Change-Id: I81fae227b09ea0d890c5e0aa8b705dcb5d7dc2fe
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-12-11 04:24:16 -07:00
zongdong.jiao f6816fda60 hdmitx: add debug interface for testing edid [1/1]
PD#SWPL-147036

Problem:
Lack debug interface for testing edid

Solution:
Add debug interface for testing edid
echo 00ffffffffffff00.... > /sys/class/amhdmitx/amhdmitx0/edid

Verify:
t7/an400

Test:
DRM-TX-9

Change-Id: I67553180ea3c4d805706ea52978d0eba4a464a82
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2023-12-11 04:24:09 -07:00
zhenteng.tian 15be7c2eeb di: ensure no extra ndkb in STATE_REG_STEP1. [1/1]
PD#SWPL-147624

Problem:
di_test_thread keeps awake consuming much CPU resource.

Solution:
ensure no extra ndkb in STATE_REG_STEP1.

Verify:
SC2

Change-Id: Ic87805610826bc9de20a8af80e89d3431bacac12
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-12-11 02:40:06 -07:00
MingLiang Dong c1f4330b7f hdr: fix color abnormal [1/1]
PD#SWPL-148838

Problem:
video color abnormal when switch hdr video to sdr video.
rootcause: vd2 on 120hz vsync, vd1 on 60hz vsync,
lead to fake frame switch error on vd1

Solution:
reset process signal type

Verify:
verify on T3X

Change-Id: I45066418afbbe7e3eaf67ed7843423389bd27fd9
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2023-12-11 02:39:46 -07:00
zhenteng.tian c9d40929ac vc: use fence_tmp prevents crash accessing fence on dual screens. [1/1]
PD#SWPL-145868

Problem:
When dual screen display, two threads simultaneously access fence.

Solution:
Use fence_tmp prevents crash accessing fence on dual screens.

Verify:
T7C

Change-Id: Ie4e495081f8affba9b71d744e8a81ba57e258d16
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-12-11 02:39:34 -07:00
congyang.huang bb38177271 drm: fix qms attr setting error [1/1]
PD#SWPL-144318

Problem:
switching attr cannot take effect

Solution:
After changing the attr,a full modesetting
is required to take effect

Verify:
t7c

Test:
DRM-TX-75

Change-Id: I40406b3ad3585fe86ea646f820cca3df18ee7815
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-12-11 02:39:31 -07:00
haitao.liu 50b95b35c9 vdin: v4l2 of vdin support csi input on sm1 [1/1]
PD#SWPL-146460

Problem:
need to support vdin0 v4l2 when csi input

Solution:
add csi input supported in vdin0 v4l2

Verify:
sm1

Change-Id: I16669702a4ec034b48d3c26d45fa2965069c750e
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-12-11 02:39:27 -07:00
Gaowei Zhao 489ba77fae hdmirx: fix dv cts 63 flashing issue [1/1]
PD#SWPL-102622

Problem:
packet decoding flow optimization

Solution:
Parsing packets and notify to vdin immediately after packed received

Verify:
T5M

Change-Id: Idaad2993d561f1a32b0177d38c2a531090d32d30
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2023-12-11 02:39:18 -07:00
Evoke Zhang 990a502ffa lcd: fix 2pll mode frac update for t3x [2/2]
PD#SWPL-149146

Problem:
pll1 frac reg access mistake for t3x 2pll mode

Solution:
correct pll frac update control for t3x 2pll mode

Verify:
bc302

Change-Id: I6252b8c0187e53ffe5f61dbb93cdc5b8f1c3dc5c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-12-11 00:43:51 -07:00
zhicheng.huang 9888eb9f43 dtv_demod: fix atsc-c signal strength issue(V3.5.29) [1/1]
PD#SWPL-148286

Problem:
when atsc-c signal strength is weak or no signal,
it will crashed during searching channel.

Solution:
1.fix atsc-c signal strength issue
2.AMLDTVDEMOD_VER V3.5.29

Verify:
t3 ar331

Change-Id: I924b0d322b08b49c156dcc7d08cf8184364fb12f
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2023-12-10 22:45:45 -07:00
Junyi Zhao 256b222095 clk: set hifi pll force lock after real locked [1/1]
PD#SWPL-147887

Problem:
VLSI suggest the pll force lock timming that force lock
should behind the normal lock.

Solution:
do not set force lock in initial phase.

Verify:
txhd2

Change-Id: I8d93c77119bc9bf3592bf45aa120828d0c0f010c
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2023-12-10 22:45:40 -07:00
Ao Xu e944b40a8f vout: add vout_mux dts node [1/1]
PD#SWPL-146608

Problem:
VPU_VIU_VENC_MUX_CTRL has no update

Solution:
add vout_mux dts node

Verify:
g12a-u215

Change-Id: I9b13b9bbe8d1625b4716eebb2fc946cca32d3840
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2023-12-10 22:45:32 -07:00
he.he a8b230780b usb: add dwc3-meson and xhci option [1/1]
PD#SWPL-142854

Problem:
add dwc3-meson and xhci option

Solution:
add dwc3-meson and xhci option

Verify:
all

Change-Id: I3ae35070a7452270995299db4f6e2b6f71eacc8b
Signed-off-by: he.he <he.he@amlogic.com>
2023-12-10 22:45:27 -07:00
he.he 99069eab13 usb: move xhci and dwc3 code to common_drivers [1/1]
PD#SWPL-142854

Problem:
move xhci and dwc3 code to common_drivers

Solution:
move xhci and dwc3 code to common_drivers

Verify:
all

Change-Id: I9351b3cb5bf515b89c8e9c62a7070947a6a18968
Signed-off-by: he.he <he.he@amlogic.com>
2023-12-10 22:45:19 -07:00
qinglin.li bcb16f6f67 printk: enabled debug printk for gki2.0 [1/1]
PD#SWPL-140356

Problem:
debug printk not enabled for gki2.0

Solution:
config AMLOGIC_DEBUG_PRINTK to m for gki2.0

Verify:
ohm

Change-Id: Ife312f1fc5237fd810d192919bf1558fd9255fec
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-12-10 22:45:14 -07:00
Lei Zhang 04389a90d1 isolcpus: optimize housekeeping_cpumask [1/1]
PD#SWPL-146197

Problem:
kprobe housekeeping_cpumask fail in common14-5.15

Solution:
optimize kprobe address

Verify:
on T5M AY301

Change-Id: Ic39389877cb9029eac9aabec5badc4ebc192dcac
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
2023-12-10 21:07:20 -07:00
zongdong.jiao 0a293316af hdmitx: optimise the valid check for qms [1/1]
PD#SWPL-144318

Problem:
Need to optimise the valid check for qms

Solution:
Optimise the valid check for qms
Add BRR name in sysfs hdmi_vrr

Verify:
t7/an400

Test:
DRM-TX-75

Change-Id: I39e6d6d50d211274ea80cfef4257d8f84f4d8f89
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2023-12-10 21:07:04 -07:00
jian zhou 7a1834de46 Audio: don't set arc enable when source select [1/1]
PD#SWPL-149225

Problem:
set arc enable when source select

Solution:
don't set arc enable when source select, set it when
when arc enable

Verify:
t7

Change-Id: I94ec6b80875212de612fa8fe526b26522f4480e3
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2023-12-08 20:17:05 -07:00
Jian Cao 67a6f852aa vpp: correct vpp slice1 alignment fifo size setting [1/1]
PD#SWPL-145708

Problem:
dual screen, the secondary screen is not aligned

Solution:
correct alignment fifo size

Verify:
t3x

Change-Id: I6aa6fe72726c2d05dea2a822e6188d70ab709cb5
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2023-12-08 16:27:18 -07:00
lizhi.hu dd9b4f1bc4 lcd: support lvds hsync polarity [1/1]
PD#SWPL-146836

Problem:
lvds need support hsync polarity adjust

Solution:
use LVDS_PACK_CNTL_ADDR for sync polarity reverse
move dphy setting from both tv and tablet driver

Verify:
t7_an400
t3_ar301
t3x_bc302
t5w

Change-Id: I4ad39222b43f3c5e504f1bcf214a631788928fbc
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2023-12-08 06:17:44 -07:00
Yu Tu 1579d4b95b pcie: S5 pcie with W2 probability suspend failure [1/1]
PD#SWPL-149016

Problem:
S5 pcie with W2 probability suspend failure

Solution:
add delay time wait for pcie device

Verify:
S5

Change-Id: I9d1335de1a791ec704843d4503b35223b820c791
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-12-08 02:53:16 -07:00
qianqian.cai 8dbeb69f46 deinterlace: prime video pq dct issue [1/1]
PD#SWPL-148360

Problem:
dct pq issue

Solution:
when secure,need set dct secure

Verify:
t5m

Change-Id: I1fe9e1eb0e34769d2b943935601c6d147e69a711
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-12-08 00:37:05 -07:00
qinghui.jiang 69b13ac58c amvecm: gamma default curve miss last data [1/1]
PD#SWPL-146437

Problem:
gamma default curve miss last data.

Solution:
add gamma curve last point default data.

Verify:
t5m

Change-Id: Ia9e072ae96f65b7367c7b51667891ae995de67a7
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2023-12-08 00:37:02 -07:00
Lei Yang b34284b279 vdin: update fps info when signal stable [1/1]
PD#SWPL-146304

Problem:
fps info is not updated

Solution:
updated fps when signal stable

Verify:
T7C

Change-Id: I37ba99368d203dcf37396b66eb769f30e88c6563
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2023-12-08 00:36:51 -07:00
jian zhou a5c0659665 audio: optimize the audio log [1/1]
PD#SWPL-144236

Problem:
optimize the audio log

Solution:
optimize the audio log

Verify:
t5m

Change-Id: Ifc7c4d7e0a60e88aa0894487a2ee540441feff71
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2023-12-07 22:29:54 -07:00
zhou.ning 0538df085e osd: no logo display error on t5w [1/1]
PD#SWPL-148844

Problem:
logo_reserverd node is cma

Solution:
change logo_reserved node to non-cma

Verify:
t5w

Change-Id: I526784b2a6f9b898bf5627bbdb70fc421448c195
Signed-off-by: zhou.ning <zhou.ning@amlogic.com>
2023-12-07 22:29:50 -07:00
zhicheng.huang 4317997305 dtv_demod: fix not lock signal in dvbt2 DTG161 case(V3.5.28) [1/1]
PD#SWPL-145174

Problem:
in dvbt2 DTV161 testcase, cannot lock signal

Solution:
1.fix not lock signal issue in dvbt2 DTG161 testcase
2.AMLDTVDEMOD_VER V3.5.28

Verify:
t3x

Change-Id: Iada3cf198a2f90c68d6dea4393d9f782004bd87e
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2023-12-07 20:25:41 -07:00
Dezhen Wang d910bba57a kernel upgrade: not upgrade zstd version for amlogic in 5.15 [1/1]
PD#SWPL-148278

Problem:
CONFIG_AMLOGIC_ZSTD is to upgrate the zstd version in old kernel5.15.
Now we will not maintain the zstd function in this kernel version.

Solution:
set CONFIG_AMLOGIC_ZSTD to n

Verify:
local

Change-Id: I49fe3baa5e1b13d42a06949cb8711fde9ebcdd04
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-12-07 08:14:37 -07:00
qinglin.li be4ff1dfed upgrade: kernel upgrade by Dec with kernel [1/1]
PD#SWPL-148305

Problem:
update include/linux/upstream_version.h
fix conflict

Solution:
update include/linux/upstream_version.h
fix conflict

Verify:
local

Change-Id: Ic64ae62d9dcbf2665433aa7ebec23a3cb0d70a35
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-12-07 06:38:04 -07:00
Gongwei Chen 83a27b32ce bluebell: adjust buffer size for bluebell 1080p ui [2/2]
PD#SWPL-148495

Problem:
need enable 1080p ui

Solution:
adjust buffer size

Verify:
verify by bluebell

Change-Id: I2414bd4dd97c8275ecc3664399fe841feba2ec75
Signed-off-by: Gongwei Chen <gongwei.chen@amlogic.com>
2023-12-07 04:41:43 -07:00
Sunny Luo 4c482d166a spi: refactor test entry for spicc & spicc-v2 [1/1]
PD#SWPL-147512

Problem:
refactor test entry for spicc & spicc-v2

Solution:
Refactor test entry for spicc & spicc-v2;
Fix chip select issue to support more SPI devices.
Porting from 5.4 f55b06c4

Verify:
t3 t982

Change-Id: I113e3ac4f1926fd98e94ad8cf3cf2aebeeada970
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2023-12-07 04:41:29 -07:00
Sunny Luo 0f3f980eaf spicc: add dma transfer by vsync/line-n triggering support [1/1]
PD#SWPL-147512

Problem:
LDIM requires a strict timing sequence to match with the vsync signal

Solution:
SPICC supports vsync/line-n triggering control, Add a interface to
start/stop the vsync triggering transfer for LDIM
Porting from 5.4 1f62b7d1

Verify:
t3 t982

Change-Id: Ida2f63cbe318dceebbe97514e41a588e4ea143d4
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2023-12-07 04:41:17 -07:00
yufei.huan 7ba70ef37f deinterlace: Convert data formats as required [1/1]
PD#SWPL-141018

Problem:
Convert data formats as required

Solution:
switch 422 10bit to 422 8bit

Verify:
txhd2

Change-Id: Iac21d0cd211a59f272e2f035df6a0c1952b0bdbc
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-12-07 03:41:44 -07:00
Evoke Zhang ba247ae243 lcd: update clk ssc enable control [2/2]
PD#SWPL-148647

Problem:
lcd clk ssc no effect

Solution:
update clk ssc enable control

Verify:
x301, bc302, ay301, at301, ar301, am301

Change-Id: I44f1b4dc5a579d1f99db3ad179a6d2e5cf4f4e47
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-12-07 03:41:21 -07:00
haotian.qu 7cc720d0b1 absystem: Add dtsi file for absystem [3/4]
PD#SWPL-145575

Problem:
Kernel5.15 don't support absystem partition.

Solution:
Add dtsi file for absystem.

Verify:
local

Signed-off-by: haotian.qu <haotian.qu@amlogic.com>
Change-Id: I48b24a2cdac818311ce334c6648e7b718801a366
2023-12-07 03:41:16 -07:00
hang cheng d901538fb7 hdmitx: fix y420 cmdb map issue [1/1]
PD#SWPL-148281

Problem:
with EDID Y420 cmdb which payload len = 1,
it will not store the vic and will cause
Y420 is treated as not supported

Solution:
store the vic which support Y420

Verify:
ah212

Test:
DRM-TX-72

Change-Id: I12ad2458458ee3ef2fc8cfbfafe6a842ff1bab37
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2023-12-07 00:09:54 -07:00