Commit Graph

6116 Commits

Author SHA1 Message Date
jinbing.zhu fba03bb84d hdr: modify cgain coef1 reg [1/1]
PD#SWPL-170182

Problem:
modify cgain coef1 reg

Solution:
modify cgain coef1 reg

Verify:
s7d

Change-Id: I436a242e1e783809b26d1286223f131dff7356a6
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-05-22 08:02:26 -07:00
Qianggui Song 45632c0e71 pinctrl: sc2: fix gpioa_14/15 wrong ds offset [1/1]
PD#SWPL-170383

Problem:
GPIOA_14/15 DS register bit is wrong.

Solution:
Fix it

Verify:
sc2

Change-Id: Idf5fd1642259ef2dfcb5baec828b64717ade3f7e
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2024-05-22 08:02:12 -07:00
lukang.jia 5445e1a8c6 frc: frc modify execution process for dlg [1/1]
PD#SWPL-168215

Problem:
the frc cannot release the bypass state

Solution:
modify execution process

Verify:
T5M

Change-Id: If1a9ad992d20753cec15ba4010a82fd61da44c67
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2024-05-22 08:02:05 -07:00
dongfei.li c9bad2faa4 frc: frc follow coverity [1/1]
PD#SWPL-168334

Problem:
fixed coverity report

Solution:
fixed coverity report

Verify:
T3X

Change-Id: Ie46d7d501f6edc9d30d841f3da3fdac77b106217
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2024-05-22 08:01:51 -07:00
zhicheng.huang af8445f6ae dtv_demod: fix dvbs_read_signal_strength issue(V3.5.42) [1/1]
PD#SWPL-166432

Problem:
support ODU_Config cmd to detect unicable ODU input device

Solution:
1.fix dvbs_read_signal_strength issue
2.AMLDTVDEMOD_VER V3.5.42

Verify:
s1a

Change-Id: Ic16e11ed02e51478a11ef7c494705445ceba8077
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2024-05-22 08:01:27 -07:00
Evoke Zhang 7135b4f705 lcd: driver resource sync protect [1/1]
PD#SWPL-169761

Problem:
lcd driver resource not ready sometime when kernel init on

Solution:
add lcd driver resource sync function

Verify:
ay301

Change-Id: Ib1019ca27fa62e9965752531888c587dc14976eb
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-05-22 03:59:39 -07:00
Xingxing Wang 46199b50cc thermal: ddr thermal param update of t5d&t5w [1/1]
PD#SWPL-169759

Problem:
align 20nm ddr thermal params to kernel5.4

Solution:
1. align 20nm ddr thermal params to kernel5.4
2. update ddr status when coolingdevice registerd

Verify:
t5d&t5w

Change-Id: Ib33b715e790a72f2969dc69c3dec159589ae0d3f
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-05-22 03:59:31 -07:00
linfang.zhao 117b8940be drm: add sgt page align of afbc uvm buffer [1/1]
PD#SWPL-160830

Problem:
core dump happen when afbc video play

Solution:
add sgt page align of afbc uvm buffer

Verify:
T5W

Test:
DRM-OSD-3

Change-Id: Ib551c49ef7658ec8b206ba1fbc1de58aa55e58d5
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
2024-05-22 02:00:09 -07:00
hang cheng dadf972d61 hdmitx: optimise hdcp fsm flow [1/1]
PD#SWPL-167469

Problem:
If hdcp2.2 auth fail switch to hdcp1.4,
when driver notify HDMI_DISCONNECT state
to hdcp_tx22 daemon and then notify
HDCP_STOP state to hdcp_tx22, hdcp_tx22
may not enter HDMI_DISCONNECT state as
hdcp_tx22 may missing out to get this state,
for example CPU is busy and hdcp_tx22 didn't
get the state in time. In this case, hdcp_tx22
state machine will keep running and retry
hdcp2.2 auth in background, and will affect
hdcp1.4, what's more, it will disable hdcp path
and result in hdcp14 auth fail

Solution:
When disable hdcp2.2, firstly notify HDCP_STOP
state to hdcp_tx22 daemon to stop hdcp22 auth,
and then notify HDMI_DISCONNECT to hdcp_tx22, even
if hdcp_tx22 missed the middle state of HDCP_STOP,
it will not miss the final HDCP_DISCONNECT state,
thus when fallback to hdcp1.4 auth, hdcp1.4 will
not be affect.

Verify:
ah212

Test:
DRM-TX-37

Change-Id: I2094e2e96307bf6d735d54ce18fbf4d1a49ee4b4
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2024-05-22 02:00:03 -07:00
Liqiang Jin b0159a7126 Data pipe: Optimize code [3/3]
PD#RSP-6352

Problem:
Need to optimize code

Solution:
Modify code

Verify:
Android U + S7

Change-Id: I18d32e1a922479761766c9ca0f9e078898db0115
Signed-off-by: Liqiang Jin <liqiang.jin@amlogic.com>
2024-05-22 01:59:54 -07:00
Wenwei Ling cc8db0199d vdin: Add restrictive conditions to the log [1/1]
PD#SWPL-164991

Problem:
Printing logs causes abnormal matrix settings

Solution:
Add restrictive conditions to the log

Verify:
use T968D4-BC302

Signed-off-by: wenwei.ling@amlogic.com
Change-Id: I6bd202d6e1dafaf3cdd18d1f7499332acd8ce9e2
2024-05-22 01:59:39 -07:00
qing.zhang 64dab4a33f audio: loopback channel sync issue [1/1]
PD#SWPL-169715

Problem:
1. loopback channel sync error, when loopback data in source is
disabled, the loopback channel sync original channel sync
must not be set.

Solution:
1. when only use loopback lb source, disable the original channel sync

Verify:
Ross Ref201

Change-Id: I116f7d5d28e5eb25c7ca2d63f03986d0ff3fa951
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
2024-05-22 00:00:07 -07:00
Evoke Zhang 32c883cdbb lcd_extern: fix lcd_extern_debug_file_creat kasan error [1/1]
PD#SWPL-169747

Problem:
report kasan error in lcd_extern_debug_file_creat

Solution:
fix lcd_extern_debug_file_creat kasan error

Verify:
ar301

Change-Id: Ib2070688a2aaf8190febd02e38253ee17c0a3c44
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-05-22 00:00:01 -07:00
Evoke Zhang cbbc251b91 lcd: driver resource sync for init on [1/1]
PD#SWPL-169761

Problem:
lcd driver resource not ready sometime when kernel init on

Solution:
add lcd driver resource sync function

Verify:
ay301

Change-Id: I98cece77e4f35911cea6deb191353078a6720189
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-05-21 23:59:55 -07:00
haiyang.ren edc216fea1 audio: DUT HDMI OUT silent [1/2]
PD#SWPL-166928

Problem:
1. The device tree configuration is incomplete;
2. The HDMI Source configuration is incorrect;

Solution:
1. Add related configuration;
2. Corrective source configuration

Verify:
S7_BH201

Change-Id: Id0d2555519c31438c8909efb6e669a15d223040e
Signed-off-by: haiyang.ren <haiyang.ren@amlogic.com>
2024-05-21 19:22:27 -07:00
qinglin.li 45eb997365 dmc_monitor: fix dts irq type to level [1/1]
PD#SWPL-168898

Problem:
fix dts irq type to level

Solution:
fix dts irq type to level

Verify:
local

Change-Id: Ib062ea9c6ad3d1ce942468f0c63a16f8801ede78
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2024-05-21 08:37:28 -07:00
Yue Wang 46fe122eaf USB: dequeue do not delay in ISOC mode [1/1]
PD#SWPL-170453

Problem:
1.When UAC dequeue ISOC OUT,the mdelay will block ISOC IN transfer.

Solution:
1.dequeue do not delay in ISOC mode.

Verify:
AV400

Change-Id: I05bc712fecdc7d47e069191aed9efe2e804d5d8c
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2024-05-21 06:29:59 -07:00
yao liu cb99f82c97 amdv: osd dv core is disabled [1/1]
PD#SWPL-160834
PD#SWPL-170230

Problem:
osd dv core is disabled

Solution:
add dv support for s7d in vpp

Verify:
s7d

Change-Id: I6373667f99f8ddc3fc06e23f4d1831d6d4b4e40d
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-05-21 06:29:53 -07:00
Xindong Xu 533052501e dtsi: change userdata mask for f2fs [2/2]
PD#SWPL-169575

Problem:
can't bootup after fastboot -w

Solution:
userdata is f2fs, we must set mask_flag bit 12 1

Verify:
redi

Change-Id: I9f874062a9bedbb69b1ab616408887bf0dca1974
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
2024-05-21 06:29:46 -07:00
Pengcheng Chen d5a067e860 vpp: call vpp_blend_update in pre_vsync_isr when pre_vsync enable [1/1]
PD#SWPL-169052

Problem:
pre_vsync and post_vsync both call vpp_blend_ctrl
caused rdma write error probability

Solution:
call vpp_blend_update in pre_vsync_isr when pre_vsync enable only

Verify:
t3x

Change-Id: Ie38e871e3f8a1756c29493d80d4a11636de39ea3
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-05-21 06:29:42 -07:00
Gaowei Zhao eb361ec2df hdmirx: fix QMS message missing issue [1/1]
PD#SWPL-168043

Problem:
Don't display QMS UI when HDMI signal starts

Solution:
Send QMS-VRR data until signal stable.

Verify:
t3x

Change-Id: I913cf1a7a0a8dc01c464dc2fe152fe14ed65a224
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-05-21 06:29:36 -07:00
Long df467a7360 eMMC: fix gp0 frequence as 1152mhz. [1/1]
PD#SWPL-167218

Problem:
fix gp0 frequence as 1152mhz

Solution:
fix source clock as 1152mhz

Verify:
s5

Change-Id: I6fc671bdc2f95881c55eb955c80073d3c1ead853
Signed-off-by: Long <long.yu@amlogic.com>
2024-05-21 06:29:32 -07:00
Liqiang Jin 7e8b42cb09 Data pipe: Remove data pipe pool [2/3]
PD#RSP-6352

Problem:
Need to simplify code

Solution:
Update code

Verify:
Android U + S7

Change-Id: I0116e5e3044899f111c63951fa6ddda4c63a9fb3
Signed-off-by: Liqiang Jin <liqiang.jin@amlogic.com>
2024-05-21 00:06:40 -07:00
Luan Yuan 4c748f9fe3 s805x3: disable dvb demux. [1/2]
PD#SWPL-170399

Problem:
s805x3 no need dtvkit default.
enable it if the project requires that.

Solution:
disable it.

Verify:
verify by pascal.

Change-Id: Ifb418367ed0c56fd506a00d3ee57c22d7d1f3e70
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-05-20 23:56:35 -07:00
Jianxiong Pan 9f42ba1562 osd: correct the pfn of cross zone cma range. [1/1]
PD#SWPL-169803

Problem:
get wrong pfn cause free memory failed.

Solution:
correct the cross zone pfn.

Verify:
t5w.

Test:
pass.

Change-Id: I283e07e4c5f3080841b7d4ac5f36160d6e547d79
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-05-20 23:56:30 -07:00
Liang Yang e698a6054d mtdblock: mtdblk_dev not refer to mtdblk_pbbt [1/1]
PD#SWPL-169271

Problem:
wrong pointer reference is used in container_of()

Solution:
fix wrong pointer reference

Verify:
s1a_bg201

Change-Id: I26d83c82ad2dc5e34b4003afa735bd497f52ed46
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
2024-05-20 23:56:06 -07:00
Liang Yang 7a9cfa3934 spinand: out of range access [1/1]
PD#SWPL-169271

Problem:
regmap_read() access 4B each time, but the length
of buffer passed from spi core is mismatch.

Solution:
NFC driver use the local variable to fix it.

Verify:
s1a_bg201

Change-Id: Id1377f03f594cbc249f85c8a9ab49ba827f47cf4
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
2024-05-20 23:56:01 -07:00
Liqiang Jin 526809711a Data pipe: Lock global variables [1/3]
PD#RSP-6350

Problem:
Multiple threads updating the same global variable causes data error

Solution:
Lock global variables

Verify:
Android U + S7

Change-Id: Id65a397c4bcb6566b6f35c143f4391913b9ba996
Signed-off-by: Liqiang Jin <liqiang.jin@amlogic.com>
2024-05-20 23:55:44 -07:00
wenlong.zhang 86ad56769f drm: support yuv 10bit for video [1/1]
PD#SWPL-146801

Problem:
support yuv 10bit for video

Solution:
support yuv 10bit for video

Verify:
s7

Test:
DRM-OSD-63

Change-Id: I93d00a77cb6776bd430c2db9845e685ff059bddd
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
2024-05-20 23:55:39 -07:00
Tao Zeng 916e1b7f7f amfc: using source code for zstd tools [1/1]
PD#SWPL-169230

Problem:
Previous commit https://scgit.amlogic.com/#/c/427562/ including a
close source binary for zstd compress, which have license problems

Solution:
1, remove this binary in auto-patch;
2, add source code for this binary

Verify:
S7D

Change-Id: Ic0355b6ad3d0d91a9772d007fa2c9797f18004b1
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-05-20 22:39:43 -07:00
Pengcheng Chen 145fab5ffb vpp: add vd1 and vd3 overlap display bandwidth [1/1]
PD#SWPL-169439

Problem:
vd1 online 4k non-afbc video +
vd3 hdmin in 4k afbc video overlap display bandwidth issue

Solution:
1. vd1 and vd3 axis window overlaped
2. vd1 and vd3 input size is 4k
3. if vd1 or vd3 vskip >=2, vskip+2

Verify:
t7c

Change-Id: Ie4a5d0428f62c50808d97427166ad5006b222735
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-05-20 22:39:38 -07:00
Yue Wang a4b790051b t5m: usb: fix usb bus resume timeout [1/1]
PD#SWPL-170131

Problem:
T5m usb bus resume timeout.

Solution:
fix usb bus resume timeout.

Verify:
T903D4

Change-Id: Id0deb5af437d70a294424b2033deb7b846947e52
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2024-05-20 06:40:17 -07:00
yajing.li fa4daa4f70 uvm: fix video play issue on linux [1/1]
PD#SWPL-154064

Problem:
video play fail on linux.
regression of the follow cl:
https://scgit.amlogic.com/#/c/374332

Solution:
uvm alloc by gem only have one sgt.
add map check condition.

Verify:
Roku

Change-Id: I923152156e3446e3264f92576e7a30517d7cfbe3
Signed-off-by: yajing.li <yajing.li@amlogic.com>
2024-05-20 06:40:13 -07:00
qiyao.zhou 3260b15582 dp: no put buf when switch p to I. [1/1]
PD#SWPL-165621

Problem:
When switch P to I, dp would reset DI,
the buf has queued to DI not reduce reference.

Solution:
Modify diprocess uninit flow.

Verify:
t5d

Change-Id: I3f999581817f293551befc0493812e7faea9ffd1
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-05-20 06:40:08 -07:00
Yu Tu d4162039eb dtsi: s7d uart_a for BT [1/1]
PD#SWPL-170338

Problem:
BT play has caton imagination

Solution:
uart interrupt thread

Verify:
s7d_bm201

Change-Id: Ie8acab3ab88db84b9e7f6e3cab691b7f91b40098
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-05-20 06:40:03 -07:00
rong.wang 5d76db629b deinterlace: Jitter increases when exit [1/1]
PD#SWPL-168244

Problem:
Jitter increases when exit

Solution:
Set thresholds to balance pd22224 (add by yeguoyao)

Verify:
t5m

Change-Id: I9aabf5aa8938088ffabb3055447bd5acf5fa53d6
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2024-05-20 06:39:58 -07:00
jialong.jiang 4109c94ecc amdv: compilation failure problem. [1/1]
PD#SWPL-167603

Problem:
compilation failure problem.

Solution:
compilation failure problem.

Verify:
redi_wv4

Change-Id: Ia2077b1d4e2956a16a2c3a73d82bd5a0e20c78db
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-05-20 06:39:53 -07:00
Huijuan Xiao 0bca5b8708 hdr: hdr core before osd blend [1/1]
PD#SWPL-165938

Problem:
move rgb2yuv from hdr core to osd csc.

Solution:
move rgb2yuv from hdr core to osd csc.

Verify:
s7d

Change-Id: Ib52d37f9f9a72dad048ce3ed2512ed1208d1538f
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
2024-05-20 06:39:47 -07:00
jialong.jiang 02faf0b063 amdv: 1080p120 display abnormal. [1/1]
PD#SWPL-168716

Problem:
sink-led black screen,
source-led split screen.

Solution:
modify g_vpotch

Verify:
s7d

Change-Id: I615f38a78c7cdbfe25bb05ddf76e1333c227b032
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-05-20 04:10:54 -07:00
Lei Yang 067232f0de hdmirx: fastswitch scene optimization [1/1]
PD#SWPL-168465
PD#SWPL-167552

Problem:
Detection time is longer

Solution:
optimized detection time under fast switching scene.

Verify:
T7C/T3X

Change-Id: Id0faf280268dca98e897261c535076d5dc02e31a
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2024-05-20 04:10:36 -07:00
jialong.jiang 47b69b6702 amdv: add aisdk function for hw5. [1/1]
PD#SWPL-168075
PD#SWPL-168078

Problem:
add aisdk function for hw5.

Solution:
add aisdk function for hw5.

Verify:
t3x

Change-Id: I60b3d1e3488ae7442179a7f6974134141e2f4082
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-05-20 04:10:28 -07:00
Hao Shi 35f7e12255 codec_mm: vmap for cma first buffer [1/1]
PD#SWPL-167178

Problem:
need vmap for cma first buffer.

Solution:
vmap for cma first buffer.

Verify:
SC2

Change-Id: I76316a7e16102f2fad4c226b833f0bd25ca7afdb
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-05-20 04:09:57 -07:00
shufei.zhao f9cea5edaa s7d: 32bit kernel support [1/1]
PD#SWPL-169546

Problem:
32bit kernel support

Solution:
32bit kernel support

Verify:
s7d-bm201

Change-Id: Ie4d2ad531ac0b19bbf35ec23e472880a8853f20d
Signed-off-by: shufei.zhao <shufei.zhao@amlogic.com>
2024-05-17 07:00:01 -07:00
Blance Tang 6a08faedd6 Yocto: Add AP232 Linux 1G DTS
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
Change-Id: Ie9c3d0ce7480013b86cc5596994e347b7fb1f4b1
2024-05-17 06:00:58 -07:00
pengzhao.liu 8c69844823 s7: dtb packaging failed [1/1]
PD#SWPL-169494

Problem:
dtb packaging failed

Solution:
dtb packaging failed

Verify:
bp201

Change-Id: Ic680b1b84e5b21756bff50f0d4a2e0fb2ffeb029
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-05-17 06:00:52 -07:00
jinbing.zhu 7d1a82823b amvecm: s7d demo modify reg refresh. [1/1]
PD#SWPL-169310

Problem:
s7d demo

Solution:
s7d demo

Verify:
s7d

Change-Id: Id394146a51fd02d9b70848c10c6d1b0b157b0dd7
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-05-17 06:00:33 -07:00
yuhua.lin 1601dfc5bb video: modify vpp_speed_factor for t5m 144hz [1/1]
PD#SWPL-160592

Problem:
modify vpp_speed_factor for t5m 144hz

Solution:
complete it

Verify:
t5m

Change-Id: I88d22a3c9e02d4dc8004dcb30a50da2e394a6565
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-05-17 06:00:27 -07:00
yuhua.lin 3064a957b0 vpu: add 768M vpu clk support for t5m [1/1]
PD#SWPL-160592

Problem:
add 768M vpu clk support for t5m

Solution:
complete it

Verify:
t5m

Change-Id: I9c34c21bcad1835d6ba5256c7419ec8b85dfe3df
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-05-17 06:00:09 -07:00
Jian Cao 65a83ac1e9 rdma: print the task name of the rdma handle [1/1]
PD#SWPL-169288

Problem:
add print to debug issues operating rdma simultaneously.

Solution:
add this debug method

Verify:
s5

Change-Id: If3d2b4b949874e79ea3c73335715a2cd0782940a
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-05-17 02:00:41 -07:00
Rong Chen 519e2de037 s7d: change sdio pinmux ds to 2 [1/1]
PD#SWPL-169998

Problem:
HW suggest sdio pinmux ds change to 2

Solution:
modiry dts change sdio pinmux ds to 2

Verify:
s7d

Change-Id: I3e80db576bd1c7852cb40fda4467d7eca1642845
Signed-off-by: Rong Chen <rong.chen@amlogic.com>
2024-05-17 00:20:53 -07:00