Commit Graph

21 Commits

Author SHA1 Message Date
jintao xu 84de425939 di: free buffer when REG_STEP1 [1/1]
PD#SWPL-137948

Problem:
fcc 3 channel has di buffer

Solution:
free buffer when REG_STEP1

Verify:
sc2

Change-Id: I921fece2180357c6fb986a459475081a15239d20
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2023-11-14 10:14:33 +08:00
yao zhang1 a24ea130f9 bootup: Optimize k5.15 boot log. [1/1]
PD#SWPL-142042

Problem:
Too many logs affect performance.

Solution:
Optimize boot log.

Verify:
sc2

Test:
DRM-OSD-2

Change-Id: I5a9435c350074206226a164fdf3f2eb64e4683a1
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-10-30 18:59:09 +08:00
chen.xu f839fde0ca amlvideo2: get width and height for only video [1/1]
PD#SWPL-136140

Problem:
need screencap for only video of point 7.

Solution:
get width and height for only video of point 7.

Verify:
TXHD2

Change-Id: I534baa5201191cc4324d8f1c914df39c548ccf40
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-08-22 06:09:06 -07:00
chen.xu e135acff51 amlvideo2: support screencap only video [1/1]
PD#SWPL-128910

Problem:
amlvideo2 need support screencap for main and sub screens.

Solution:
amlvideo2 support screencap for main and sub screens.

Verify:
T7C

Change-Id: Iabd1450d1c65a98544e92f2be20f7b34fdd95e2a
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-08-08 20:08:40 -07:00
chen.xu 13202b64a9 ScreenCap: Optimize the screencap rate [1/1]
PD#SWPL-124966

Problem:
optimize the screencap rate.

Solution:
use cache when mmap.

Verify:
T5M

Change-Id: I157a1ffcec8dd2183c7405c961e9627c25348b65
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-07-12 23:10:20 -07:00
chen.xu 6fc07d33c5 amlvideo2: support dump amlvideo2 input and output data [1/1]
PD#SWPL-129658

Problem:
need support dump amlvideo2 input and output data.

Solution:
1.support dump amlvideo2 input data.
2.support dump amlvideo2 input and output data,
starting from screen recording, continuously dump.

Verify:
t3

Signed-off-by: chen.xu <chen.xu@amlogic.com>
Change-Id: I530f09109d6441557a29f477cc3fb4a25a7e7364
2023-06-27 05:12:49 -07:00
chen.xu 4a139e9719 amlvideo2: fix thread stuck while reboot [1/1]
PD#SWPL-127649

Problem:
amlvideo2 thread stuck while reboot.

Solution:
When resources are not sufficient, let the thread actively
give up the CPU.

Verify:
sandia

Change-Id: I9417243d55140f924f11e2fa1e3c8791b99d5854
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-06-25 03:33:44 -07:00
chen.xu 9383c16667 amlvideo2.0: fix t3x screenshot use vdin2 [1/1]
PD#SWPL-117275

Problem:
t3x screenshot use vdin2.

Solution:
t3x screenshot use vdin2.

Verify:
T3X

Change-Id: If8add8ff867ad659d303c89e344c67a5517c45f1
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-05-18 21:08:40 +08:00
chen.xu a8317f38b8 video_processor: fix panic while make strict safety test [1/1]
PD#SWPL-123626

Problem:
while make strict safety test,v4lvideo and ionvideo
module will panic.

Solution:
modify v4lvideo and ionvideo module code,make it safe.

Verify:
T982_AR301

Change-Id: I491f6b8ca1f2047e86bd02e87578d4683df1d415
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-05-14 23:49:33 -07:00
chen.xu 506c89d3ff amlvideo2.0: add osd only support for screencap [1/1]
PD#SWPL-119995

Problem:
need add osd only screencap.

Solution:
1.add osd only screencap for amlvideo2.0.

Verify:
T963d4

Change-Id: Ie59d9e3f95d6baf89ac6fd2c3292df080fe08f59
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-04-21 06:07:37 -07:00
chen.xu 996b4e4c3e bringup: Add dts and dtsi for g12b and sm1. [1/1]
PD#SWPL-108104

Problem:
Bringup g12b and sm1.

Solution:
Add dts and dtsi for g12b and sm1.

Verify:
g12b

Change-Id: I6b8484c566fb30994c2429e69cb4945221ce1a4f
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-04-04 19:48:18 +08:00
yao zhang1 47b2ab6395 bringup: Fixed g12b sm1 build error. [1/1]
PD#SWPL-104242

Problem:
g12b sm1 build error

Solution:
Fixed g12b sm1 build error.

Verify:
g12b & sm1

Change-Id: I82173262fe8f6876164e6445b234a53eeda90ac2
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-04-04 19:48:18 +08:00
chen.xu ae30d68ad3 bringup: Add dts and dtsi for g12b. [1/1]
PD#SWPL-108104

Problem:
Bringup g12b.

Solution:
Add dts and dtsi for g12b.

Verify:
g12b

Change-Id: Ia8aee2391c18e5a33da3c53a4f477045370788e4
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2023-04-04 19:37:02 +08: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
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
mingxiu.sun 0af3d219ab tvafe and vdin: sync code from branch t7t5m_1_20220908 [1/1]
PD#SWPL-95768

Problem:
kernel 5.15 missing patches

Solution:
sync code from kernel-5.4

Verify:
t7c_an400

Test:
compile ok

Change-Id: Ic9b0837775c537f93b37d3395a35144941437f09
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2022-12-02 14:04:54 +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
chen.xu 50ea64089c video_dev: ScreenCapDemo-signed.apk cannot capture pictures [1/1]
PD#SWPL-93268

Problem:
aml_video2.0 and aml_video2.1 not insmod result in
ScreenCapDemo-signed.apk cannot capture pictures.

Solution:
Kconfig open AMLOGIC_V4L_VIDEO2.

Verify:
S905X4_AH212

Signed-off-by: chen.xu <chen.xu@amlogic.com>
Change-Id: I9e5318b67bc294de1633b364bb01b9ccf4a6d46a
2022-09-25 18:49:44 -07:00
chen.xu b59e3ba991 video_processor: break GKI for video [1/1]
PD#SWPL-89213

Problem:
break GKI--video.

Solution:
1.delete ./video_processor/pic_dev/Kconfig:AM_PTSSERVER.
2.modify ./video_processor/video_dev/Kconfig:VIDEOBUF_GEN.
3.modify ./video_processor/utils/Kconfig:VIDEOBUF_GEN.

Verify:
AH212_S905X4

Signed-off-by: chen.xu <chen.xu@amlogic.com>
Change-Id: Ic857789fe942c5ba097ef7284c9f13ccb6b2ad65
2022-09-07 20:06:43 +08: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