video: driver: Fix bin buffer allocation in secure usecase
In Secure session, BIN buffer should be allocated from Secure Bitstream region. Allocated buffer must be hypassigned using the DMA buffer Lend call. Change-Id: If5303e78975aab55ac7475ca3ac9f6272585a44b Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
This commit is contained in:
@@ -881,6 +881,8 @@ u32 msm_vidc_get_buffer_region(struct msm_vidc_inst *inst,
|
||||
region = MSM_VIDC_SECURE_PIXEL;
|
||||
break;
|
||||
case MSM_VIDC_BUF_BIN:
|
||||
region = MSM_VIDC_SECURE_BITSTREAM;
|
||||
break;
|
||||
case MSM_VIDC_BUF_ARP:
|
||||
case MSM_VIDC_BUF_COMV:
|
||||
case MSM_VIDC_BUF_NON_COMV:
|
||||
|
Reference in New Issue
Block a user