Browse Source

Merge "video: driver: fix to allocate enc VPSS buffers in CB7"

qctecmdr 4 years ago
parent
commit
5f1d6bd23a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver/vidc/src/msm_vidc_driver.c

+ 1 - 1
driver/vidc/src/msm_vidc_driver.c

@@ -842,6 +842,7 @@ u32 msm_vidc_get_buffer_region(struct msm_vidc_inst *inst,
 				region = MSM_VIDC_NON_SECURE_PIXEL;
 			break;
 		case MSM_VIDC_BUF_DPB:
+		case MSM_VIDC_BUF_VPSS:
 			region = MSM_VIDC_NON_SECURE_PIXEL;
 			break;
 		case MSM_VIDC_BUF_INPUT_META:
@@ -851,7 +852,6 @@ u32 msm_vidc_get_buffer_region(struct msm_vidc_inst *inst,
 		case MSM_VIDC_BUF_NON_COMV:
 		case MSM_VIDC_BUF_LINE:
 		case MSM_VIDC_BUF_PERSIST:
-		case MSM_VIDC_BUF_VPSS:
 			region = MSM_VIDC_NON_SECURE;
 			break;
 		default: