Commit Graph

1014 Commits

Author SHA1 Message Date
dian.shao d0a8426d15 usb: fix kernel5.15 typo err [1/1]
PD#SWPL-103669

Problem:
typo check report errors

Solution:
fix according to the prompt

Verify:
AR321

Change-Id: I5ab217c1f665afa5c7334df344ac70671c2a980b
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2022-12-07 02:03:19 -07:00
Feng Chen 806bb99581 spifc: spifc v2 add ahb mode [1/1]
PD#SWPL-102488

Problem:
in spifc apb mode, spinand read speed is
slow, add  ahb mode to improve read speed

Solution:
spifc v2  add ahb mode

Verify:
c3_aw419

Signed-off-by: Feng Chen <feng.chen@amlogic.com>
Change-Id: I08b9daeb650de11a71fbf1f77f06baf2e9301041
2022-12-07 02:02:49 -07:00
miaohong chen 2d7aacf4b3 dma_manage: CB2 Optimize related interfaces input parameters. [1/1]
PD#SWPL-101773

Problem:
fd is used in the upper layer to facilitate cross-process.
If the fd is closed, an exception will occur when used in the kernel.

Solution:
Change the input parameter fd to dbuf.

Verify:
sc2

Change-Id: I14788bbc7119b7a3a6d696eec495432e05e8aa12
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
2022-12-07 02:02:30 -07:00
Feng Chen 9a7b2542e8 spi-nand: modify check bad block rule in add partition method [1/1]
PD#SWPL-100114

Problem:
factory bad blocks and the other bad blocks
both in the return result of mtd check bad
blocks method, but in add partitions process
that not safety, because system partition might
use the same block in next startup.

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

Verify:
c3_aw419

Signed-off-by: Feng Chen <feng.chen@amlogic.com>
Change-Id: If9b0b10f41c07052ef955c1ebf3193ab657ec09e
2022-12-07 02:01:28 -07:00
chen.xu 1d576e167a video_process: Typo check [1/1]
PD#SWPL-103972

Problem:
Typo check for amlogic-5.15-dev.

Solution:
Typo check and modify for amlogic-5.15-dev.

Verify:
T7

Change-Id: I0d709513436f29be49d4178f60610b768478bf8a
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2022-12-06 21:40:30 -07:00
chen.xu 611113188e video_processor: fix panic due to thread init err [1/1]
PD#SWPL-103877

Problem:
Ensure the init action is completed before the thread starts
for amlogic-5.15-dev.

Solution:
Advance the init action to ensure that the thread starts OK.

Verify:
T7

Change-Id: I21e12d2932a9b1ff9edb37be9f7eca7815e77c77
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2022-12-06 21:39:35 -07:00
Ao Xu 4871ab166b drm: fix display garbage when zoom out [1/1]
PD#SWPL-101861

Problem:
display garbage when zoom out

Solution:
skip update VPPx_BLD_OUT_SIZE register
update VPPx_BLD_DIN1_HSCOPE with correct register

Verify:
an400

Test:
DRM-OSD-16

Change-Id: I54065a0a843a67d12a5a7c08c7c29fd5ab4938cc
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2022-12-06 21:38:25 -07:00
Ao Xu b5994ae9be dts: change logo address to fix garbage line [1/1]
PD#SWPL-100118

Problem:
uboot logo top have some garbage line

Solution:
change logo address

Verify:
aq222

Test:
DRM-OSD-17

Change-Id: Ic206223a4b73261ebb01ed98f6511c5e4fd17edf
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2022-12-06 21:38:20 -07:00
hang cheng 8c94748139 cec: remove suspend/resume event [1/1]
PD#SWPL-95239

Problem:
can't enter deep suspend, as suspend uevent
will hold the wakeup lock

Solution:
remove cec suspend/resume event, it's
just for backup and not used.

Verify:
S905X4

Change-Id: Id32e748c3851783000583ee262259033e374484e
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2022-12-06 21:38:16 -07:00
ziyi 166e0749ae sd: some sdcard can't be recognized in c3 [1/1]
PD#SWPL-100283

Problem:
some sdcard exist crc error in read

Solution:
adjust enable

Verify:
c3

Change-Id: I9f1f19678f221635052acf995df7f5a252e2b857
Signed-off-by: ziyi <ziyi.huang@amlogic.com>
2022-12-06 07:13:28 -07:00
Jian Hu 48a96bc671 typo: fix typo [1/1]
PD#SWPL-103911

Problem:
there is typo in drivers/clk/meson/t3.c

Solution:
fix typo

Verify:
t3

Change-Id: I6dd4cf030a6cfb7a627b93ccf1154ee6e7ecfcd9
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2022-12-06 05:21:38 -07:00
hai.cao a54cf1510d video_sink: fix typo check [1/1]
PD#SWPL-103973

Problem:
typo check report errors

Solution:
fix typo check

Verify:
no need verify

Change-Id: I7f319663f302ab6b8178ffda11cbbefc5197c8de
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2022-12-06 03:39:06 -07:00
junyi.zhao 0dc8c6707a i2c: typo check fix [1/1]
PD#SWPL-103802

Problem:
need to fix typo check

Solution:
correct it

Verify:
SC2 AH212

Change-Id: I95504204b575cea329767e4976fc2f3e9cddab4e
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2022-12-06 03:38:59 -07:00
qiang.liu cfe7763ced vdin: sync 5.4 code [1/1]
PD#SWPL-103978

Problem:
sync 5.4 code

Solution:
sync 5.4 code

Verify:
t3

Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
Change-Id: I61e2fd7e70e0d60deae34d25795d88012330d3fb
2022-12-06 03:38:56 -07:00
congyang.huang 89b3703444 drm: optimize boot log of drm [1/1]
PD#SWPL-101051

Problem:
too many drm logs

Solution:
optimize drm log printing

Verify:
kernel 5.15

Test:
reboot broad

Change-Id: Iea61772fd2164bc98fc7119ecf3201f21c83e8cc
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2022-12-06 03:38:45 -07:00
chuangcheng peng d0379f8967 dvb: fix typo check issue [1/1]
PD#SWPL-103461

Problem:
typo check

Solution:
fix typo check issue

Verify:
not verified

Change-Id: I481ae7a6e3bf296bd3c5d386ff4e5035d87a49e2
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2022-12-05 23:12:28 -07:00
shipeng.sun f5c1e71d51 dmaheap: CB2 Add mutex lock for secure dmabuf call mmap [1/1]
PD#SWPL-103753

Problem:
Add mutex lock for secure dmabuf call mmap

Solution:
Add mutex lock for secure dmabuf call mmap prevent double free
lead kernel debug crash

Verify:
ohm

Change-Id: Ie4540d922025635477e3b4341a8b805217c22a5d
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2022-12-05 23:12:22 -07:00
Xingxing Wang be33fc93a3 dvfs: skip uevent of cooling device after suspend [1/1]
PD#SWPL-102556

Problem:
suspend fail

Solution:
drop uevent after suspend

Verify:
T7C

Change-Id: I922bd1b0490b3a1bb60f2cb2834ce4f78b557cc2
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2022-12-05 21:08:21 -07:00
Liming Xue 61fff05790 Typo Check: dsp and thermal wrong words [1/1]
PD#SWPL-103829

Problem:
there are words spelling error

Solution:
correct spelling mistakes

Verify:
local scan

Change-Id: Ifc0bf977d64ceed2ae67a3235077fc9d4c734f0e
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2022-12-05 21:08:18 -07:00
qinglin.li e6fb1070ac printk: caller buffer use over size [1/1]
PD#SWPL-101578

Problem:
caller buffer use over size

Solution:
limit use size

Verify:
s4

Change-Id: I2631feb50f80d3b8242a98eed48d5a1e66620da5
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-12-05 21:08:14 -07:00
Hao Shi 77986697bc codec_mm: enable codec_mm_scatter 64bit addr support. [1/1]
PD#SWPL-98294

Problem:
codec_mm_scatter can not cross 4g addr.

Solution:
enable codec_mm_scatter 64bit addr support.

Verify:
t7

Change-Id: I9829c29e40ddeb551a50fabcb7ff555fda79e99b
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2022-12-05 21:08:11 -07:00
hang cheng 5afe136329 hdmitx: optimise drm hdcp flow when switch mode [1/1]
PD#SWPL-89027

Problem:
when switch mode under hdcp1.4, should not
trigger hdcp_tx22 daemon to change status.
otherwise, it may exit idle state and
enter polling(driver hdcp2.2 start) per 5ms
which cause high cpu CPU utilization

Solution:
when switch mode under hdcp1.4, don't
trigger hdcp_tx22 daemon to change status.
so that to keep in idle status

Verify:
ah212

Change-Id: Iea1db52013890f5f922a9a74fc1ff6bc29b9ebfe
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2022-12-05 21:08:07 -07:00
Xindong Xu 949fcaffb9 dtsi: delete useless files [1/1]
PD#SWPL-104074

Problem:
typo problem

Solution:
delete useless files

Verify:
ohm

Change-Id: Ie6258776abba8cedbc4673a17371b3b0f3bb3578
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2022-12-06 09:50:55 +08:00
xiaoxin.cao c449ffa1b8 isp: remove api for kmi rule [1/1]
PD#SWPL-104212

Problem:
amera module break KMI rule

Solution:
update API

Verify:
local

Change-Id: I34ba5cca6b7b9e4b5f638dfed7d1e80e2561d5f9
Signed-off-by: xiaoxin.cao <xiaoxin.cao@amlogic.com>
2022-12-05 19:59:17 +08:00
jian zhou 7374c487fe audio: remove CONFIG_SND_VERBOSE_PROCFS [1/1]
PD#SWPL-104217

Problem:
Audio module break KMI rule

Solution:
remove CONFIG_SND_VERBOSE_PROCFS

Verify:
T7C

Change-Id: Ic62559790d1f1529bc018c0fd8fe2e850935ed96
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2022-12-05 04:29:19 -07:00
Xindong Xu fb3bb99a70 dtsi: delete useless files [1/1]
PD#SWPL-104074

Problem:
typo problem

Solution:
delete useless files

Verify:
ohm

Change-Id: Idc8d3681b29292a8660aa66832198c9b92f02ca2
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2022-12-05 03:45:19 -07:00
lizhi.hu 6430de3340 lcd: optimize t5w ss_level [1/1]
PD#SWPL-103961

Problem:
current t5w set ss_level not ok

Solution:
t5w set ss_level in t7 method

Verify:
none

Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
Change-Id: I2065721df1fd76617e3c637cae36a430a11f2821
2022-12-04 23:30:59 -07:00
shipeng.sun 82b7255381 dmabuf: CB1 Correct wrong keyword of code [1/1]
PD#SWPL-103486

Problem:
Correct wrong keyword of code

Solution:
Correct wrong keyword of code

Verify:
ohm

Change-Id: Ia5507fa91db33491b1786d514deb0cb5907c1f54
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2022-12-04 23:30:48 -07:00
min.yang 8c3ff3ef1e dtv_demod: fix cfi crash in oppen [1/1]
PD#SWPL-103364

Problem:
it will crash cause dtvdemod did not
register cb.

Solution:
add register cb.

Verify:
verified by T + oppen

Change-Id: I71aada05c5339d6be5b7bc5792be5ec9434e3770
Signed-off-by: min.yang <min.yang@amlogic.com>
2022-12-04 23:30:44 -07:00
jintao xu 33328f7250 video_composer: yuv444 format to display picture [1/1]
PD#SWPL-85752

Problem:
videocomposer need 444 yuv format to display picture.

Solution:
yuv444 format to display picture.

Verify:
T3

Change-Id: Ib5fb5fd9222234bb26a1b65cfafc16f9d50f26b3
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2022-12-04 23:30:40 -07:00
Jianxiong Pan f122912928 mm: pin locked file after fault. [2/2]
PD#SWPL-99264

Problem:
print the catual mlock size via page fault.

Solution:
cat /proc/mem_debug

Verify:
s4_aq222.

Change-Id: I2ed3b97d12cab6cfd8c72a86cd0249e3a2462e99
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-12-04 18:20:41 -07:00
junyi.zhao 56d9ae1d21 led: typo check fix [1/1]
PD#SWPL-103501

Problem:
need to fix typo check problem

Solution:
correct it

Verify:
SC2 AH212

Change-Id: I448081be4d9526b42cf340493eb58b93e2dac1a6
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2022-12-03 14:46:08 -07:00
Lei Zhang b1e8999415 riscv: initial commit for C3 PXP [3/3]
PD#SWPL-94239

Problem:
initial commit for C3 PXP

Solution:
initial commit for C3 PXP

Verify:
on PXP

Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
Change-Id: I9ae658e27f152702d221e29ec6ed9283acb1b7ec
2022-12-02 08:48:00 -07:00
lizhi.hu 1f7d5d1046 lcd: fix lcd compile error [1/1]
PD#SWPL-96310

Problem:
lcd compile error &
lcd vout too many prints

Solution:
fix

Verify:
None

Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
Change-Id: I054dca54f5b254c83f182f0f3f615179920f24af
2022-12-02 15:12:13 +08:00
Cheng Wang 43533f4ea2 frc: frc t5m pxp [1/1]
PD#SWPL-98161

Problem:
t5m pxp

Solution:
t5m pxp

Verify:
pxp

Change-Id: I783c5ba5588c65c9ea09cf01f67864d42b229936
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
2022-12-02 15:12:13 +08:00
Evoke Zhang dff3e00ed8 lcd: fix vbyone lane mapping for 1/2/4 lane [2/2]
PD#SWPL-100252

Problem:
vbyone lane mapping incorrect for 1/2/4 lane

Solution:
fix vbyone lane mapping for 1/2/4 lane

Verify:
ak301

Change-Id: I5d2d3818cc6264716ccdcd26e0e1dddf319df771
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2022-12-02 15:12:13 +08:00
Evoke Zhang 3be76a2fed vout: support get bl_brightness dimming for vout ioctl [1/1]
PD#SWPL-96310

Problem:
need support bl_brightness dimming by vout

Solution:
support get bl_brightness dimming for vout ioctl

Verify:
an400

Change-Id: I8f209af2f2ea36ecbbce22d27b5ce8f89277bf33
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2022-12-02 15:12:13 +08:00
Evoke Zhang 6211ddd39f vout: update frame rate measure function for s5 [1/1]
PD#SWPL-101967

Problem:
s5 vout vs measure regs changed

Solution:
update vout vs measure regs for s5

Verify:
ar301, ax201

Change-Id: I0534c78b094b17509f3343b7e23ed0524683c78f
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2022-12-02 15:12:13 +08:00
qinglin.li a1ae19152f dmc: t5m pxp bringup [1/1]
PD#SWPL-98108

Problem:
t5m pxp bringup

Solution:
t5m pxp bringup

Verify:
pxp

Change-Id: I4b2ad35bdf20f7f3864ceeede3aa42b8c64bd799
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-12-02 15:12:13 +08:00
Yan Wang 34a7ccb427 idle: T5M support cpu idle. [1/1]
PD#SWPL-98109

Problem:
T5M cpu idle

Solution:
support T5M cpu idle

Verify:
ptm

Change-Id: I0b29458357db1c90d65c2fce8bbdc61b6ccaa293
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2022-12-02 15:12:13 +08:00
mingxiu.sun 7e2b47dce7 vrr: enable vrr_init [1/1]
PD#SWPL-97902

Problem:
vrr module not add

Solution:
enable vrr

Verify:
t3+kernel 515

Change-Id: I149ca46362787667c3f931ad4bacbc645650b9bf
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2022-12-02 15:12:13 +08:00
Jie Dai e1e3c57502 lcd: kernel-5.15 sync lcd mute from 5.4 [1/1]
PD#SWPL-102348

Problem:
kernel-5.15 sync lcd mute from 5.4

Solution:
kernel-5.15 sync lcd mute from 5.4

Verify:
ar301

Change-Id: I3986557913a2bf9819b0d9f09382bf5d9d7bdc0e
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
2022-12-02 15:12:13 +08:00
yuhua.lin 35d6a2ecf1 ge2d: t5m ge2d bring up [1/1]
PD#SWPL-98157

Problem:
t5m ge2d bring up

Solution:
complete it

Verify:
ptm

Change-Id: Ib9fe972bc54a46dbf295df909099630cf60ea615
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2022-12-02 15:12:13 +08:00
yao.zhou ed95a1c294 camera: multi camera support [1/3]
PD#SWPL-101689

Problem:
multi camera not support

Solution:
add multi camera device in dts

Verify:
local

Change-Id: I996a9308f56920619f1539865b489225579d7045
Signed-off-by: yao.zhou <yao.zhou@amlogic.com>
2022-12-02 15:12:13 +08:00
Qianggui Song 8ff5f6d5eb secmon: modify t5m secmon node property [1/1]
PD#SWPL-101690

Problem:
t5m secmon use reusable property.
insmod aml_media cause problem

Solution:
1. Modify secmon memory to no-map
2. Remove unused properties "size" and "alignment"

Verify:
t5m_pxp

Change-Id: Ic9bf383b9c407f1b4a7a8af5a1afd3e48799f28b
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2022-12-02 15:12:13 +08:00
Yan Wang 912ff7d19c audiofw: Enable T5M audiofw. [1/1]
PD#SWPL-98079

Problem:
T5M bringup: Audio firmware

Solution:
enable audio firmware in t5m dtsi

Verify:
ptm

Change-Id: Iaaf6982d45c475b96a78dc1f942eca55193d0cfe
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2022-12-02 15:12:13 +08:00
yuhua.lin c3bcbf5e4f video: t5m video bring up [1/1]
PD#SWPL-98156

Problem:
t5m video bring up

Solution:
complete it

Verify:
ptm

Change-Id: I77b77cba5f1a7a55b2ace37b166580affe995748
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2022-12-02 15:12:13 +08:00
junyi.zhao afe0cb41a5 dts: pwm: support driver [1/1]
PD#SWPL-98112

Problem:
there is no pwm driver support.

Solution:
add driver to support.

Verify:
t5m-pxp

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: Iebc9a4398836a7524f9706409dc4484a35cf90d1
2022-12-02 15:12:13 +08:00
yuhua.lin 7401c0a463 osd: use reserved memory [1/1]
PD#SWPL-97910

Problem:
use reserved memory

Solution:
complete it

Verify:
t3

Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
Change-Id: I1ce6861930bd80a5a439b723fcfb96e675be4b78
2022-12-02 15:05:56 +08:00
junyi.zhao 16bff64bc2 dts: i2c: support driver [1/1]
PD#SWPL-98116

Problem:
there is no i2c driver support.

Solution:
add driver to support.

Verify:
t5m-pxp

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: Ib36d94cae61d3783043178567aa7395fb010ab73
2022-12-02 15:05:56 +08:00