PD#SWPL-40788
Problem:
Secure access to catch data will crash
Solution:
Add conditions to allow dump data
Verify:
U21BQ-S905X2
Signed-off-by: yuanfa.zhuang <yuanfa.zhuang@amlogic.com>
Change-Id: Ie83985ebeaffd9d9c4ed96f20be7c17e724d657b
hevc->dec_result = DEC_RESULT_NONE;
if (vdec_frame_based(vdec) &&
((get_dbg_flag(hevc) & PRINT_FLAG_VDEC_STATUS)
- || is_log_enable(hevc)))
+ || is_log_enable(hevc)) &&
+ !vdec_secure(vdec))
check_sum = get_data_check_sum(hevc, r);
if (is_log_enable(hevc))
hevc->start_shift_bytes
);
if ((get_dbg_flag(hevc) & PRINT_FRAMEBASE_DATA) &&
- input_frame_based(vdec)) {
+ input_frame_based(vdec) &&
+ !vdec_secure(vdec)) {
int jj;
u8 *data = NULL;
av1_frame_mode_pts_save(hw);
if (debug & PRINT_FLAG_VDEC_STATUS) {
- if (vdec_frame_based(vdec) && hw->chunk) {
+ if (vdec_frame_based(vdec) && hw->chunk && !vdec_secure(vdec)) {
u8 *data = NULL;
if (!hw->chunk->block->is_mapped)