From 78f3d3ea05b50ec5a8906a58c85c60bf63e4763e Mon Sep 17 00:00:00 2001 From: Shashank Singh Date: Wed, 21 Nov 2018 14:16:49 +0530 Subject: [PATCH] gpu: nvgpu: add logging type for user events - For debugging events to user we need a separate logging type for QNX. This is required as earlier we were using nvhost logging APIs but now we are removing all dependency from nvhost. Linux too can use this type if required. Change-Id: I57a2a566be9208bb444cba72645eda06acc3d496 Signed-off-by: Shashank Singh Reviewed-on: https://git-master.nvidia.com/r/1955222 Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/log.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/nvgpu/include/nvgpu/log.h b/drivers/gpu/nvgpu/include/nvgpu/log.h index 354830159..81d31726c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/log.h +++ b/drivers/gpu/nvgpu/include/nvgpu/log.h @@ -80,6 +80,7 @@ void __nvgpu_log_dbg(struct gk20a *g, u64 log_mask, #define gpu_dbg_vidmem BIT(24) /* VIDMEM tracing. */ #define gpu_dbg_nvlink BIT(25) /* nvlink Operation tracing. */ #define gpu_dbg_clk_arb BIT(26) /* Clk arbiter debugging. */ +#define gpu_dbg_event BIT(27) /* Events to User debugging. */ #define gpu_dbg_mem BIT(31) /* memory accesses; very verbose. */ /**