Skip to content

Commit

Permalink
changed uint64_t log format to use PRIx64 macro
Browse files Browse the repository at this point in the history
  • Loading branch information
elFarto committed Mar 17, 2023
1 parent 0a2484e commit 2f1b8e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vabackend.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <fcntl.h>
#include <sys/param.h>
#include <sys/ioctl.h>
#include <inttypes.h>

#include <va/va_backend.h>
#include <va/va_drmcommon.h>
Expand Down Expand Up @@ -2062,7 +2063,10 @@ static VAStatus nvExportSurfaceHandle(

drv->backend->fillExportDescriptor(drv, surface, ptr);

LOG("Exporting with %d %d %d %d %llx %d %d %llx", ptr->width, ptr->height, ptr->layers[0].offset[0], ptr->layers[0].pitch[0], (unsigned long long) ptr->objects[0].drm_format_modifier, ptr->layers[1].offset[0], ptr->layers[1].pitch[0], (unsigned long long) ptr->objects[1].drm_format_modifier);
LOG("Exporting with %d %d %d %d %" PRIx64 " %d %d %" PRIx64, ptr->width, ptr->height, ptr->layers[0].offset[0],
ptr->layers[0].pitch[0], ptr->objects[0].drm_format_modifier,
ptr->layers[1].offset[0], ptr->layers[1].pitch[0],
ptr->objects[1].drm_format_modifier);

CHECK_CUDA_RESULT_RETURN(cu->cuCtxPopCurrent(NULL), VA_STATUS_ERROR_OPERATION_FAILED);

Expand Down

0 comments on commit 2f1b8e7

Please sign in to comment.