Commit Graph

3916 Commits

Author SHA1 Message Date
yuhua.lin 32cf877a2d vpp: clean vpp print log [1/1]
PD#SWPL-140737

Problem:
clean vpp print log

Solution:
complete it

Verify:
txhd2

Change-Id: Ic2a066113a880621f22c5c719755626c8c5c3113
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-09-27 22:43:55 -07:00
yuhua.lin 33b84981a4 ge2d: modify ge2d hsc_div_length on s1a [1/1]
PD#OPS-4880

Problem:
ge2d slt test failed
hsc_div_length setting error

Solution:
modify it

Verify:
s1a

Change-Id: Ica8facb4140d2ad6758e65a4bee6c32223b6782b
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-09-27 22:43:42 -07:00
yaoyu.xu 4f8f3f49f7 hdmirx: close phy when hdmi 5v not in [1/1]
PD#SWPL-140655

Problem:
phy power is high when hdmi not in.

Solution:
close phy when hdmi not in.

Verify:
t3x

Change-Id: Ib33e902449c6e9030f881591685a706dbef88a8e
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-09-27 22:43:38 -07:00
rong.wang 139399f765 deinterlace: fix interlace play wrong [1/1]
PD#SWPL-141300

Problem:
play interlace video wrong

Solution:
set related registers

Verify:
s1a

Change-Id: Ia59db9c137b0cb226aaf9c2aa7d57688e5113bb4
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2023-09-27 19:59:01 -07:00
Jiucheng Xu 0e58692dfe bpf: add a pad for fuse bpf struction [1/1]
PD#SWPL-132090

Problem:
fuse bpf has a bug when using 32bit kernel

Solution:
Google provide this patch to fix it

Verify:
s4

Change-Id: Id3bc70edb8012f061383afa74d5bc7e1623a986c
Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
2023-09-27 19:58:57 -07:00
MingLiang Dong 43c04a63d5 amvideo: add video enable condition for fmm [1/1]
PD#SWPL-140357

Problem:
fmm event trigger multiple times when exit to home page

Solution:
add video enable condition for fmm

Verify:
t5w

Change-Id: I104717150b4d8c87055656a557a17d00223c5aab
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2023-09-27 06:13:35 -07:00
Shunzhou Jiang 998292666a mbox: fix secure mbox not work issue [1/1]
PD#SWPL-140999

Problem:
secure mbox irq number not right

Solution:
fix irq number

Verify:
s1a_bg201

Change-Id: Iafcd498e3066166841c8ccb2f5aefbd05b9bccbe
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2023-09-27 03:59:13 -07:00
qiankun.wang 126fff4d77 stackdepot: restore CONFIG_STACK_HASH_ORDER [1/1]
PD#SWPL-140876

Problem:
small CONFIG_STACK_HASH_ORDER will cause frequent hash collisions
and stack_depot_save low performance

Solution:
revert changes of 'CONFIG_STACK_HASH_ORDER' to
enlarge stack depot hash size.

Verify:
THXD2

Change-Id: Id4686f2f731583dd39d1f28869afa04a6a67fda2
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-09-27 03:59:05 -07:00
bowen.cheng 2ad591ba21 cec: saved valid phy addr to uboot [1/1]
PD#SWPL-139015

Problem:
saved invalid phy addr to uboot
TV can not wakeup STB

Solution:
remove update phy addr by application
update phy addr when recv plug in event

Verify:
AH212

Change-Id: I824ca374dbd0fbf5d64ad093c455b440c0b5e571
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
2023-09-27 03:58:57 -07:00
mingyang.he 92cf0d3fd9 drm: add ioctl MESON_RMFB [1/1]
PD#SWPL-139231

Problem:
buffer of stop frame can't remove

Solution:
add ioctl MESON_RMFB

Verify:
sc2

Test:
DRM-OSD-103

Change-Id: Ibd556f906bbe9d00d8f86713178f3cb57e535b8a
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-09-27 03:58:52 -07:00
Ao Xu 1186f2f177 hdmitx: fix vout notify out of order and vinfo not update issue [1/1]
PD#SWPL-139621
PD#SWPL-140886
PD#SWPL-140919
PD#SWPL-140930

Problem:
1 current vout notify was sended before timing setting
2 hdmitx null string panic when do strstr
3 viu mux register was not updated correctly due to no vinfo updating

Solution:
1 adjust the timing setting and vout notify sequence
2 add null string check before do strstr
3 do vinfo update in validate_vmode stage

Verify:
ohm

Test:
DRM-OSD-105

Change-Id: Iec0f9dfdf194f58684893a11b3bc139f2914e243
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2023-09-27 02:44:18 -07:00
dongfei.li ff357e4b03 frc: frc chg 0x60 value for start [1/1]
PD#SWPL-140613

Problem:
start play flash

Solution:
start play flash

Verify:
T3X

Change-Id: I82428d1a536431f32bdf0418979fe07e13f30086
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2023-09-27 02:44:07 -07:00
zhenteng.tian 30e4559cb6 video_composer: modify method for crop calculation in tunnel mode. [1/1]
PD#SWPL-139167

Problem:
There is a small gap above the TV screen.

Solution:
In tunnel mode, cancel the processing of crop in video composer.

Verify:
T5

Change-Id: If6cd3eefb5c2641bb7ab855cfa3d34680b9d1bab
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-09-27 02:43:56 -07:00
mingxiu.sun 37c83f77f6 vdin: Provides vdin1 hist values for the upper layer [1/1]
PD#SWPL-135475

Problem:
txhd2 vdin1 hist uses the vdin0 hist register

Solution:
Open the clk of vdin1 and configure the hist related register

Verify:
txhd2

Change-Id: If86d6fbfd7a760e1a51db98aecce9c37c685687e
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2023-09-27 02:43:46 -07:00
congyang.huang f483f60797 vout: support switching the frequency of wrbak [1/1]
PD#SWPL-132925

Problem:
Need to verify two cases:
1.the fps of wrbak is equal to display
2.the fps of wrbak is 1/2  display

Solution:
Add dynamic switching node

Verify:
txhd2

Change-Id: Id39a127d1c00820a28e036c66148188793c9c0ad
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-09-27 02:43:42 -07:00
Haotian Guo b46e1bae87 Revert "hdmirx: Regression of SCDCS test failure [1/1]"
This reverts commit 982712a172.

Reason: Register address filling error

Change-Id: I754ee9484a75be2ea31ead75fbd3ae2d725c32e2
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2023-09-27 00:19:10 -07:00
yao zhang1 eb02482bfd Compile: Fix linux-meson compile warning while use gcc > 7.5 [1/2]
PD#SWPL-140857

Problem:
linux-meson compile warning while use gcc > 7.5

Solution:
Fixed some code styles

Verify:
local build server

Change-Id: Ia1f47cfa32291602747d7c0788a6362cf48af023
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-09-27 00:19:06 -07:00
yao zhang1 4665a5f10e Unifykey: Fix unifykey driver typo [1/1]
PD#SWPL-140857

Problem:
typo check failed,need fix driver typo

Solution:
Fix unifykey driver typo

Verify:
local build server

Change-Id: I3a1868838137f31f5a21f250f62894c2b7134774
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-09-27 00:19:02 -07:00
Evoke Zhang d431e179a0 lcd: phy preem disable for minilvds clk lane [2/2]
PD#SWPL-141037

Problem:
minilvds clk lane no need preem

Solution:
phy preem disable for minilvds clk lane

Verify:
be311

Change-Id: Iaf11ea854dbf25b82a66926c3ad9a3ecf1908d98
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-09-27 00:18:57 -07:00
chuangcheng peng 3f88224fc6 demux: reduce dmx memory for S1A [1/1]
PD#SWPL-139872

Problem:
timeshift+pvr fail

Solution:
don't fix dmx device number

Verify:
not verified

Change-Id: I0776a0a7ded937b5930157ee482f316f490326e1
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-09-27 00:18:48 -07:00
mingyang.he 8fd4f840bb drm: transplant debugfs to sysfs for kernel 5.15 [1/1]
PD#SWPL-132596

Problem:
transplant debugfs to sysfs

Solution:
transplant debugfs to sysfs

Verify:
sc2

Test:
DRM-OSD-92

Change-Id: Ica1c2b5bcd0b10d2597683f1914bd5810931ac1e
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2023-09-27 00:18:40 -07:00
haitao.liu cdf51a3a70 vdin: The time interval of vframe is not uniform [1/1]
PD#SWPL-141141

Problem:
app get vfame by epoll function which returns not uniform

Solution:
vdin put vframe into pool and wake up wait queue at the same place

Verify:
txhd2

Change-Id: I366c984d1006099b5f81c3b78794c23cf0f3ad76
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-09-26 22:09:38 -07:00
yongbing.he 86c823e472 freertos: freertos featrue reorganize [2/2]
PD#SWPL-140884

Problem:
c3 not freertos notifiers
c3 need ipi send

Solution:
c3 add freertos notifiers config
c3 add ipi send config

Verify:
c3

Change-Id: I8f624cdf329880cb5a0e01ba83cc93119938b509
Signed-off-by: yongbing.he <yongbing.he@amlogic.com>
2023-09-26 22:09:14 -07:00
yuhua.lin 1aff996fc5 video: update osd2_blend_src_ctrl in video [1/1]
PD#SWPL-140951

Problem:
drm and video write the same reg

Solution:
move the operation of updating reg in drm to video

Verify:
txhd2

Change-Id: Ic4738a3c988ba6da8886f92857d7dbd9eabc9183
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2023-09-26 22:09:06 -07:00
hai.cao 44df487267 osd: dual logo fb_addr over maximum value [1/1]
PD#SWPL-139436

Problem:
reallocate fb_addr

Solution:
extend memory range

Verify:
s1a and g12b

Change-Id: I88e62abcab36bf8ba01a91f024437bbc5a510ae5
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-09-26 22:08:52 -07:00
shaochan.liu e4650baec6 lcd: add ultra refresh rate function support [1/1]
PD#SWPL-131275

Problem:
need add ultra refresh rate function support

Solution:
add ultra refresh rate function support

Verify:
bc302

Change-Id: Icb0f2b49ac6d46c18b5093b4f93da89e923c7d97
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
2023-09-26 22:08:45 -07:00
jian zhou 79a0e44ef1 audio: fix spdif DD noise issue [1/1]
PD#SWPL-90410

Problem:
SPDIF output DD to device which only support PCM results in noise.

Solution:
Modify CSB and Validity bit by codec_type.

Verify:
T3

Change-Id: I194bc6115e59d84bb134187432e3300aeb65a198
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2023-09-26 20:08:57 -07:00
shu.wang 2a38dc0cb6 A1: Modify A1 AD40AE dts [1/1]
PD#SWPL-141143

Problem:
The current dts cannot fully adapt to AD40AE.

Solution:
1.Disable useless modules.
2.Enable pm module.

Verify:
A1-A113L-AD40AE

Change-Id: I7f7d31b8ae90b813d7d01273cbe1f28120f722fa
Signed-off-by: shu.wang <shu.wang@amlogic.com>
2023-09-26 20:08:53 -07:00
jintao xu afd7b345c2 vc: not drop when frame has fence [2/2]
PD#SWPL-140796

Problem:
multi-channel panic

Solution:
not drop when frame has fence

Verify:
sc2

Change-Id: I0d3ad11826d66f9c764db71e222a3940edc54a92
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2023-09-26 20:08:49 -07:00
shu.wang a03e8affc1 A1: Fix the crash problem when using spdif-in [1/1]
PD#SWPL-140921

Problem:
Since spdif of a1 only has input function,
the system will crash when using spdif currently.

Solution:
Modify the spdif driver to adapt to A1 spdif.

Verify:
A1-A113L-AD40AE

Change-Id: I692d6097c9dc639991d902b711316a2271d74f00
Signed-off-by: shu.wang <shu.wang@amlogic.com>
2023-09-26 20:08:45 -07:00
chen.xu 8f993117a3 amlvideo2: need support 4K screenCap [1/1]
PD#SWPL-138507

Problem:
need support 4K screenCap.

Solution:
add code and increase mem to support.

Verify:
T7C

Change-Id: Ie6447f78a915cab051829d3cc90b27a459801e6a
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-09-26 18:08:34 -07:00
hai.cao 5f86fa5c38 vpu: gp1_pll can not disable when power off [1/1]
PD#SWPL-140648

Problem:
gp1_pll can not disable when power off

Solution:
add shut down api

Verify:
t3x

Change-Id: Ia5fe99967a18bffd0eac6a18ccae6cb8aa5d7a8f
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-09-26 07:58:45 -07:00
hai.cao 2c8d18ac43 osd: osd2 can not display [1/1]
PD#SWPL-140951

Problem:
osd2 can not display,osd2_blend_src_ctrl be setted by video

Solution:
add notify function to set reg value

Verify:
txhd2

Change-Id: Ibf3e170cd2e1e514b64d0809ff0b4776be85d87d
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-09-26 07:58:41 -07:00
congyang.huang 34c264b16c drm: crtc_disable need clr vout state when loopback [1/1]
PD#SWPL-139336

Problem:
switching between loopback and none loopback,
display setting mode failed

Solution:
the mode set for the loopback is panel,which does
not require an adaptive refresh rate,therefore,
clear the state when the panel is set

Verify:
txhd2

Test:
DRM-OSD-82

Change-Id: I68a636a37bf9907974ea76690105255d0b1128dc
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2023-09-26 04:38:41 -07:00
Bichao Zheng 0292be1b5c spinand: update info page [1/1]
PD#SWPL-140211

Problem:
need update spinand info page.

Solution:
update new info page, for compatibility with A1 S1A C3.

Verify:
A1 S1A C3

Change-Id: I73ce561dc716aedd18ac2887af00fa912818794b
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
2023-09-26 02:28:52 -07:00
qirong.li e4cd46dca3 amvecm: patch to trunk about sub gamma wb [1/1]
PD#SWPL-136950

Problem:
trunk lacks the process code

Solution:
add the process code

Verify:
t3

Change-Id: Ibd934ae326857e3365f7ee6d375334ce6d33643e
Signed-off-by: qirong.li <qirong.li@amlogic.com>
2023-09-25 22:49:03 -07:00
qianqian.cai 72baca2043 deinterlace: debug nr not work [1/1]
PD#SWPL-140586

Problem:
pq debug not work

Solution:
add pq nr debug for pre-link

Verify:
t5m

Change-Id: Ic24263de7fbf305a7725e7087c285d3f8dd18ef8
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-09-25 04:34:03 -07:00
Haotian Guo 982712a172 hdmirx: Regression of SCDCS test failure [1/1]
PD#SWPL-134379

Problem:
new HDMI CTS case.

Solution:
clear SCDC data when hdmi5v lost.

Verify:
t3x

Change-Id: I33c0d3284130e821082720166689f2f1c6235ec8
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2023-09-25 03:03:47 -07:00
lukang.jia 7250ef9009 frc: frc remove hme for t3x and t5m [1/1]
PD#SWPL-137912

Problem:
remove hme for t3x and t5m
can't close memc lossy

Solution:
remove hme for t3x and t5m
modify memc_lossy debug code method

Verify:
T3X & T5M

Change-Id: I6ae78bf987df30d424b4b2f5b31ca7f0c1f83395
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2023-09-25 01:54:11 -07:00
lele xiang 778cbd8b2c codec_mm: CF1 codec_mm optimization for slot centralization. [1/1]
PD#SWPL-138577

Problem:
codec_mm optimization for slot centralization.

Solution:
When a large number of scatter buffers are not used,
pages replacement is carried out so that
the corresponding slot can be released

Verify:
ohm

Change-Id: Ia2188f4afae8811230278e0a779cb583a92185d2
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2023-09-25 01:53:50 -07:00
Shunzhou Jiang d3b47c5f6b Revert "cpufreq: fix cluster1 voltage scaling issue [1/1]"
PD#SWPL-139891

Problem:
cpufreq regulator init and exit count not match

Solution:
let regulator init and exit match

Verify:
t7c

Change-Id: I78c3a82b8b487a6f4eef391bd582148cc061c815
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2023-09-25 00:14:06 -07:00
yaoyu.xu 3d7d5802e4 hdmirx: 480p sound abnormal [1/1]
PD#SWPL-140768

Problem:
480p sound abnormal

Solution:
correct 480 aud pll settings.

Verify:
t3x

Change-Id: I45e361b76a57d051586dbbe8728f4024d860f030
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-09-25 00:14:02 -07:00
Liming Xue d70741d666 host driver: reconstruct dsp host driver [1/1]
PD#SWPL-99041

Problem:
reconstruct dsp host driver

Solution:
config CONFIG_AMLOGIC_MCU_DRIVER to enable mcu driver
the new driver support multiple dsp/m4 cores

Verify:
a1/c1/c2/sc2/t3/t3x/t7/t7c

Change-Id: Ib1e666e615260bb5b7377a18eeaaf8daa65de86f
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2023-09-25 00:13:42 -07:00
haitao.liu 23047ddf88 vdin: set super urgent to write and enable write done check [1/2]
PD#SWPL-134560

Problem:
video flickering when operate menu

Solution:
1.set vdin write ddr priority to super urgent
2.skip frame when detect frame not writen done

Verify:
T3x

Change-Id: Icd1badf344663f6b91eb021974d3b3e87f3d059c
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2023-09-25 00:13:38 -07:00
qianqian.cai 4f299c1062 deinterlace: DCT memory not correct [1/1]
PD#SWPL-140585

Problem:
s1a NR no effect

Solution:
DCT check memory

Verify:
t5m

Change-Id: I2caae49661cf02decaf72f780acd0d1991095097
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-09-24 20:33:39 -07:00
qiang.liu ac0053e20e tvafe: pal-m open vbi agent [1/1]
PD#SWPL-139755

Problem:
pal-m default close vbi agent

Solution:
pal-m open vbi agent

Verify:
t5w

Change-Id: I416c78228d44cfccd0f7d55ceda203d57cea86ba
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-09-24 08:53:34 -07:00
rufei.fu e5f6efbe90 txhd2: dts: change ion-fb from 36MB to 0 [1/1]
PD#SWPL-140877

Problem:
memory isn't enough

Solution:
change ion-fb to 0,save 36MB

Verify:
txhd2

Change-Id: Ifcbcff228319d98f0b8d790efd0cc60270ae745e
Signed-off-by: rufei.fu <rufei.fu@amlogic.com>
2023-09-22 06:04:24 -07:00
gerrit autosubmit bfb3e8fe71 Merge "amdv: case5345 fail [1/1]" into amlogic-5.15-dev 2023-09-22 06:03:57 -07:00
yao liu 6ba0e0b044 amdv: case5345 fail [1/1]
PD#SWPL-138435

Problem:
1.h264 420-8 non-afbc top1 mif error
2.for special res that is not 4 align
3.case5353 1088 issue

Solution:
1.modify top1 mif for h264 non-afbc block mode
2.disable top1 for special res that is not 4 align
3.update compWidth to real size when src_crop is valid

Verify:
t3x

Change-Id: Id8b2bf7943743c98bfe282bd428e0c5d64f08e9e
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-09-22 06:03:55 -07:00
qiankun.wang bd5059f258 user fault: fix show_user_fault atomic sleep. [1/1]
PD#SWPL-140252

Problem:
The system will sleep in atomic,because 'show_user_data'
calls '__get_user' which calls 'might_sleep'.

Solution:
We use '__copy_from_user_inatomic' rather than
'__get_user'.

Verify:
T3x

Change-Id: I33368dcf371e528ea75b5f3e625c93109bf12907
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-09-22 04:39:01 -07:00