Skip to content

Commit c6f4a3a

Browse files
committed
staging: vc04_services: vc-sm-cma: Log the kernel ID on import
The kernel_id that is used on the firmware side is logged on free, but not on import, making tying the two up difficult. Log the id on import Signed-off-by: Dave Stevenson <[email protected]>
1 parent bd5f8b9 commit c6f4a3a

File tree

1 file changed

+2
-2
lines changed
  • drivers/staging/vc04_services/vc-sm-cma

1 file changed

+2
-2
lines changed

drivers/staging/vc04_services/vc-sm-cma/vc_sm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,8 @@ vc_sm_cma_import_dmabuf_internal(struct vc_sm_privdata_t *private,
779779
memcpy(import.name, VC_SM_RESOURCE_NAME_DEFAULT,
780780
sizeof(VC_SM_RESOURCE_NAME_DEFAULT));
781781

782-
pr_debug("[%s]: attempt to import \"%s\" data - type %u, addr %pad, size %u.\n",
783-
__func__, import.name, import.type, &dma_addr, import.size);
782+
pr_debug("[%s]: attempt to import \"%s\" data - type %u, addr %pad, size %u, kernel_id %08x.\n",
783+
__func__, import.name, import.type, &dma_addr, import.size, import.kernel_id);
784784

785785
/* Allocate the videocore buffer. */
786786
status = vc_sm_cma_vchi_import(sm_state->sm_handle, &import, &result,

0 commit comments

Comments
 (0)