summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-04-29 20:03:03 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-08-30 13:04:30 -0400
commit9eac0fd84921359ded2acdf920de5592322ad93c (patch)
tree5d250d475a2dc4629df39cee285a4429660c87f1 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent0e69c6707b974726459759464bc7876afe894740 (diff)
gpu: nvgpu: Add debugging to the semaphore code
Add GPU debugging to the semaphore code. Bug 1732449 JIRA DNVGPU-12 Change-Id: I98466570cf8d234b49a7f85d88c834648ddaaaee Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1198594 (cherry picked from commit 420809cc31fcdddde32b8e59721676c67b45f592) Reviewed-on: http://git-master/r/1153671 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 77a84e59..c255f8f8 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -953,6 +953,8 @@ enum gk20a_dbg_categories {
953 gpu_dbg_ctxsw = BIT(12), /* ctxsw tracing */ 953 gpu_dbg_ctxsw = BIT(12), /* ctxsw tracing */
954 gpu_dbg_sched = BIT(13), /* sched control tracing */ 954 gpu_dbg_sched = BIT(13), /* sched control tracing */
955 gpu_dbg_map_v = BIT(14), /* verbose mem mappings */ 955 gpu_dbg_map_v = BIT(14), /* verbose mem mappings */
956 gpu_dbg_sema = BIT(15), /* semaphore debugging */
957 gpu_dbg_sema_v = BIT(16), /* verbose semaphore debugging */
956 gpu_dbg_mem = BIT(31), /* memory accesses, very verbose */ 958 gpu_dbg_mem = BIT(31), /* memory accesses, very verbose */
957}; 959};
958 960