Sfoglia il codice sorgente

video: driver: print buffer region

Print buffer region and secutity information.

Change-Id: I9fae1b193b5e416cb291109c25fe025c34f50f34
Signed-off-by: Maheshwar Ajja <[email protected]>
Maheshwar Ajja 4 anni fa
parent
commit
ddcadaf055
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      driver/vidc/src/msm_vidc_memory.c

+ 3 - 3
driver/vidc/src/msm_vidc_memory.c

@@ -196,7 +196,6 @@ int msm_vidc_memory_alloc(struct msm_vidc_core *core, struct msm_vidc_alloc *mem
 
 	size = ALIGN(mem->size, SZ_4K);
 
-/* All dma-heap allocations are cached by default. */
 	if (mem->secure) {
 		switch (mem->region) {
 		case MSM_VIDC_SECURE_PIXEL:
@@ -234,8 +233,9 @@ int msm_vidc_memory_alloc(struct msm_vidc_core *core, struct msm_vidc_alloc *mem
 	}
 
 	d_vpr_h(
-		"%s: dmabuf = %pK, size = %d, kvaddr = %pK, buffer_type = %#x\n",
-		__func__, mem->dmabuf, mem->size, mem->kvaddr, mem->type);
+		"%s: dmabuf = %pK, size = %d, kvaddr = %pK, buffer_type = %#x secure %d region %d\n",
+		__func__, mem->dmabuf, mem->size, mem->kvaddr, mem->type,
+		mem->secure, mem->region);
 	return 0;
 
 error: