Commit Graph

29 Commits

Author SHA1 Message Date
qiyao.zhou c74920acd4 videoqueue: video play would freeze when switch [1/1]
PD#SWPL-182909

Problem:
Repeat put frame when queue buf failed.

Solution:
notify put flow in videoqueue.

Verify:
txhd2

Change-Id: I5369ff41525daa7406e414ea36674030afb83b56
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-08-22 03:45:46 -07:00
zhenteng.tian ac4d783d72 vc: notify frame display info to mediaproxy. [1/1]
PD#SWPL-177588

Problem:
video_composer need notify frame display info to mediaproxy

Solution:
notify frame display info to mediaproxy

Verify:
T5M

Change-Id: Icd7f8f030a78245086dd0c3eba5cd1e7d3761e70
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-08-15 21:45:31 -07:00
qiyao.zhou 8898860f5b di_process: remove unused file in buf manager. [1/1]
PD#SWPL-180571

Problem:
Do dq_checkin but not senc to hwc,this result
put buf error.

Solution:
Add free_checkin flow for this case.

Verify:
txhd2

Change-Id: I62da8f213523f1553e9d3ff1653f25a570fb3baa
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-08-06 05:50:29 -07:00
zhenteng.tian f08062e7d6 vq: notify di to bypass di_p for dual channel input. [1/1]
PD#SWPL-165640

Problem:
The bandwidth is insufficient to meet the simultaneous DI processing.

Solution:
notify di to bypass di_p for dual channel input.

Verify:
T3X

Change-Id: I91f7e823fd44fb7fa27984a50250d87c08bc685c
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-05-16 05:55:25 -07:00
zhenteng.tian 115d42e14b vq: use flag rather than pointer to check if vq is reg. [1/1]
PD#SWPL-168124

Problem:
pcr_update function doesn't know whether vq is reg or not.

Solution:
use flag rather than pointer to check if vq is reg.

Verify:
T3X

Change-Id: I561770837e68d0b4cf44d1b5c8de4750e09bdcf8
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-05-09 05:56:02 -07:00
Xiangyu Cai 48e3df4138 videoqueue: not wait 4 frame when game mode [1/1]
PD#SWPL-167081

Problem:
vdin set unknown frame in game

Solution:
videoqueue not wait 4 frame when game mode

Verify:
t3x

Change-Id: Ice94d40544f65054cded3c8e0832e7d555479b25
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2024-04-26 05:41:51 -07:00
qiyao.zhou 42de440b10 vq: video display error when stress test [1/1]
PD#SWPL-160188

Problem:
Deadlock in videoqueue when unreg.

Solution:
Avoid Deadlock.

Verify:
txhd2

Change-Id: I08d6bd21f3443aea1419a877cb0bf33d48375db3
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-04-21 23:45:53 -07:00
zhenteng.tian 5d78f14c6c vc: add resource manager integrate debug loglevel setting. [1/1]
PD#SWPL-154397

Problem:
display debuglevel can not be set in user version.

Solution:
add resource manager integrate debug loglevel setting for user version.

Verify:
T5M

Change-Id: I2c8ae8d22bac1b22b709720b532a4ebe988f1fac
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-03-23 05:50:59 -07:00
chen.xu 20f7ae60ca video_processor: support hibernate mode [1/1]
PD#SWPL-158194

Problem:
support hibernate mode for video_processor.

Solution:
support hibernate mode for video_processor.

Verify:
T7C

Change-Id: Id75084e18b5594e71d1cf34d9606b89b2a79c7c2
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-03-22 02:13:35 -07:00
zhenteng.tian e55ac728e6 videoqueue: reduce print level for frequent printing. [1/1]
PD#SWPL-156005

Problem:
some logs are printed too frequently in videoqueue.

Solution:
reduce print level for frequent printing.

Verify:
T5M

Change-Id: I32043cdf9d996c562f6ee47d6aef651380315c88
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-02-28 01:29:35 -08:00
Bin.Wang2 c4cb90ef95 vlock: change hsr output 100/120hz vlock phase [1/1]
PD#SWPL-157975

Problem:
video jitter

Solution:
change vlock phase

Verify:
t3m

Change-Id: I3bde48e31d87236009df436ba11bec1184939ef7
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
2024-02-27 18:49:21 -08:00
chen.xu d9faf321f9 videoqueue: fix videoqueue panic [1/1]
PD#SWPL-157012

Problem:
videoqueue panic.

Solution:
support.

Verify:
T7C

Change-Id: I78619fee890b3154134d4a7df71959adc6a6cd47
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-02-04 02:55:24 -07:00
zhenteng.tian bde6e9febf vc: use dec vf rather than di vf when prelink. [1/1]
PD#SWPL-153199

Problem:
screen distortion due to displaying prelink vf in a non-prelink manner.

Solution:
use dec vf rather than di vf when prelink.

Verify:
T5M

Change-Id: Ic7e333d4b0514d32dea492bf099931327c3cf755
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-02-02 04:05:16 -07:00
qiyao.zhou 5281511bc2 videoqueue: tvserver need support di backend [2/2]
PD#SWPL-143207

Problem:
Add di backend config property.

Solution:
Add di backend config property for txhd2.

Verify:
txhd2

Change-Id: I7970fe8990a14e1b34f52cd3f0e359e78339af8c
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-01-30 07:59:10 -07:00
zhenteng.tian 6243a5dcdf vq: ensure vq_dev is set and use in the same function. [1/1]
PD#SWPL-153788

Problem:
kernel panic due to vq unreg but vpp still use pointer vq_dev.

Solution:
1. ensure vq_dev is set and use in the same function.
2. use atomic operations to ensure read and write security.

Verify:
T3

Change-Id: I10b5ed305e9cfe5fd3c76758ca1cc93adba14f3b
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-01-16 06:12:00 -07:00
zhenteng.tian 04b34a9a42 pipeline: change pip path from dimulti.1 to dimulti.2. [1/1]
PD#SWPL-147953

Problem:
pip path is conflict with dec path.

Solution:
1.change pip path from dimulti.1 to dimulti.2.
2.checkout if vq is reg before unreg.
3.change pr_info to vq_print in videoqueue.c

Verify:
T3X

Change-Id: I3653fd2baf633d11006ee5889f72d30a1a462b71
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-12-21 02:35:27 -07:00
hai.cao 96cf371741 video: optimize get video mute state [1/1]
PD#SWPL-144002

Problem:
rx need get rx mute state

Solution:
add support

Verify:
TXHD2

Change-Id: Ic7c0d27cf8f5a389a0f665f138436f938ce97ee8
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-11-21 08:53:23 -07:00
zhenteng.tian 14d2798c95 videoqueue: support 2 instance. [1/1]
PD#SWPL-140280

Problem:
Videoqueue need another instance to support PIP.

Solution:
Add another instance in videoqueue.

Verify:
T3X

Change-Id: Ibed99c8b401549312178f1415005720ea9969fef
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-11-13 00:01:22 -07:00
zhenteng.tian ae0c79a643 vq: lower the log level related to fence_file. [1/1]
PD#SWPL-143187

Problem:
ATV set channel lock, serial output fence_ File is NULL printing.

Solution:
lower the log level related to fence_file.

Verify:
T5W

Change-Id: I2625ef22701b5f26b67cccd7cb7f20a4d21eba23
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2023-11-01 11:27:45 -07:00
qiyao.zhou 918e0f92cc videoqueue: resync for out with no pannel. [1/1]
PD#SWPL-139458

Problem:
AV sync abnormal after TX plug out/in, this is because
canot enter resync flow for output with no pannel.

Solution:
Add resync flow for Not pannel output case.

Verify:
t7

Change-Id: Ifa1b814a226476bb8b2a3b3cbde2135acd06a4a1
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-09-11 20:08:49 -07:00
qiyao.zhou e370a728ed vq: specias fps would result nonuniform fps [1/1]
PD#SWPL-131146

Problem:
specias fps would result nonuniform fps.

Solution:
Modify special fps match flow.

Verify:
T5M

Change-Id: I3c339d1dea3a0cbe151b462994757418e3d97755
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-07-30 23:58:48 -07:00
chen.xu 2cc7a430f6 video_composer: add fence info for debug [1/1]
PD#SWPL-129173

Problem:
need add fence info for debug

Solution:
1.add fence info for debug

Verify:
t3

Change-Id: Iccb38c5e8be5ddad9db0f5aae4198502a2243703
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-06-30 04:57:15 -07:00
jintao xu 46ed4ab38e vq: file_q need add mutex [1/1]
PD#SWPL-118810

Problem:
mem leak

Solution:
file_q need add mutex

Verify:
T3

Change-Id: I5a643c487fa52bcf35736ecf0c53e2118f8546ee
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2023-04-18 00:53:16 -07:00
Pengcheng Chen 6ed983774e vpp: vsync_notify_video_composer update for prevsync [1/1]
PD#SWPL-115301

Problem:
vsync_notify_video_composer update for prevsync

Solution:
vsync_notify_video_composer update for prevsync

Verify:
t5m

Change-Id: Ia2ccb9c8e1506cce825caee6eea143a86b7f4038
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-03-24 06:12:37 -07:00
chen.xu b6118be426 video_process: fix support video_process dump data [1/1]
PD#SWPL-110893

Problem:
video_process can't dump data.

Solution:
video_process support dump data.

Verify:
t3

Change-Id: Ia8f61b0479ebd6820da2c9c0ef996110f143311c
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-02-15 20:16:29 -08:00
chen.xu 7fbd7dbc22 video_processor: Kernel 5.4 to Kernel 5.15 Bringup [1/1]
PD#SWPL-97096

Problem:
Kernel 5.4 to Kernel 5.15 Bringup

Solution:
sync video_processor code

Verify:
sc2

Signed-off-by: chen.xu <chen.xu@amlogic.com>
Change-Id: I05aae8fff3f4dbd37e05000b04f186e02fc4d7d0
2022-11-01 04:40:29 -07:00
yao liu 32e6e3df54 amdv: sync code from kernel-5.4 [1/1]
PD#SWPL-95643

Problem:
5.15 kernel missing many patches

Solution:
sync code from kernel-5.4

Verify:
ohm

Signed-off-by: yao liu <yao.liu@amlogic.com>
Change-Id: I26cfa46574781c980abb0024b859655901d71dcf
2022-09-27 00:13:40 -07:00
wanwei.jiang af26eeaf9d media: enable the same config as kernel 5.4 [1/1]
PD#SWPL-77521

Problem:
enable the same config as kernel 5.4

Solution:
enable the same config as kernel 5.4

Verify:
s4d

Change-Id: I73f6eb8a896956337503477f32c218fe465cddda
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-04-11 20:57:12 +08:00
wanwei.jiang 15656eb157 media: porting media driver [1/1]
PD#SWPL-77521

Problem:
porting media driver from kernel 5.4

Solution:
porting media driver from kernel 5.4

Verify:
s4d and C2 AF400

Change-Id: I63bb8316e271db8b7d0e6e524399ebde9a1456a6
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-04-07 22:56:37 +08:00