Commit Graph

1108 Commits

Author SHA1 Message Date
jintao xu 5fb2fda826 amlvideo2: video capture support vpp1 [1/1]
PD#SWPL-102680

Problem:
amlvideo2 need support vpp1 capture

Solution:
video capture support vpp1

Verify:
T7

Change-Id: Ic8119ae6d6b1880923bf8ad0697156944a62fcea
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2022-12-21 00:05:06 -08:00
hai.cao 9221d09581 media: fix coverity error [1/1]
PD#SWPL-106138

Problem:
coverity errors

Solution:
fix coverity error

Verify:
no need verify

Change-Id: I82cdb6f7a46cfe1682cf150b14268de91ea37b5a
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2022-12-20 20:12:27 -08:00
jian.hu c31988985f clk: a1: fix hangup [2/2]
PD#SWPL-103048

Problem:
it will hangup when insmod soc-clk-a1.ko

Solution:
do not init sys pll

Verify:
a1

Change-Id: I2cc6428c6627ba877911e3648fd3c4cc6156a753
Signed-off-by: jian.hu <jian.hu@amlogic.com>
2022-12-20 06:10:35 -08:00
jian zhou 691b08b314 audio: report audio parameters [1/1]
PD#SWPL-105916

Problem:
without report audio params function

Solution:
add sysfs for this function

Verify:
sc2

Change-Id: I099824691fa511e8cffdaeb02f1a84b516f58ee9
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2022-12-20 06:10:32 -08:00
hai.cao 01cf9b84f0 video_sink: fix coverity error [1/1]
PD#SWPL-106006

Problem:
coverity errors

Solution:
fix coverity error

Verify:
no need verify

Change-Id: I9b68325cc15869e1f5939a52610e987db3833c29
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2022-12-20 00:16:09 -08:00
hai.cao 726f83ab72 osd: fix coverity error [1/1]
PD#SWPL-106007

Problem:
coverity errors

Solution:
fix coverity error

Verify:
no need verify

Change-Id: Ic9613eb8226ab672cb009cb489522d3005af96a8
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2022-12-20 00:16:05 -08:00
Feng Chen c19785667e spi: resolve dtb build warning [1/1]
PD#SWPL-105868

Problem:
some warnings in dtb build process need resolve.

Solution:
change reg property in dts files.

Verify:
c3_aw419

Change-Id: Ic9bfcf264ad64dc16e8c0b71ab085f1638395790
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2022-12-19 22:30:54 -08:00
Jiucheng Xu f4ba55d9f3 md: dm bow for kernel 5.15 [2/2]
PD#SWPL-102756

Problem:
Upgrade project need dm bow for ota

Solution:
Port it from 5.4 code

Verify:
sc2

Change-Id: I5ec3f30840fe61b9e002477b00d111853bb48ef8
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2022-12-19 22:30:12 -08:00
Yu Tu 88ca00ffa7 pcie: clean sc2 dts build warning [1/1]
PD#SWPL-105888

Problem:
need clean pcie sc2 dts build warning

Solution:
modified sc2 pcie dts

Verify:
sc2

Change-Id: I10e386b580f490a3f7ea89b580fbe309a9130401
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2022-12-19 20:13:43 -08:00
Wanwei Jiang ba4a8f4448 module: optimize select module [1/13]
PD#SWPL-105941

Problem:
select driver according to project configuration

Solution:
select driver according to project configuration

Verify:
ohm

Change-Id: I607d10b59ac9c9ac5589cfcc358345e6b9296a4f
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-19 20:13:05 -08:00
jialong.jiang ad36b01f71 hdr: add MAXCLL interface. [1/1]
PD#SWPL-104187

Problem:
add MAXCLL and MAXFALL interface.

Solution:
add MAXCLL and MAXFALL interface.

Verify:
A311D2-AN400

Change-Id: Ifba7dde510ec37e1af8e8b125b2f72d701e47c89
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2022-12-19 06:21:21 -08:00
Wanwei Jiang a5edc5313a script: optimize fast_build [1/1]
PD#SWPL-96062

Problem:
optimize fast_build

Solution:
1. don't build initramfs
2. don't build system_dlkm
3. don't build vendor_dlkm
4. don't build bootimage
5. don't build gki_artifacts

Verify:
sc2

Change-Id: I903fdab68d59eaa7f1275ff6775476e93578d7bc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-19 04:33:27 -08:00
Evoke Zhang 368da922ba lcd: update tcon top init [2/2]
PD#SWPL-105763

Problem:
tcon top reset sometimes hungup

Solution:
remove unnecessary tcon top reset

Verify:
at301

Change-Id: I97154eb2b62fff27d3ec05c8985ca4843889223c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2022-12-19 04:33:24 -08:00
Bin.Wang2 aa935a5fa9 amvecm: fix typo issue [1/1]
PD#SWPL-103647

Problem:
typo issue

Solution:
fix typo issue

Verify:
t3

Change-Id: Ib8322d99610ada0cb982b0f5319b92066d13c64e
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
2022-12-19 04:33:19 -08:00
binbin.wang 125182a598 Thermal: Fix the typo issue [1/1]
PD#SWPL-103804

Problem:
Typo issue

Solution:
Fix the typo issue.

Verify:
None

Change-Id: Iec839dfd01f6ef1a78590e456825feb2ff6822ff
Signed-off-by: binbin.wang <binbin.wang@amlogic.com>
2022-12-19 02:27:13 -08:00
lizhi.hu 11693ff3e9 lcd: typo fix [1/1]
PD#SWPL-103966

Problem:
typo check failed

Solution:
fix wrong word

Verify:
None

Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
Change-Id: I5b239ce9a95e2fd4c768e6fed74125ced04b8d9b
2022-12-19 02:27:08 -08:00
chuangcheng peng 6bc9ccc0fe dmx: coverity & typo issue [1/1]
PD#SWPL-101116

Problem:
coverity & typo issue

Solution:
fix coverity & type issue

Verify:
compile pass

Change-Id: I6291475c51693b8813f008c5690c722049b294d8
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-12-19 02:27:05 -08:00
hang cheng b5df05a333 cec: update default phy address when plug out [1/1]
PD#SWPL-89451

Problem:
run HdmicecHal_Get_PhysicalAddress_No_HDMI
EXPECTED RESULT : Should get the physical
address obtained by the driver as F.F.F.F
Executing HdmicecHal_GetPhysicalAddress....
Value Returned: PhysicalAddress: hex: 0x1000000,
dec: 16777216. Physical Address obtained is not
as expected.
it's caused by we used the physical address
before hot plug out.

Solution:
per hdmi specification, update default physical
address to F.F.F.F when hot plug out

Verify:
ah212

Change-Id: I25db14061918b54320d673a6a51ec723a64c0d1c
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2022-12-18 23:17:27 -08:00
Zhuo Wang c704db15be eth: c3 buildroot compile problem [2/2]
PD#SWPL-105841

Problem:
C3_5.15 buildroot use different config
not arm64 arm32

Solution:
add control for c3_5.15

Verify:
compile no error

Change-Id: I788f324aa3067c490f9f492568582d0d7f949459
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2022-12-18 23:17:19 -08:00
Wanwei Jiang 2d72d73fa5 config: save android arm defconfig [1/1]
PD#SWPL-105795

Problem:
save android arm defconfig

Solution:
save android arm defconfig

Verify:
planck

Change-Id: Ieed3cad08841e496b7120a1b601817230ed07564
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-18 18:38:48 +08:00
Jianxiong Pan eff420da51 mm: select the SWIOTLB and DMA_RESTRICTED_POOL default. [1/1]
PD#SWPL-105795

Problem:
need enable SWIOTLB and DMA_RESTRICTED_POOL for arm.

Solution:
select the SWIOTLB and DMA_RESTRICTED_POOL default.

Verify:
build pass.

Change-Id: Ic3ba5cec1fec95e37ada41c50d72af48c3908124
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-12-18 18:38:38 +08:00
Wanwei Jiang c4e11e1a5d script: optimize dtbs build [1/1]
PD#SWPL-96062

Problem:
need to compile config first and then dtb, otherwise build fail

Solution:
compile config first and then dtb

Verify:
sc2

Change-Id: Ib45a567bf77e245247b903625bb4550a739af5a7
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-17 14:08:45 -08:00
Hao Shi cca4855785 media: CF2 t5d support multi instance. [1/1]
PD#SWPL-105093

Problem:
t5d not support multi instance

Solution:
t5d support multi instance

Verify:
t5d

Signed-off-by: zhipeng.he <zhipeng.he@amlogic.com>
Change-Id: I0ff974f3b63a867eeb0ed2720cdfe82d1571a6cc
2022-12-17 06:10:36 -08:00
binqi zhang 247ba44437 uvm: fix memory leak in some condition [1/1]
PD#SWPL-97445

Problem:
when get or set usage or info fails in some condition,
dmabuf will not be put.

Solution:
change the place of dma_buf_get

Verify:
AndroidR T3

Change-Id: I637257502d669094a0d607ff69901ac4301bc6f5
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
2022-12-16 06:24:58 -08:00
chuangcheng peng c628b91392 dvb: dsm correct config [1/1]
PD#SWPL-105800

Problem:
correct dsm config

Solution:
correct dm config

Verify:
verified at ohm

Change-Id: I465be830751a7b91d955f6e1a2832045507d2f30
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-12-15 23:51:29 -08:00
Huqiang Qin 580c290b6d keypad: s4d: support mute key [1/1]
PD#SWPL-105339

Problem:
Need to be consistent with kernel 5.4

Solution:
Reference: https://scgit.amlogic.com/#/c/190866/

Verify:
S4D

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Change-Id: I44fb7298c9b09f360ab31ecdb1efbe242e08e1af
2022-12-15 22:22:24 -08:00
MingLiang Dong 81932b3baf hdr: add brighter mode for hdr tmo [1/1]
PD#SWPL-102808

Problem:
add brighter mode for hdr tmo

Solution:
add brighter mode for hdr tmo

Verify:
verify on T3

Change-Id: I1644f0d9d09cf75e6c62cb60ed436dab49f3d616
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2022-12-15 22:22:13 -08:00
chen.xu 08541a5af9 video_composer: fix crop data err [1/1]
PD#SWPL-104359

Problem:
crop data err.

Solution:
add HDMI case and modify judgment conditions for dewarp,
vicp or ge2d.

Verify:
T7C

Change-Id: I1f2848532729f1464607733a3a53358a89f715b7
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2022-12-15 20:19:37 -08:00
Wanwei Jiang 0a74fb137b script: optimize [1/1]
PD#SWPL-96062

Problem:
1. module function call analysis failed
2. compilation is too slow
3. can't use --savedefconfig
4. can't use --module
5. can't use --Image
6. can't use --dtbs

Solution:
1. add directory to fix the issue of module function call analysis failed
2. add --fast_build to improve compilation speed
3. modify --savedefconfig to --menuconfig and --basicconfig
4. support --module  --Image --dtbs

Verify:
sc2

Change-Id: I9af0d23c3220c4c533a2383c0ecf8c3389f2b1e5
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-12-15 20:19:33 -08:00
xiang.wu1 2a22a49b88 EDID: Adjust the maximum supported TMDS clk [1/1]
PD#SWPL-102698

Problem:
HF-VSDB is not declared in EDID, and the highest
TMDS clk supported by the current TV can only be
obtained from VSDB.4K60HZ Y422,12bit (600Mhz)
exceeds the maximum clk range

Solution:
Adjust the maximum supported TMDS clk,Regarding
the maximum supported clk, refer to the tmds
clk in VSDB/HF-VSDB,Filter out unsupported patterns.

Verify:
s905x4

Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
Change-Id: I8428d62224ad71b1657ef7757e9d3c57a6872c47
2022-12-15 06:23:16 -08:00
xujin.hu 81879b53ad hdmrix: typocheck for kernel 5.15 [1/1]
PD#SWPL-103967

Problem:
code style and spell incorrection of hdmirx

Solution:
typo check

Verify:
T7c

Change-Id: Iac9e16c150dc7c4e5c605e4a68914a08d13ece94
Signed-off-by: xujin.hu <xujin.hu@amlogic.com>
2022-12-15 04:25:15 -08:00
junyi.zhao c23b235c61 led: fix kasan compile erro [1/1]
PD#SWPL-105700

Problem:
need to optimize pwm code

Solution:
fix this follow  erro report

Verify:
sc2_ah212

Change-Id: Ibb04180e5df1fd4c85040513647a3fa5df71b313
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2022-12-15 02:38:10 -08:00
Dezhen Wang 8e11c0b03c Typo check: fix the wrong word [1/1]
PD#SWPL-103976

Problem:
cl check has false positives word

Solution:
fix the wrong word and concerning file

Verify:
local

Change-Id: Ic5dd8ce5c3c7b4862e0c32e20a551c772a8e58a7
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2022-12-15 01:01:31 -08:00
fuqing.chen 794b729c34 videotunnel: typo check [1/1]
PD#SWPL-103970

Problem:
typo check in kernel 5.15

Solution:
modify typo

Verify:
Android T kernel 5.15

Change-Id: Ifb915f43858b392f8c21bf7d7ba19d742dc94fb2
Signed-off-by: fuqing.chen <fuqing.chen@amlogic.com>
2022-12-15 01:01:27 -08:00
yufei.huan 4151cd31be deinterlace: kernel5.15 compile error- di [1/1]
PD#SWPL-105672

Problem:
kernel5.15 compile error- di

Solution:
modified code

Verify:
smith

Change-Id: Icf6c20e26b4b26907c8342e5b88ca10781acf67d
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2022-12-14 20:13:50 -08:00
Brian Zhu d60820bb02 vpp: need allocate rdma channel for vpp1 [1/1]
PD#SWPL-96664

Problem:
VPP1 do not allocate rdma channel when 3 vpp out

Solution:
Allocate rdma channel for VPP1

Verify:
Verified on t7

Change-Id: I9a591b67c182693534af729dbe3b240fc856ebf2
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2022-12-14 08:17:57 -08:00
ruixuan.li 57bd21a5fd emmc: self-adaption on s4 revA&B [1/1]
PD#SWPL-104391

Problem:
s4 revA&B share dts but only revB support hs400

Solution:
self-adaption hs400&hs200 on s4 revA&B

Verify:
s4_ap222

Change-Id: I9aafafba15734fe327f93bb3aafdf36d356537b2
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
2022-12-14 08:17:54 -08:00
jian zhou 81171af8fe audio: register earc node by chipinfo [1/1]
PD#SWPL-102921

Problem:
there is no earc rx hw on t3 chip, but crash when open earc rx node

Solution:
register earc node by chipinfo

Verify:
T3

Change-Id: I56fbfe4ac21ea99bb40d5bc10d6b95930462b130
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2022-12-14 08:17:50 -08:00
chuangcheng peng ba2c96c73f dmx: add cfg demod out [1/1]
PD#SWPL-97418

Problem:
add cfg demod out

Solution:
add cfg demod out

Verify:
verified at AX201

Change-Id: Id4924ff31cc7797f76bbd76db088b78a50c2ba4f
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-12-14 04:26:26 -08:00
Bin.Wang2 50e92c55c0 amvecm: fix cm disable debug cmd not work [1/1]
PD#SWPL-82953

Problem:
cm disable cmd not work

Solution:
fix issue

Verify:
t3

Change-Id: Ic6eac3b8041ab8d39840781e2dc5a45b66e92f98
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
2022-12-14 04:26:05 -08:00
dongqing.li c451009817 s4d: add dts node bl33z for kernel 5.15 [1/1]
PD#SWPL-105334

Problem:
s4d kernel 5.15 have not dts node bl33z.

Solution:
add dts node bl33z for kernel 5.15

Verify:
s4d

Change-Id: I0713fa192a9c023a67690510b269ef4509ede14d
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
2022-12-14 02:24:58 -08:00
Zhuo Wang 3d16eeccd1 eth: mac wol function [2/2]
PD#SWPL-98490

Problem:
porting wol function

Solution:
porting wol function

Verify:
AR321-T965D4_X9#REF#049

Change-Id: Ieaa67398c5ee09d0e8e7940163bed080b01af718
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2022-12-14 02:24:55 -08:00
Evoke Zhang 7f5a16caac lcd: remove black pattern when enable [1/1]
PD#SWPL-102911

Problem:
panel black screen after resume

Solution:
remove black pattern when lcd enable

Verify:
ar301

Change-Id: I969240bad4d6af4de618ff67f4eae0384961a051
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2022-12-14 00:22:26 -08:00
qinglin.li e0f2eae653 dmc_monitor: add config control dev access build [1/1]
PD#SWPL-105557

Problem:
add config control dev access build

Solution:
add config control dev access build

Verify:
sc2

Change-Id: Ibdafd6ac11c039b6368526ce5deab9202a4025bd
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-12-13 22:44:55 -08:00
qinglin.li da9a75de37 gki_tool: gki_tool __setup not useful [1/1]
PD#SWPL-105579

Problem:
__setup not useful

Solution:
add amlogic/gki_module.h in module_merge.h

Verify:
sc2

Change-Id: I720e8e668e0d9c5542067ac758836cb62d4256e2
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-12-13 20:09:43 -08:00
hongyu.chen d22cc34ad6 demux: fix dump ts data error. [1/1]
PD#SWPL-105432

Problem:
dump ts data error.

Solution:
fix dump ts data error.

Verify:
AH212/S905X4

Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
Change-Id: I9470b1ba4efe3b19752ad09785c790b5886180ea
2022-12-13 08:21:05 -08:00
chuangcheng peng 0b52287d41 demux: alloc dynamically si_table [1/1]
PD#SWPL-104619

Problem:
dmx dev bigger than 16, system crash

Solution:
alloc dynamically si_table

Verify:
verified at X4

Change-Id: I4ca0a573d5f164af9b1330295289b7336ec5c077
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-12-13 08:21:01 -08:00
Jie Dai 064c664d96 lcd: kernel 5.15 add ioctl functions [1/1]
PD#SWPL-51205

Problem:
kernel 5.15 add ioctl functions

Solution:
add ioctl functions:
1. power_ctrl
2. mute_ctrl
3. phy_ctrl
4. ss_ctrl

Verify:
ar301

Change-Id: I6a98fc6f993cfeec3c8b67e5c1837011dd084923
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
2022-12-13 08:20:57 -08:00
haitao.liu 0cd41d974d vdin: add more port support for start_tvin_capture_ex [1/1]
PD#SWPL-102683

Problem:
need screen capture for aux screen

Solution:
add vpp1/vpp2 only video and osd+video ports

Verify:
t7

Change-Id: Ib2c8bc4e89816bf953181a6a72a6b6ab4e71ea69
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2022-12-13 06:17:07 -08:00
Bichao Zheng f886d9e766 nand: modify check bad block rule in add partition [1/1]
PD#SWPL-104886

Problem:
1. partition will change, when have use bad block

Solution:
1. only skip factory bad blocks in add partitions.

Verify:
s4

Change-Id: Ibb796410add3d02a34c8a41e7ef0e354d4f65e67
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2022-12-13 06:17:00 -08:00