vpp: vpu security register used rdma part table [1/1]

PD#SWPL-200914

Problem:
vpp: vpu security register used rdma old table

Solution:
vpp: vpu security register used rdma part table

Verify:
t5m

Change-Id: Ia061b78b9752bd0525a03ae7f0e5cc13ddbfa28d
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
(cherry picked from commit 09a6e644c8894ff305946b612d7164e2e5164fa1)
This commit is contained in:
Pengcheng Chen
2025-01-22 17:13:13 +08:00
committed by gerrit autosubmit
parent 568a9ad6c1
commit c8290e154c
3 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -14517,10 +14517,10 @@ int video_hw_init(void)
#endif
int i;
#ifdef CONFIG_AMLOGIC_MEDIA_SECURITY
void *video_secure_op[VPP_TOP_MAX] = {VSYNC_WR_MPEG_REG_BITS,
void *video_secure_op[VPP_TOP_MAX] = {VSYNC_WR_VIDEO_TABLE_REG_BITS,
VSYNC_WR_MPEG_REG_BITS_VPP1,
VSYNC_WR_MPEG_REG_BITS_VPP2,
PRE_VSYNC_WR_MPEG_REG_BITS};
PRE_VSYNC_WR_VIDEO_TABLE_REG_BITS};
#endif
_video_hw_init();
+2 -2
View File
@@ -8832,10 +8832,10 @@ int video_hw_init(void)
struct vpu_dev_s *arb_vpu_dev;
#endif
#ifdef CONFIG_AMLOGIC_MEDIA_SECURITY
void *video_secure_op[VPP_TOP_MAX] = {VSYNC_WR_MPEG_REG_BITS,
void *video_secure_op[VPP_TOP_MAX] = {VSYNC_WR_VIDEO_TABLE_REG_BITS,
VSYNC_WR_MPEG_REG_BITS_VPP1,
VSYNC_WR_MPEG_REG_BITS_VPP2,
PRE_VSYNC_WR_MPEG_REG_BITS};
PRE_VSYNC_WR_VIDEO_TABLE_REG_BITS};
#endif
if (!legacy_vpp) {
+3
View File
@@ -1265,6 +1265,9 @@ void update_primary_fmt_event(void);
void switch_from_lcevc_to_nonlcevc(bool unreg);
void update_vd_amdv_info(struct video_layer_s *layer);
void update_vd_amvecm_info(struct video_layer_s *layer);
int VSYNC_WR_VIDEO_TABLE_REG_BITS(u32 adr, u32 val, u32 start, u32 len);
int PRE_VSYNC_WR_VIDEO_TABLE_REG_BITS(u32 adr, u32 val, u32 start, u32 len);
#ifndef CONFIG_AMLOGIC_MEDIA_FRAME_SYNC
enum avevent_e {