Commit Graph

3198 Commits

Author SHA1 Message Date
jialong.jiang 51a5d2229b hdr: report box output conversion cap. [1/1]
PD#SWPL-132034

Problem:
report s4 hdr output conversion cap.

Solution:
report s4 hdr output conversion cap.

Verify:
s4.

Change-Id: Icdb7dc4281346c47dfc25a61ca295f416bacaaa8
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2023-07-27 20:10:23 -07:00
mingxiu.sun 7b52497eea vdin1: ScreenCap abnormal [1/1]
PD#SWPL-132841

Problem:
The first frame of vdin1 was not write finished,
causing a screenshot exception

Solution:
vdin1 drop the first frame

Verify:
txhd2

Change-Id: Ibf24d007f14d07bf0713527bec0df75897031c5f
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-07-27 08:23:47 -07:00
zhenteng.tian fbcbe47e4c vpp: fix alpha use last frame info [1/1]
PD#SWPL-132135

Problem:
small window will black when big window change with small window

Solution:
alpha use cur frame info for kernel 5.15

Verify:
S5

Change-Id: I7d5a1f29a88586e4f23f4dbe5f95a1bc664e5b55
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-07-27 08:13:21 -07:00
lizhi.hu d7d42e2854 peripheral_lcd: add support for qspi panel [1/1]
PD#SWPL-129666

Problem:
need support qspi panel

Solution:
add qspi panel support

Verify:
none(sync from 5.4)

Change-Id: I1043cf51d21ea8d31fb0cbcd5b6be652e0ecba21
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2023-07-27 04:14:35 -07:00
yiting.deng d80ccb8cc4 clk: fix s4 k5.15 hifi pll to 1179.648M [1/1]
PD#SWPL-133578

Problem:
fix hifi_pll to 1179.648M

Solution:
fix hifi_pll to 1179.648M and no set_rate ops

Verify:
s4_ap222

Change-Id: Ia485a8e7e79bcc184746f51f01bc6e40bb4888b6
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2023-07-27 02:10:16 -07:00
Jie Dai eac0305658 lcd: wrong combo dphy access interface in mlvds [1/1]
PD#SWPL-133441

Problem:
mlvds used wrong interface to access combo dphy

Solution:
fix interface

Verify:
be311

Change-Id: Id9055ed046b8e1ba702fbf61145425423f4905fe
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
2023-07-26 22:12:54 -07:00
dongfei.li f0ef876a1f frc: frc provide frc_is_on for vpp [1/1]
PD#SWPL-133575

Problem:
provide frc_is_on for vpp

Solution:
provide frc_is_on for vpp

Verify:
T3X

Change-Id: Ic010734fdbe45b5bc5998f2e474601ea187d56cd
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-07-26 22:12:47 -07:00
Jianxiong Pan 2c979ec11d zapper: enabled reg access function. [1/1]
PD#SWPL-126879

Problem:
macro error.

Solution:
use the reg access config instead of watchpoint.

Verify:
t215.

Change-Id: Ia030a2d813ec9a7c28eb814ad5978100758654df
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-07-26 05:51:32 -07:00
Wentao.Sun 647993f2aa TEE: logger: fix logger always used 256k memory in reserved shm [1/2]
PD#RSP-5413

Problem:
1. when logger is disabled, 256k memory is reserved for logger
2. when dyn shm is enabled, reserved shm may be not exist
3. the memory size for logger can not be config

Solution:
refactor the logger driver.
1.add smc call to get log buffer address and size from TEE
2.config the logger memory size in TEE
3.compatible logger v1/v2

Verify:
AndroidT + sc2_ah212

Change-Id: I922536ac7dabd2ba74d7dae316aa2173e9b8cd20
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2023-07-26 05:51:15 -07:00
chuangcheng peng 49a6cc1230 demux: add dump filter ringbuffer [1/1]
PD#SWPL-63647

Problem:
add dump filter ringbuffer

Solution:
add dump filter ringbuffer

Verify:
verified at ohm

Change-Id: Iffa6da5dc155dc59832fc84d66a86fad2eb47d3a
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-07-26 02:09:49 -07:00
Evoke Zhang 81a2ec4bfb lcd: tcon: add txhd2 support for tcon_fw [1/1]
PD#SWPL-129112

Problem:
need support tcon_fw for txhd2

Solution:
add txhd2 tcon_fw support

Verify:
be311

Change-Id: Ib2fa7755c745c2297c9c495c0895d8410f68ff72
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-07-26 02:09:45 -07:00
Jianxiong Pan 80695386da user fault: fix arm64_show_signal kprobe fail. [1/1]
PD#SWPL-112188

Problem:
compiler optimization, resulting in unable to kprobe

Solution:
not kprobe the arm64_show_signal func.

Verify:
t215.

Change-Id: I2aac9ff78db34739050d5acba53bb5b7287d5ff0
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-07-26 02:09:41 -07:00
qiang.liu 4b3f9c3bf0 vdin: notify fps change event when not game mode [1/1]
PD#SWPL-132897

Problem:
notify fps change event when vrr cause output rate abnormal

Solution:
notify fps change event when not game mode

Verify:
T5m

Change-Id: I59008c33e8d7c5407049223ec7ab438e70d595ec
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-07-26 00:12:06 -07:00
qinglin.li 39ac61ea96 dmc_monitor: dmc function optimization [1/1]
PD#SWPL-132709

Problem:
dmc function optimization

Solution:
1. add trace print
2. add default device config
3. add suspend debug
4. add create bootcmd
5. add serror debug
6. add dev blacklist

Verify:
local

Change-Id: I785aec22216ab605b3912cad4f4263ece9820daf
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2023-07-26 00:12:02 -07:00
shipeng.sun abffa8e6d1 dmabuf_manage: CB1 register channel info manage secmem resource [2/2]
PD#SWPL-133382

Problem:
register channel info manage secmem resource avoid codec2 service
or client crash secmem session doesn't release.

Solution:
register channel info manage secmem resource avoid codec2 service
or client crash secmem session doesn't release.

Verify:
S905X4

Change-Id: Iebe5d3cb4a404e6ce42f1274723e24cf1a829a32
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-07-26 00:11:51 -07:00
yujun.zhang d3327b6147 drm: SM1 & G12B drm hdmitx & mipi display [1/1]
PD#SWPL-126349

Problem:
No drm support for 2nd MIPI display

Solution:
Config DTS and some codes

Verify:
SM1 & G12B

Test:
DRM-OSD-78

Change-Id: I735857ddf2dec67f45617a5dec970efa75032d5f
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2023-07-26 00:11:40 -07:00
Hanjie Lin b257fa1e5d debug: GKI20 clean [2/6]
PD#SWPL-132209

Problem:
GKI20 code clean

Solution:
1, clean irq_check function
2, clean smc_thr and psci smc
3, clean AMLOGIC_BGKI_DEBUG_IOTRACE
4, clean CONFIG_AMLOGIC_BGKI_DEBUG_MISC
5, restore trace_android_vh_ftrace_format_check
6, sched_show_task optimize
7, change cpupri_check_rt kretprobe to kprobe
8, iotrace dump use unbound workqueue

Verify:
sc2

Change-Id: Idcdf9010cfd960b80c493e58b3c81bec8468ac84
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2023-07-25 22:16:21 -07:00
pengzhao.liu a4b58af8c5 kernel: change CONFIG_PANIC_TIMEOUT=5 [1/1]
PD#SWPL-127633

Problem:
5.4 Wait for 5s before panic

Solution:
change CONFIG_PANIC_TIMEOUT=5

Verify:
t7c

Change-Id: Ic22e50f29889e4634a4443774a2a67adbd09fb17
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2023-07-25 20:10:30 -07:00
Hangyu Li 950fe51d2b dts: add secure_vdec_reserved dts node for Android U/T Codec2 [1/1]
PD#SWPL-133296

Problem:
Android U/T codec2 secure vdec pool changed from dynamic alloc/free to
use secmem v2 pool implementation.
Secure vdec memory need to be reserved.

Solution:
Add secure_vdec_reserved dts node
to reserve secure vdec memory in dts instead of BL32

Verify:
Android T/U + kernel5.15

Change-Id: I469ec36facb33a51b3529ceeecf968365faae6f9
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2023-07-25 20:10:21 -07:00
wei huang 393f730fc5 audio: TV standby wake up, speaker has pop noise [1/1]
PD#SWPL-128734

Problem:
When enter or quit STR, the signal will change from one
high level to zero directly. So it causes this issue.

Solution:
1) When enter or quit STR, do fade out or fade in process.
2) disable to toggle SDZ check
3) add trigger control to do soft mute/unmute

Verify:
Test on board T5M. It works well now

Change-Id: If0e59aeb092538ae5e71e5c8846e4af57a18bdf1
Signed-off-by: wei huang <wei.huang@amlogic.com>
2023-07-25 05:57:40 -07:00
yaoyu.xu c5c08e0f60 hdmirx: reduce power when hdmirx suspend [1/1]
PD#SWPL-132788

Problem:
hdmirx need reduce power when suspend

Solution:
close 2m 5m cfg clk.

Verify:
txhd2.

Change-Id: Ifc58d946f4da9f44e84ee220ed0982b1b6976f07
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-07-25 05:57:37 -07:00
Dezhen Wang 0c1f3906ad script: export the branch parameter for vts test [1/1]
PD#SWPL-132039

Problem:
vts test planck have not kernel version

Solution:
export the branch information

Verify:
planck_32bit

Change-Id: I6375f9642618c808ab8ea856bf184264f03afaec
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2023-07-25 05:57:22 -07:00
Wenjie Qiao 295a10de72 hdmitx: hdcptx22 allocate failure when boot [1/1]
PD#SWPL-130457

Problem:
hdcptx22 allocate failure when boot

Solution:
use the coherent and resolve the panic issue

Verify:
s5/sc2

Change-Id: I60044ce586630ba0319cf77b7de203c129a35d2f
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2023-07-25 05:57:09 -07:00
donghui.wang 113d39a70e backlight: add turnpoint param for pwm curve [1/1]
PD#SWPL-133188

Problem:
miss turnpoint param

Solution:
add turnpoint param

Verify:
t5m

Change-Id: I74dfd3b42c101449f09e0a6e9ff1db416ef98713
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2023-07-25 03:55:18 -07:00
dongfei.li 7e96407610 frc: frc get new size from vpp [1/1]
PD#SWPL-132703

Problem:
vpp 2 slice is diff than 1 slice

Solution:
frc get new size from vpp

Verify:
T3X

Change-Id: I13245a5e547a5642fc7020677d4c39ab465f0783
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-07-25 03:55:11 -07:00
yi.liu 470c469cfe amlbian: Vbyone only supprt 25hz [1/1]
PD#SWPL-130526

Problem:
Vbyone only supprt refresh rate of 25hz.

Solution:
fr_adj_type(0xff):Fixed mode of refresh rate.
pixel_clk:4400*2250*25(hz).

Verify:
local

Change-Id: I858d5d0682356beb2da3ff005018c5a479bcdcc3
Signed-off-by: yi.liu <yi.liu@amlogic.com>
2023-07-25 03:55:04 -07:00
Wanwei Jiang ab4379f49f customer: temporarily disable external kconfig for upgrading kernel [1/1]
PD#SWPL-132650

Problem:
temporarily disable external kconfig for upgrading to the 5.15 kernel

Solution:
do not set the value of KCONFIG_EXT_PREFIX && KCONFIG_EXT_MODULES_PREFIX

Verify:
txhd2

Change-Id: Ifd1d341fbfe72454da12890090351a925e18ebae
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-07-25 03:04:25 -07:00
Cheng Wang 3332c628df frc: frc seamless optimize [1/2]
PD#SWPL-115879

Problem:
frc seamless mode optimize

Solution:
seamless mode optimize

Verify:
T5M

Change-Id: Id4ca17056882c2ab159b78d48d9d5634329772a9
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2023-07-25 02:03:07 -07:00
yao liu 1aa1d68756 amdv: modify 5344 top1 rdmif to match h265 dw 420-10 [1/1]
PD#SWPL-129145

Problem:
top1 hist is not match cmodel

Solution:
modify 5344 top1 rdmif to match h265 dw 420-10

Verify:
t3x

Change-Id: I65a944a8d9aa3647374b85df6288d19aab0a84e3
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-07-25 00:19:42 -07:00
Gongwei Chen 8435116d95 dts: add A311D2 bluebell dts [5/6]
PD#SWPL-132842

Problem:
need add A311D2 bluebell on Android U

Solution:
add A311D2 bluebell on Android U

Verify:
verify by bluebell

Change-Id: Iee640463968f8b9b3a8ad4b2a6aa539780d7691e
Signed-off-by: Gongwei Chen <gongwei.chen@amlogic.com>
2023-07-25 00:19:38 -07:00
lele xiang 9e14a48cce codec_mm: CF1 Print index when alloc and release memory [1/1]
PD#SWPL-132333

Problem:
Print codec_mm alloc and release index

Solution:
Print codec_mm alloc and release index.

Verify:
sc2

Change-Id: I8e1d020ada122f12fb8eba3f464be9a933fb20fa
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2023-07-24 22:18:30 -07:00
yao liu 4fcc86f176 amdv: case 5210 fail [1/1]
PD#SWPL-132778

Problem:
upper layer change mode

Solution:
Ignore upper layer setting in IDK mode

Verify:
t3x

Change-Id: Ibbed3a053d50c58053694e9fb9bea018f7fd691b
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-07-24 22:18:18 -07:00
Chuan Liu d07c53e20b clk: g12a/g12b/sm1: fix vpu modify hifi_pll clock [1/1]
PD#SWPL-131465

Problem:
vpu_sel modify hifi_pll clock

Solution:
1 fix vpu dont change hifi_pll clock
2 set hifi pll init value to 1806335999

Verify:
w400

Change-Id: I70f210cea2beadb56b34155f1a57925b1d5e9a2e
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2023-07-24 22:18:13 -07:00
Hangyu Li 82354569a2 dts: fix t5w secure_vdec_reserved dts node [1/1]
PD#SWPL-132425

Problem:
syntax error caused compilation fail.

Solution:
fix syntax error, add ";" after no-map

Verify:
t5w

Change-Id: Ia939384bb243e622663582971b0da4defffaa96e
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2023-07-24 05:08:40 -07:00
Wanwei Jiang 0bde312111 customer: support for external driver kconfig [1/3]
PD#SWPL-132650

Problem:
support for external driver kconfig

Solution:
support for external driver kconfig

Verify:
ohm planck

Change-Id: Ib7180059b02ee7c4d8984201bfe192d961680bad
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-07-24 05:08:37 -07:00
Doosan Baek 37f0afd03e KL/KT: Fix mutex coverage problem [1/1]
PD#SWPL-132576

Problem:
There is a conflict of key table/ladder hardware register resources
when accessing the key table/ladder API between different
REE application simultaneously.

Solution:
Modified to protect kt_lock/kl_lock to kt_unlock/kl_unlock with mutex.

Verify:
Pass

Change-Id: Ibe4b6e8009390ddc8d61c000e79f34803423a14a
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2023-07-24 05:08:33 -07:00
Yu Tu e727c8dec3 pci: pcie with ssd suspend and resume cause crash [1/1]
PD#SWPL-132654

Problem:
pcie with ssd suspend and resume cause crash

Solution:
modified suspend and resume process

Verify:
t7c

Change-Id: Iffd7db7038aba4b1f6574e4759436ec19345f246
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2023-07-24 05:08:30 -07:00
chuangcheng peng 8884f74f65 demux: add es header splice get and debug es data [1/1]
PD#SWPL-130490

Problem:
es splice offset cause av not sync

Solution:
add es header splice get and add debug es data

Verify:
verified at sc2

Change-Id: Ibac121a0ebdf041203bcbbcf7d3a9d23a4b52f54
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-07-24 05:08:21 -07:00
jiebing chen 0f1fe592f2 Audio: disable audio clk and hifipll when enter into suspend [1/1]
PD#SWPL-130775

Problem:
hifipll not work when disable fix pll, need reinit

Solution:
disable audio clk and hifipll when enter into suspend

Verify:
use Txhd2

Change-Id: I6881915cf6f03637243d31348fc67d4f9a81ac34
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2023-07-24 05:08:17 -07:00
wenlong.zhang 4b0f486145 drm: add present fence [1/1]
PD#SWPL-131024

Problem:
add present fence

Solution:
add present fence

Verify:
SC2

Test:
DRM-OSD-87

Change-Id: I5050620befa65c6a3dca760753fd2952b7dadf67
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2023-07-24 05:08:13 -07:00
Jianxiong Pan dbd033d9d2 user fault: reduce invalid printing. [1/1]
PD#SWPL-112188

Problem:
too much invalid printing.

Solution:
reduce invalid printing.

Verify:
local.

Change-Id: I9ece325044275b6ba8ae62110db02e8ceb09ded3
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-07-22 20:57:05 -07:00
jian zhou 619db45c45 audio: merge eARC tx related fix to reference [1/1]
PD#SWPL-132243

Problem:
merge eARC tx related fix to reference

Solution:
TV-82137 mute arc before stop spdif
TV-81075 clear dmac status when earc is idle1
TV-83914 add hold bus and arc fade out
TV-85602 mute arc when ss_free and mute/unmute only at arc enable
TV-86164 fix earc crash, use delayed_work instead of work_struct
TV-86092 send disconnect msg when earc is idle1
TV-85119 mute arc when set earc mode
SWPL-107425 free fddr need to clear the same source flag

Verify:
t5m

Change-Id: I55864a41624b24d7846205da5d1b18f084e6203e
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2023-07-21 08:23:29 -07:00
Feng Chen 26f07efab0 spicc: spi mode polarity error [1/1]
PD#SWPL-128741

Problem:
spi mode3 initial polarity error.

Solution:
change the use rule of spic clk_ao.

Verify:
c3

Change-Id: Ic1113f9fb29f450d1e5bf565869e795356401de9
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2023-07-21 07:01:43 -07:00
yaoyu.xu 79d5a1f833 hdmirx: fix phy/pll clk band [1/1]
PD#SWPL-132822

Problem:
phy/pll clk band is changed.

Solution:
correct phy/pll band.

Verify:
txhd2.

Change-Id: I2137ff105f8a40682b2782cd285260d567ecd8a8
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-07-21 05:11:14 -07:00
Pengcheng Chen 536f0b28ab vpp: fix vpu gp1 clk disable/enable issue [1/1]
PD#SWPL-130599

Problem:
add vpu clk 744M/768M support

Solution:
1.remove gp1 clk enable when vpu probe
2.add vpu/gp1 clk disable/enable ctrl logic

Verify:
t3x

Change-Id: I2291e580ec64e53dbbe4db1683bd7ad4e84cc94b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-07-21 05:11:11 -07:00
jun.liu 18929b728f sched: vts: vts_kernel_proc_file_api_test [1/1]
PD#SWPL-132540

Problem:
vts_kernel_proc_file_api_test module 3 fail.

Solution:
add 3 proc file interfaces 'sched_latency_ns',
'sched_wakeup_granularity_ns',
'sched_tunable_scaling'.

Verify:
T5M

Change-Id: Iec7629da017ae31d53b4fdba297d6c0e0a4bd3c0
Signed-off-by: jun.liu <jun.liu@amlogic.com>
2023-07-21 05:11:06 -07:00
qiyao.zhou 4e1c978389 vicp: add clock config in vicp. [1/1]
PD#SWPL-123979

Problem:
T3X suspend power dissipation for VICP.

Solution:
T3X suspend power dissipation for VICP.

Verify:
t3x

Change-Id: I28c8603f924627d5eb2be99b888d4a0f51286631
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-07-21 05:11:03 -07:00
Pengcheng Chen 78ec93f23b vpp: vd1 used 1 slice policy if n2m 1:2 on [1/1]
PD#SWPL-130609

Problem:
vd1 used 1 slice policy if n2m 1:2 on

Solution:
vd1 used 1 slice policy if n2m 1:2 on

Verify:
t3x

Change-Id: Ia4a000fb86013bda4c4f33153e92ac946000636e
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-07-21 05:10:55 -07:00
caiyi.xu ffb0a0fd69 dtv_demod: improve the stability of new dvbc driver scanning (v3.4.003) [1/1]
PD#SWPL-122164

Problem:
unstable signal leads demod to lost signal

Solution:
reduce sensitivity of demod state

Verify:
am30a9

Change-Id: I41226dc536a7f99ba1a7693030cd27b6edb10830
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
2023-07-21 05:10:52 -07:00
hai.cao 9b8a933a48 vpu: change vapb clk when suspend [1/1]
PD#SWPL-132791

Problem:
vapb clk too high when suspend

Solution:
add clk id

Verify:
txhd2

Change-Id: I3bcc05860cb3c3d5e1f2ca29629b255891679219
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-07-21 01:10:19 -07:00