Commit Graph

5690 Commits

Author SHA1 Message Date
yu.xie ccbd3e42b4 dts: modify android_u S805X2 1.5G codec_mm_cma size to 168MB. [2/2]
PD#SWPL-162202

Problem:
Adjust the size of codec_mm cma to 168M.

Solution:
Adjust the size of codec_mm cma to 168M.

Verify:
S805X2

Change-Id: I8d9987f6f817decc03f0b3b65d38683a2bff6233
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-04-11 23:10:21 -07:00
Pengcheng Chen fad876c48c vpp: vd1 padding cut set error for s5 [1/1]
PD#SWPL-163476

Problem:
vd1 padding cut set error for s5

Solution:
vd1 padding cut set need 16 aligned for s5

Verify:
s5

Change-Id: I8dbccf7babea375d802b66566919d054d79dcc2d
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-04-11 23:10:12 -07:00
Ruixuan.li fcc4f8cc8e emmc: change gp0 to 1152M in kernel [2/2]
PD#SWPL-164847

Problem:
gp0 do not support 1536M

Solution:
change gp0 to 1152M

Verify:
s7

Change-Id: I476310471d1e721e8ed547766ab42500631d615f
Signed-off-by: Ruixuan.li <ruixuan.li@amlogic.com>
2024-04-11 23:10:05 -07:00
lukang.jia efafc3bc24 frc: frc modify urgent control [1/1]
PD#SWPL-163867

Problem:
modify FRC urgent control function

Solution:
modify FRC urgent control function

Verify:
T3X

Change-Id: I1f992ce77937733f10df1eaa0ed005e43619d302
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2024-04-11 20:37:53 -07:00
chen.xu 9710fd9c2e amlvideo2: only support screencap 720P for S4 and S7 [1/1]
PD#SWPL-163964

Problem:
only support screencap 720P for S4 and S7.

Solution:
support.

Verify:
S4 and S7

Change-Id: Ia6e3acddf1f77e6278cb428c56d4f338e448d9c0
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-04-11 02:36:07 -07:00
jiabin.chen ab1a1656b6 wifi: set country code [1/1]
PD#SWPL-164889

Problem:
system can not set country code

Solution:
fix config cfg80211

Verify:
ohm

Change-Id: I57458d41d6bc0020fed0cff4bb4dec1084dcbe26
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
2024-04-11 02:35:58 -07:00
Ao Xu 8c74df0390 drm: add force_slice parameter [1/1]
PD#SWPL-161420

Problem:
t3x mode will change from 48-120hz
it will lead to garbage screen

Solution:
add force_slice parameter

Verify:
t3x-bc302

Test:
DRM-OSD-10

Change-Id: I7134c628dc412bf43a5419c8f85782a6e414b4bf
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-04-10 23:41:55 -07:00
Zhe Wang 13b27b3def audio: support 32bit audio record in ATV source [1/1]
PD#SWPL-164674

Problem:
All TV source should support 32bit audio

Solution:
Expand 16bit audio data from FRATV module to 32bit

Verify:
T5M

Change-Id: Ic975a7c78240df472a7b7a7ae809e5eaabf49f14
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2024-04-10 21:46:50 -07:00
Evoke Zhang 6366662bb2 lcd: fix default parameters mistake from cus_ctrl [1/1]
PD#SWPL-164473

Problem:
lcd parameters incorrect when default mode from cus_ctrl

Solution:
update vmode parameters after vmode init

Verify:
ay301

Change-Id: I4129e238254ca4d0a1311e7ef5bd28ea94ada189
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-04-10 21:46:41 -07:00
hengrui.li 712f25e365 dts: Modify s1a ethernet unit address [1/1]
PD#SWPL-162093

Problem:
- Modify s1a ethernet unit address

Solution:
- Modify s1a ethernet unit address

Verify:
S1A_BG201

Signed-off-by: hengrui.li <hengrui.li@amlogic.com>
Change-Id: I3efe9e1d86a58d3a2ded56790cf969f6dd1ced86
2024-04-10 21:46:22 -07:00
Liming Xue 5608b996da sc2: android u Auto test fail [1/1]
PD#SWPL-164172

Problem:
sc2 not have dsp,resources have been released,but also register misc,
so When sc2 autostart,it accesses the /dev/hifi4dsp0 node,
so causing a panic in load firmware

Solution:
when board not have dsp,resources have been released,then return
negative value

Verify:
sc2

Change-Id: I9d0a12edddb09ef26e6798f7eb0d0029f3f4dd8d
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-04-10 21:46:09 -07:00
yaoyu.xu 8fac7442f9 hdmirx: use bits to operate vdac register [1/1]
PD#SWPL-164030

Problem:
rx aud setting effect vdac dtmb.

Solution:
use bits to operate vdac register.

Verify:
txhd2

Change-Id: Iaf76c259cbb35d36bbd6e3d9229c50137d71d801
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-04-10 21:46:05 -07:00
shufei.zhao 26b68df9f1 configs: kernel cut for planck upgrade android U [2/2]
PD#SWPL-161459

Problem:
Optimize kernel size.

Solution:
kernel cut for planck android U.

Verify:
s4

Change-Id: I7ddb8b57210d2a7b589c82a89d82cb4fc01710b2
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2024-04-10 21:46:02 -07:00
yao liu c58211d886 amdv: add precision api [1/1]
PD#SWPL-161721

Problem:
new function

Solution:
1.DV_IOC_GET_DV_PRECISION_DETAIL_SUPPORT get cap from cfg
2.DV_IOC_SET_DV_PRECISION_DETAIL_BYPASS set bypass

Verify:
t3x

Change-Id: I01e1f01e942349aa2241df6748100015603e185b
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-04-10 20:39:54 -07:00
Wenjie Qiao c2b98d82eb hdmitx: eARC register callback fail [1/1]
PD#SWPL-145976

Problem:
eARC driver probe before hdmitx driver, so eARC register callback fail

Solution:
don't check hdmitx init when eARC register callback
and later probe and plugin/out will notify eARC HDMI Tx cable plug in/out

Verify:
TM2

Test:
DRM-TX-104

Change-Id: Iec57c6b15d478f6c38a2c6b4b49876b17ca70cc3
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-04-10 04:42:08 -07:00
caiyi.xu e7aef9acd9 dtv_demod: fix incorrect cfo calculation results and add info (v3.5.34) [1/1]
PD#SWPL-164161

Problem:
incorrect cfo calculation results

Solution:
1.recalculate cfo
2.add dvbt2 info

Verify:
ay301

Change-Id: I5eb262730bed189a8ee3c7fdd9101bd7e01679ea
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
2024-04-10 04:42:04 -07:00
Hao Shi 8a5b7273a5 codec_mm: sid value check [1/1]
PD#SWPL-163765

Problem:
sid should not be MAX_SID

Solution:
return and report an error if sid is equal to MAX_SID

Verify:
sc2

Change-Id: If2b7fef62814b4e2ff62867cbbc1f74f9848e673
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-04-10 01:54:26 -07:00
mingxiu.sun af78967e35 vdin: optimize dv drop frame process [1/1]
PD#SWPL-161630

Problem:
dv display abnormal last frame

Solution:
optimize dv drop frame process

Verify:
t3x

Change-Id: I4c0b81418651dea4e2a1846c2f7b5b7da64eabc9
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-04-10 01:54:23 -07:00
Huijuan Xiao bb1d771dfe amvecm: STD for amvecm driver [1/1]
PD#SWPL-152218

Problem:
need add suspend and resume flow.

Solution:
add suspend and resume flow.

Verify:
t5m

Change-Id: I2da60ca9493d599db58839af0300a33b54360447
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-04-10 01:54:07 -07:00
lizhi.hu 79e0be2d39 lcd: fix analog dump for t5m [1/1]
PD#SWPL-161573

Problem:
analog reg not dump for t5m

Solution:
fix

Verify:
t5m_ay301

Change-Id: Iae1e2be78971a472804ae5180825db067376c849
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-04-09 23:49:01 -07:00
yiting.deng bda9dc6f16 dvfs: s7: fix dsuclk when cpuclk to 1.512G and 1.2G [1/1]
PD#SWPL-163704

Problem:
dsuclk is 1.344G when cpuclk is 1.512G;
cpuclk is 1.2G, dsuclk need config to 1G;

Solution:
fix cpuclk = 1.5G, dsuclk = 1.2G;
fix cpuclk = 1.2G, dsuclk = 1G;

Verify:
s7_bh201

Change-Id: I54e21863dc06e544261cb792af45d52d06e68cea
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-04-09 21:47:17 -07:00
Evoke Zhang 883703f40e lcd: bypass ufr mode switch when power off [1/1]
PD#SWPL-161946

Problem:
ufr mode switch maybe unexpectedly light on panel after early_suspend

Solution:
bypass ufr mode switch when lcd_if off

Verify:
ay301

Change-Id: I7704690d795f2a1ba57cc46a10babc9e2f71fa9b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-04-09 21:47:11 -07:00
yu.xie 1eb20dc750 dts: modify android_u S805X3 2G codec_mm_cma size to 168MB. [1/1]
PD#SWPL-160017

Problem:
adjust the size of codec_mm cma to 168M.

Solution:
adjust the size of codec_mm cma to 168M.

Verify:
S805X3

Change-Id: Ifb71d7e219e1c4cd7e7bb01e6a0eb4b34abbd167
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-04-09 21:47:07 -07:00
yu.xie 9e75939c48 dts: modify android_u S805X3 1.5G codec_mm_cma size to 316MB. [1/1]
PD#SWPL-162200

Problem:
adjust the size of codec_mm cma to 316M for DTV PIP enable.

Solution:
adjust the size of codec_mm cma to 316M for DTV PIP enable.

Verify:
S805X3

Change-Id: Ifc8c87cab43758a3f48ad1610f77cd45c868d597
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-04-09 21:47:03 -07:00
yu.xie 3dcd1c381b dts: modify android_u S805X2 1.5G codec_mm_cma size to 328MB. [1/1]
PD#SWPL-162202

Problem:
adjust the size of codec_mm cma to 328M for DTV FCC enable.

Solution:
adjust the size of codec_mm cma to 328M for DTV FCC enable.

Verify:
S805X2

Change-Id: I70dfc727f0645d86c17ad46c0aaaa4e67dc262d4
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-04-09 21:46:59 -07:00
Pengcheng Chen 57c374fb65 vpp: fix vpu resume rdma write dump stack [1/1]
PD#SWPL-162475

Problem:
fix vpu resume rdma write dump stack

Solution:
vpu resume used cpu write instead of rdma write

Verify:
s5

Change-Id: I50238734d29879ddc73d9755084698c7a5c4b8a1
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-04-09 19:49:13 -07:00
Gaowei Zhao a54e3fca89 hdmirx: support qms [1/1]
PD#SWPL-154454
PD#SWPL-160882

Problem:
not support qms

Solution:
support qms

Verify:
t3x

Change-Id: I3f373014962a06788ae9b0185555d8a8e0cf5725
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-04-09 19:48:57 -07:00
haitao.liu c20b47558c vdin: fix failed to compile zapper issue [1/1]
PD#SWPL-161512

Problem:
mk_zapper32.sh execution failed

Solution:
resolve code dependencies

Verify:
s1a

Test:
compile pass

Change-Id: Id2453a4414b768580ced0a57453dd29609fed86b
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-04-09 13:44:59 -07:00
haitao.liu ea8d0f2fdf vdin: Comment the code of changing secure mode dynamically [1/1]
PD#SWPL-161102

Problem:
vpp call tee interface in ISR cause abnormal because it may schedule
in tee interface.

Solution:
Donot need to call the tee intreface to change vdin secure buffer state,
so remove the related code,not to call it in ISR

Verify:
t5m

Change-Id: I971a2db1821532df475b2b2c856eb569a2b8177d
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-04-09 13:44:55 -07:00
Yu Tu 9d7cb0d7c8 pcie: pcie lead to power consumption high when shutdown [1/1]
PD#SWPL-164277

Problem:
pcie lead to power consumption high

Solution:
close phy and clock

Verify:
customer test ok

Change-Id: I9d10faf6cba4c24194673f6cfd280a045d2fbdd0
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-04-09 06:09:24 -07:00
Hangyu Li 56cc55aa8a mm: fix cma allocation stuck problem. [1/1]
PD#SWPL-161071

Problem:
cma alloc stuck.

Solution:
add FOLL_LONGTERM flags in pin page.

Verify:
S7.

Change-Id: Id011372a9431e07e69e1ee27ea134acda6959c82
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2024-04-09 06:08:59 -07:00
Cancan Chang fe9760c96a NNA: switch adla core clk parent [1/1]
PD#SWPL-162745

Problem:
std suspend:
clk tree save config clk_parent0;
adla core --> switch to clk_parent1

std resume:
clk tree restore config clk_parent0;

Solution:
std suspend:
adla clk switch to clk_parent1;
adla power off;
clk tree save config clk_parent1;

adla resume
adla tree restore config clk_parent1;
adla power on;
adla clk switch to clk_parent0;

Verify:
T7c

Change-Id: I74ac279eb4316461e28f9b9e396a41948f5cf85a
Signed-off-by: Cancan.chang <cancan.chang@amlogic.com>
2024-04-09 00:47:40 -07:00
Liming Xue df48c21f19 dsp: t7 kernel5.15 change the DDR + SRAM address [1/1]
PD#SWPL-163669

Problem:
kernel5.15 dsp DDR + SRAM start mode,sram address 0xf7000000 is error
and needs to be changed to 0xf7100000

Solution:
change sram address to 0xf7100000

Verify:
T7

Change-Id: I5dc780dac2ff3c2253fcb7be4e747773a2281ccd
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-04-09 00:43:00 -07:00
haitao.liu 4b2f321c5d vdin: optimize the time to enter the AV channel [1/1]
PD#SWPL-161331

Problem:
The time to enter the AV channel is too long

Solution:
reduce the number of signal stability confirmations

Verify:
t5m

Change-Id: If24ca340695e277819e720855ecefb25cc6b9b84
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-04-09 00:42:55 -07:00
hang cheng cceac2f696 hdmitx21: enhance hdcp disable action [1/1]
PD#SWPL-159886

Problem:
hdcp may not be disabled when switch mode,
and cause scdc clk_ratio can't be sent as
DDC is occupied by hdcp

Solution:
enhance hdcp disable operation

Verify:
S7

Test:
switch mode quickly and repeatedly

Change-Id: Ib68a3bb6652a3d0a586ef3809995f1b29ddc7c4e
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-04-08 21:49:44 -07:00
huijie.huang a69cc2fa3a lcd: tcon: fix tcon top initial sequence [2/2]
PD#SWPL-163721

Problem:
GPIOH_0 will pull down when system bootup

Solution:
tcon top fix initial sequence

Verify:
T5M

Change-Id: I6ee7dab4b756d9d344b6b7ab76e574984e09a89a
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2024-04-08 21:49:39 -07:00
jian zhou f8250da2d6 audio: remove extcon function [1/1]
PD#SWPL-162520

Problem:
there is selinux issue when access extcon path.

Solution:
use uevent instead of extcon function.

Verify:
T7C

Change-Id: If03ce34921a120582a6efdc5b823983709e4d9b7
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-04-08 03:03:11 -07:00
Song Zhang c6b8245464 Revert "hdmitx: eARC register callback fail [1/1]"
After burning, stuck at the logo, unable to enter the system.

This reverts commit 784e8ef37d.

Change-Id: I0124f667c8f2db59bbea5243d8fdb9a38ae60078
Signed-off-by: Song Zhang <song.zhang@amlogic.com>
2024-04-08 16:45:23 +08:00
zhou.han de25423726 hdmitx: Fix pointer release issue in edid_store [1/1]
PD#SWPL-163281

Problem:
The address pointed by the pointer is released after modified

Solution:
Records the initial address of the pointer and releases this
initial address at the end

Verify:
ohm

Test:
self-test

Change-Id: I99986c817d9a5020cc049038c5ddec005e641a6b
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-04-07 23:44:56 -07:00
Wenjie Qiao 8d5a638b93 hdmitx: set frac 0 when brr mode [1/1]
PD#SWPL-163844

Problem:
switch to 59.94hz, not set 60hz mode when qms enable
because frac mode

Solution:
set frac 0 when brr mode

Verify:
s7d

Test:
DRM-TX-75

Change-Id: I69fc38ffee456d2a917f586e7ed04dad3aa8a22d
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-04-07 21:54:09 -07:00
Wenjie Qiao 784e8ef37d hdmitx: eARC register callback fail [1/1]
PD#SWPL-145976

Problem:
eARC driver probe before hdmitx driver, so eARC register callback fail

Solution:
don't check hdmitx init when eARC register callback
and later probe and plugin/out will notify eARC HDMI Tx cable plug in/out

Verify:
TM2

Test:
DRM-TX

Change-Id: Ifa1a4d541e7d976ea1a0112f0755b463c11dcdf8
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-04-07 21:53:59 -07:00
qianqian.cai 9961f2030c deinterlace: t3x multi, the video and the system stunk [1/1]
PD#SWPL-161852

Problem:
di buffer keeped by other

Solution:
add post number

Verify:
t3x-multi

Change-Id: Ia0c4253abe4a113c11a0cf856387127b74588ea6
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2024-04-07 21:53:49 -07:00
mingxiu.sun a889d8a5cf vdin1: g12a/g12b/sm1 donot support screencap vpp [1/1]
PD#SWPL-158739
PD#SWPL-158743

Problem:
screencap osd + video use vpp loopback point,
g12a/g12b/sm1 do not support it

Solution:
modify registers as loopback post_blend

Verify:
g12a

Change-Id: I419a924bc2a72ae8d8a7c2c00ddc59b5189fc8ab
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-04-07 21:53:36 -07:00
mingxiu.sun 44740e2165 tvafe: vbi_probe memory optimization [1/1]
PD#SWPL-158562

Problem:
vbi alloc memory in probe

Solution:
Change the vbi memory allocation to tvafe_dec_open

Verify:
txhd2 androidu

Change-Id: I319204327b2f9aaea55aef9f7d13c310a8b3c090
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-04-07 21:53:13 -07:00
linfang.zhao d0fd43f239 drm: sync drm code from sandia to s7&trunk [1/1]
PD#SWPL-145614

Problem:
sync drm code from sandia to s7&trunk

Solution:
sync drm code from sandia to s7&trunk

Verify:
androidU_s5/androidU_T3X-BDS/androidU_s7/RDK_SC2/yocto_sc2

Test:
DRM-OSD-27
DRM-OSD-33

Change-Id: I7fddcabf1a901419fb4b79680bee3e6246180380
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
2024-04-07 21:53:08 -07:00
Jiacai.Liu 316cd84048 linux: CB modify t5w 32bit dts files [1/1]
PD#SWPL-163518

Problem:
1.5G t5w platform start fail due no suitable dts file

Solution:
add 1.5 t5w linux dts file
modify linux platform 32bit recovery image size

Verify:
local t5w

Signed-off-by: Jiacai.Liu <jiacai.liu@amlogic.com>
Change-Id: I72453f594ec5af8e43d7932d0031ab57c79c8fae
2024-04-07 03:51:30 -07:00
mingxiu.sun e7f859e999 vdin1: vdin1_cma memory setup optimizatn [1/1]
PD#SWPL-162442

Problem:
Linux_Yocto requires screen capture 1080p nv21 size

Solution:
The reserved vdin memory is added to 12 MB.

Verify:
YOCTO_S905X4 kernel5.15

Change-Id: I39e5d5614f48fdb3d28f910151d4dc68d22d5a70
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-04-07 03:51:11 -07:00
he.he 364cc722c2 usb: xhci not responding [1/1]
PD#SWPL-155224

Problem:
irq: nobody cared (try booting with the irqpoll option)
handlers:
[<0000000065ca241a>] usb_hcd_irq
Disabling IRQ #usb

Solution:
usb interrupt is coming,
but the op_regs->status register equals 0, if exit directly,
it may cause the status to remain at 0 and cause xhci to
falsely hang.

Verify:
t3x

Change-Id: I9b643c13b364ab86bb38384551bcb5008680c1ec
Signed-off-by: he.he <he.he@amlogic.com>
2024-04-07 03:51:05 -07:00
Jianxiong Pan 3869b9a068 zapper: block s7 board related code for s1a. [1/1]
PD#SWPL-126879

Problem:
block code unrelated to s1a.

Solution:
block s7 board related code for s1a.
disable some configs.

Verify:
s1a.

Test:
s1a.

Change-Id: I84d563b958980d1fad9e587c7a8474757759b109
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-04-07 01:55:40 -07:00
Dezhen Wang 170460d899 scripts: function adjustment and remove staging dir last time [1/1]
PD#SWPL-163329

Problem:
building will fail because last build remain the staging dir

Solution:
remove staging dir in last build

Verify:
local

Change-Id: Ie5acfb09af45027d567f12f197ec4001af0d304a
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-04-07 01:55:31 -07:00