Commit Graph

5296 Commits

Author SHA1 Message Date
zhou.ning bd85ee3570 dts: dts memory is incorrectly allocated on t5w [2/2]
PD#SWPL-157900

Problem:
dts memory is incorrectly allocated

Solution:
change the memory allocate

Verify:
t5w

Change-Id: I5a3be243460bbda1bde6592f1ff4aa10e675b94f
Signed-off-by: zhou.ning <zhou.ning@amlogic.com>
2024-02-22 05:55:46 -07:00
Ao Xu b2e9135b64 drm: fix afbc block dump register crash issue [1/1]
PD#SWPL-157664

Problem:
adb bugreport crash due to afbc block dump register crash

Solution:
fix invalid afbc register for afbc block register dump

Verify:
ohm

Test:
DRM-OSD-32

Change-Id: Iea61e1f06afaa1af03c61718e4e62115c432801f
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-02-22 05:55:40 -07:00
ruofei.zhao ac8b3ca58e hdmitx: edid tracer post-processing [1/1]
PD#SWPL-158107

Problem:
tracer is not written in the edid parsing process

Solution:
edid tracer post-processing

Verify:
SC2
S5

Test:
DRM-TX-99

Change-Id: Ie802d13da665ae0846a6829ecca0618583d54166
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-02-22 05:55:34 -07:00
Evoke Zhang 189ed36505 lcd: optimize lcd config check sequence [2/2]
PD#SWPL-157889

Problem:
1.need support multi timing config check
2.lcd driver exit when config check err will block system bootup

Solution:
optimize lcd config check sequence

Verify:
ay301

Change-Id: Ie3b81f100ab36d1121abd2dfe83709853325760e
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-02-22 05:55:26 -07:00
Sunny Luo 90418e4780 spi: spicc: disable 8/16/32 bits DMA-SPI mode [1/1]
PD#SWPL-158019

Problem:
panic cause by 8 bit DMA-SPI mode

Solution:
disable 8/16/32 bits DMA-SPI mode;
change start mode from smc to xch;

Verify:
T5M T963D4_AY301

Change-Id: I091f7b8b252ae7eadbc38825131940e8ff6a7805
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-02-22 05:55:15 -07:00
Zhu Lv 78add0a045 bt: optimize aml_bt driver loading time [1/1]
PD#SWPL-155688

Problem:
aml_bt driver loading time too long

Solution:
optimize aml_bt driver loading time

Verify:
calla

Change-Id: I3b9f8dbd9e2b5f278a4d1c0d01f64c1172693f85
Signed-off-by: Zhu Lv <zhu.lv@amlogic.com>
2024-02-22 01:53:57 -07:00
zijie.lin 90c2933b2d backight: Dynamic switch pwm mode [1/1]
PD#SWPL-143709

Problem:
Add switch pwm feature

Solution:
Add switch pwm feature

Verify:
t5m

Change-Id: Ifacc475812fecbdd8fe3a63d11b28ef019916ab7
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2024-02-22 01:53:18 -07:00
hang cheng 56a36c7273 hdmitx: don't read hdcp version during hdcp1.4 auth [1/1]
PD#SWPL-155716

Problem:
there's flash when get hdcp version during hdcp1.4 auth

Solution:
don't read sink hdcp version on DDC during hdcp1.4 auth,
drm use the sink hdcp version read when notify hpd event
with get_rx_hdcp_cap(), and should not call this interface
in other time.

Verify:
ohm

Test:
DRM-TX-97

Change-Id: I8091e952eef8ed0441a17e9c118d296de747f637
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-02-21 23:51:38 -07:00
nengwen.chen 0553443e05 atv_demod: fix get frontend (V3.07) [1/1]
PD#SWPL-156223

Problem:
get frontend params incorrect.

Solution:
fix get frontend.
AMLATVDEMOD_VER "V3.07".

Verify:
T5D/T5M.

Change-Id: Ib6d0b19db0a10040473a56ecc1012365630c9d60
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-02-21 23:51:32 -07:00
nengwen.chen fa399a4c5e dvb-core: add support SYS_DVBC_ANNEX_B and C in dvbv3 [1/1]
PD#SWPL-156400
PD#TV-109289

Problem:
SET_FRONTEND fail when use SYS_DVBC_ANNEX_B.

Solution:
add support SYS_DVBC_ANNEX_B and C in dvbv3.

Verify:
T5D.

Change-Id: I2323abdff04d77affb8ef565694ae2d406755550
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-02-21 23:51:16 -07:00
jialong.jiang 4fb99773e9 amdv: solve problem of no dv effect. [1/1]
PD#SWPL-158061

Problem:
tv core is off.

Solution:
solve problem of no dv effect.

Verify:
t5m.

Change-Id: Iba93cef9074b0b7f5a4e77169a544190de2fac51
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-02-21 22:59:53 -07:00
qinglin.li 7e57f740c2 dmc_monitor: fix io_mem array get error [1/1]
PD#SWPL-147355

Problem:
io_mem array get error

Solution:
fix io_mem array get error
update dmc version to 1.3

Verify:
local

Change-Id: I95b69d5c8a06b984858c73d6e2564c8d17214680
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-02-21 22:59:42 -07:00
Jian Cao 7de26a887f vpp: fix the issue of pic_mode crop information not being updated. [1/1]
PD#SWPL-154852

Problem:
CVBS input source, the bottom of the secondary screen flickers.

Solution:
after correcting the path_id variable,
it can proceed to the amvecm_on_vs process during dequeue_frame
and set the vframe ratio_control variable.
then the value of pic_mode can be updated in the crop settings.

Verify:
t3x

Change-Id: Idb2f7a55ac7c1b494c569593ece1e5066844c54f
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-02-21 22:17:34 -07:00
Pengcheng Chen 625bde42d0 vpp: fixed aisr not worked when 4k60hz for t3x [1/1]
PD#SWPL-157273

Problem:
aisr not worked when 4k60hz

Solution:
fix check_aisr_need_disable() logic

Verify:
t3x

Change-Id: Ia254da34a764cf2b6b86d871a22814ea5b036dc7
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-02-21 22:17:25 -07:00
shufei.zhao d8d5a01b11 TXHD2: remove useless ko&config [2/2]
PD#SWPL-152598

Problem:
Memory optimization

Solution:
Remove useless ko&config

Verify:
txhd2

Change-Id: Iec537040346da2f2eafdd1a46f97969997388a44
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2024-02-21 22:17:16 -07:00
Huqiang Qin c3530a332b adc_keypad: support blink led [1/1]
PD#SWPL-152938

Problem:
When the button is pressed, the LED will flash.

Solution:
New function.

Verify:
SC2/AH212

Change-Id: I4c4ff83b4b23a138b503647b20b5af09a6fb4336
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2024-02-21 04:05:58 -07:00
Dezhen Wang 6256ce3548 kernel6.6: support clang build for a4 and a5 [1/1]
PD#SWPL-156726

Problem:
support clang build for a4 and a5

Solution:
fix build error

Verify:
a4 a5

Change-Id: I9aa3e06010344c9a313365d3dcdf1b10b4f75904
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-02-21 04:05:46 -07:00
Dezhen Wang 455e982edd scripts: fix build command check_gki_20 [1/1]
PD#SWPL-157039

Problem:
command check_gki_20 cannot use

Solution:
fix the logic of code execution when use check_gki_20

Verify:
local.

Change-Id: I4e282893f67c710cb86b43a942163d99ddfd51c2
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-02-21 04:05:10 -07:00
zhou.ning 8ea88d1f2a dts: dts memory is incorrectly allocated on t5w [1/1]
PD#SWPL-157900

Problem:
dts memory is incorrectly allocated

Solution:
change the memory allocate

Verify:
t5w

Change-Id: Ie1a3e3a92021826cfb20b0b869266c5c5f025ae2
Signed-off-by: zhou.ning <zhou.ning@amlogic.com>
2024-02-21 01:52:29 -07:00
Ao Xu ea0b26be2c vout: add dummy_l support for vout3 [1/1]
PD#SWPL-152944

Problem:
vout3 server has no dummy_l
vout_func_validate_vmode will fail for vout3 and dummy_l mode

Solution:
add dummy_l support for vout3

Verify:
t7c-mercury

Test:
DRM-OSD-26

Change-Id: I555ad1b957442efda8dd4319e185507ad6f0b5ce
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-02-21 01:52:23 -07:00
xiang.wu1 65347e1432 hdmitx: S7 add check rxsense function [1/1]
PD#SWPL-157966

Problem:
S7 need rxsense function

Solution:
S7 add check rxsense function

Verify:
s7

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

Change-Id: I37151addf7b13d7cb9f45937f75495d062dc08c3
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-02-21 01:52:19 -07:00
Jie Dai d5ef54b345 lcd: t3x tcon global reset register fix [2/2]
PD#SWPL-156988

Problem:
The reset register of tcon was incorrectly written

Solution:
Fix tcon reset register

Verify:
t3x

Change-Id: Iada7738e942dc362fbaae1cbf65ccaf30b0ebfe2
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
2024-02-20 20:31:03 -07:00
Jian Hu e9dbb93ec8 dts: fix reg conflict between iotrace and defendkey [1/1]
PD#SWPL-157900

Problem:
there is conflict between iotrace and defendkey

Solution:
fix reg conflict

Verify:
t5w

Change-Id: I8c4acb8eb237b82eacad2897c4285b85bd159d3e
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2024-02-20 07:53:17 -07:00
Pengcheng Chen ed7763a2a3 vpu_dts: set clk_level = 8 for tm2 [1/1]
PD#SWPL-157957

Problem:
vpu clk is 500M, need set to 666M

Solution:
set clk_level = 8 for tm2

Verify:
tm2

Change-Id: Iacb265a0060cb157c80ab5347cbf3e5051cbadaf
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-02-20 07:53:12 -07:00
qinglin.li 71dd318d3e dmc_monitor: optimize port and subport name save [1/1]
PD#SWPL-147355

Problem:
optimize port and subport name save

Solution:
update dmc version to 1.2
optimize port and subport name save

Verify:
local

Change-Id: I2e293ad8b359cdef93475ee976ddc0562e1593e5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-02-20 06:05:14 -07:00
shufei.zhao b47449440d TXHD2: Create a separate defconfig for txhd2 [1/1]
PD#SWPL-157204

Problem:
Changes to TXHD2 cannot affect other SOCs

Solution:
Create a separate defconfig

Verify:
TXHD2

Change-Id: I6bb3435b4ae78dbb50b5bf7fa4e7e3e09564723b
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2024-02-20 03:57:09 -07:00
yao liu 1429991a53 amdv: flashing when enable GD backlight [1/1]
PD#SWPL-155997

Problem:
backlight is missed when it changed continuously each frame.

Solution:
add queue to improve backlight delay flow

Verify:
t5m

Change-Id: Ib4038566cf88a68dcf33a171b07b0b37c2fcc8cf
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-02-20 03:57:04 -07:00
yaoyu.xu b6ddbfc1cb hdmirx: TEE notify when hdcp1.4/2.2 keys were loaded [1/1]
PD#SWPL-154495

Problem:
TEE notify when hdcp1.4/2.2 keys were loaded

Solution:
tee notify 1 when key loaded.

Verify:
t3x

Change-Id: I1bf709ceb9618ab7123567320cfd7cc8265f5a97
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-02-20 01:49:18 -07:00
saisai.chang ff1528ba80 audio: switch ddp to pcm no audio in Netflix [1/1]
PD#SWPL-152947

Problem:
Ninjia 10 support multi-ch PCM output.
When switching from DDP to PCM 5.1 to HDMITX, and spdif is still 2.0 pcm
same source with tdm. In this case, the tdm driver will not set
same source enabled.

Solution:
To fix this issue, only takes spdif same source format into account.
When spdif format is PCM 2.0, enable same source for this tdm.
So another tdm outputs PCM 5.1 won't affect the same source TDM.

Verify:
oppen

Change-Id: I1361a2688d93771204cf63f0142e5e57ea48dba5
Signed-off-by: saisai.chang <saisai.chang@amlogic.com>
2024-02-20 01:49:09 -07:00
Jianxiong Pan 7a6fd8709e mm: remove changes that raised kswapd priority. [1/1]
PD#SWPL-155289

Problem:
high priority of kswapd leads to cpu loading.

Solution:
remove changes that raised kswapd priority.

Verify:
local.

Change-Id: I31e28d7d28b782aeddea27cd2750708264c54145
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-02-19 23:51:22 -07:00
gerrit autosubmit 20d423e48a Merge "S7: support for ramdump in ker5.15. [2/2]" into amlogic-5.15-dev 2024-02-19 22:51:16 -08:00
Pengcheng Chen 20678e40a9 vpp: alpha_win_en not set 0 when composer_info is NULL [1/1]
PD#SWPL-155867

Problem:
play video with alpha_win_en enable then play no alpha
win set video source, alpha_win_en not clear

Solution:
alpha_win_en need set 0 when composer_info is NULL

Verify:
t3x

Change-Id: Ie1e83da0c7c40bbfe12945d706f1fa7fb3f3c76a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-02-19 21:43:05 -07:00
yiting.deng 43d79d5c91 S7: support for ramdump in ker5.15. [2/2]
PD#SWPL-152986

Problem:
ramdump not work.

Solution:
support ramdump.

Verify:
s7-bh201

Change-Id: I5455b007cbe7e8f2f9dce906ff16c71ae462b695
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2024-02-19 20:18:57 -07:00
Pengcheng Chen 6c7630a360 vpp: init vppx video layer alloc [1/1]
PD#SWPL-157143

Problem:
VD_PATH_MISC_CTRL vppx video layer mux not set

Solution:
init vppx video layer alloc

Verify:
t7c

Change-Id: Icb6675d969859a31f0544d6c12caee48ea28d3df
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-02-19 19:55:12 -07:00
Huijuan Xiao c9dd8c3ba2 amvecm: modify WB reg write mode to rdma. [1/1]
PD#TV-110827

Problem:
modify WB register write mode to rdma.

Solution:
Fix it.

Verify:
t5m

Change-Id: Id5ec428176502bf53af0254339b60fa549186c70
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-02-19 04:35:27 -07:00
Gaowei Zhao 2eac675c76 hdmirx: Fix t5d accessing illegal addresses [1/1]
PD#SWPL-157416

Problem:
t5d access illegal address.

Solution:
ensure emp address right.

Verify:
t5d

Change-Id: Id0085222adb9cf00629b5492300f762b4f0c7964
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-02-19 04:35:18 -07:00
zhicheng.huang f6ebac02bf dvb: add build config for extern tuner [2/2]
PD#SWPL-152768

Problem:
build tuner ko in kernel source tree

Solution:
add build config for extern tuner

Verify:
s7

Change-Id: Icae68530573889f1b90944cb522c2fb8e04f801b
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2024-02-19 04:35:14 -07:00
Jie Dai a287211eeb lcd: panel parameter config fix [1/1]
PD#SWPL-155223

Problem:
1.panel parameter may be underflow when h/v_period
is set to h/v_period_min
2.delete p2p/mlvds parameter,
because these panel don't get parameter from dts

Solution:
fix timing

Verify:
tm2/t3 kernel5.15

Change-Id: I80f807747e9029bf135a5fe5f0072e2c9797efc9
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
2024-02-19 04:35:09 -07:00
yao liu 28c43f7950 amdv: flash when enable frc and playing 640x480 [1/1]
PD#SWPL-155398
PD#SWPL-153946

Problem:
1.slice changed at vpp render->amdolby_vision_process while
toggle->controlpath used older slice num.
2.when playing 2560x1440,dolby pyramid start line is too large, lead
to top2 stuck.

Solution:
1.move controlpath to amdolby_vision_process
2.add top1 skip process for top1 special res(640x360 etc)

Verify:
t3x

Change-Id: I97949508ee5c1a848939042db5054e4ef0cc47d1
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-02-19 01:43:06 -07:00
dongfei.li 1cbf38bb02 frc: frc chg new latency [1/1]
PD#SWPL-155997

Problem:
sync customer changed

Solution:
sync customer changed

Verify:
T5M

Change-Id: I39e2f4ff3619dd8d67921e432cbe9082226e197a
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2024-02-18 23:45:05 -07:00
zhou.han 8584c8f0c5 hdmitx: add broken edid check policy [1/1]
PD#SWPL-145767

Problem:
some TVs with broken edid can't display normally.

Solution:
add option to control the edid check policy.

Verify:
s5

Test:
DRM-TX-68

Change-Id: Ia44f1904beaff44d799e3cc0d626aa53ddbd9bec
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-02-18 21:47:25 -07:00
Lei Yang 47c053d7cc hdmirx: clear avmute status by sw [1/1]
PD#SWPL-155889

Problem:
GCP avmute is not cleared if tx did not sent clear_avmute

Solution:
clear avmute when gcp packet did not received for 4 frames

Verify:
T3x

Change-Id: Ib023287ed640cd978e435c0b50aa21077e8de4e8
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2024-02-18 03:45:11 -07:00
lukang.jia bb0bfa7dcc frc: frc remove limit size flag [1/1]
PD#SWPL-156589

Problem:
frc will not enter the enable flow when vf height is extremely small.

Solution:
remove limit size flag function

Verify:
T3X

Change-Id: I7e3e20886c80032b0a3fed418c384cdfa00ee8c1
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2024-02-18 03:45:06 -07:00
dian.shao 44278d887a usb: s7 disconnect logic update [1/1]
PD#SWPL-157221

Problem:
s7 disconnect analog logic has updated.

Solution:
Change usb2_disc_trim at usb2 config reg off 0x0c.

Verify:
bh201

Change-Id: Ie1733d10b9ab783f4b7495d124e1a711200446ca
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-02-17 22:03:31 -07:00
linfang.zhao 3f0746ba3f drm: conflict between drm and dv when write afbc top ctrl reg [1/1]
PD#SWPL-153877

Problem:
conflict between drm and dv when write afbc top ctrl

Solution:
drm get dv status and write corresponding reg bit

Verify:
T7C

Test:
DRM-OSD-6

Change-Id: I45e8f9c86b7ca63532d642c268e5e5dba866fca0
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
2024-02-12 01:51:12 -07:00
Xingxing Wang f2c4eb49b3 thermal: update ts_coeff [1/1]
PD#SWPL-157595

Problem:
s7 tempsensor coefficient update

Solution:
calibrated chip(bit28~30==0) use old coeff<296 396 2757 8526>
while new chip(bit28~30!=0) use new coeff<296 396 2907 8739>

Verify:
S7

Change-Id: I236eb26b06e542508d8cd596de162dbaadc4bc8d
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-02-06 13:51:13 -07:00
yiting.deng fb7c7e28a1 clk: s7: add aclkm in clktree [2/2]
PD#SWPL-156824

Problem:
s7 add aclkm in clk tree, need check aclkm

Solution:
fix it

Verify:
s7

Change-Id: I8dfaac712901e2ad219b6b719c50d8e4e3448cf7
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-02-05 05:45:08 -07:00
Jianxiong Pan 7890dd1a6d dts:fix Garbage screen observed when switching from uboot logo to bootanimation. [1/1]
PD#SWPL-156204

Problem:
fix Garbage screen observed when switching from uboot logo to bootanimation.

Solution:
sync the memory of drm_vpu and meson-fb.

Verify:
adt4.

Change-Id: I3c5d9dea677bebaa5c0ef4d4559479dacdf2dee1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-02-05 03:47:42 -07:00
qiyao.zhou 55a2a2dde2 dp: di backend no need keep vf [1/1]
PD#SWPL-146509

Problem:
DI backend no need keep vf.

Solution:
Add di backend config flow to match
DI new api which release buffer
when unreg/reg.

Verify:
txhd2

Change-Id: I82bb48f2b058c34894a1c1328c7c0fbb80fcb2ef
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-02-05 03:47:38 -07:00
jialong.jiang 19614a6865 dv: add dv graphic interface to drm. [1/1]
PD#SWPL-153877

Problem:
conflict between drm and dv when write afbc top ctrl.

Solution:
dv add graphic interface to drm.
drm get dv status and write corresponding reg bit.

Verify:
t7c

Change-Id: I98f27d82f77af8aad35fba65b66b66f482d0802a
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-02-05 03:47:19 -07:00