PD#SWPL-29762
Problem:
When secure and non secure mode at the same time,persion rights conflicted
Solution:
correct the parser permision rights confusion.
Verify:
u215
Change-Id: I47987e793aa0af05dd07ec3a13de9f38c7444ac5
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
if (!vdec_core_with_input(mask))
return;
- if (secure && vdec_stream_based(vdec) && force_nosecure_even_drm)
+ if (vdec_stream_based(vdec) && !vdec_secure(vdec))
{
- secure = 0;
+ tee_config_device_secure(DMC_DEV_ID_PARSER, 0);
}
if (input->target == VDEC_INPUT_TARGET_VLD)
tee_config_device_secure(DMC_DEV_ID_VDEC, secure);