From bccb49d8fb208698603d4fd048f9c305faf5906a Mon Sep 17 00:00:00 2001 From: Aparna Das Date: Tue, 22 Jan 2019 11:40:28 -0800 Subject: [PATCH] gpu: nvgpu: add dbg mask bit for vserver Jira GVSCI-30 Change-Id: I083c301131c7dc37ed272b963ad3d9818e576205 Signed-off-by: Aparna Das Reviewed-on: https://git-master.nvidia.com/r/2001192 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman GVS: Gerrit_Virtual_Submit Reviewed-by: Nirav Patel Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/log.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/include/nvgpu/log.h b/drivers/gpu/nvgpu/include/nvgpu/log.h index 6149b1dbe..dbf45e4a6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/log.h +++ b/drivers/gpu/nvgpu/include/nvgpu/log.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -81,6 +81,7 @@ void __nvgpu_log_dbg(struct gk20a *g, u64 log_mask, #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_vsrv BIT(28) /* server debugging. */ #define gpu_dbg_mem BIT(31) /* memory accesses; very verbose. */ /**