From 9eac0fd84921359ded2acdf920de5592322ad93c Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Fri, 29 Apr 2016 17:03:03 -0700 Subject: 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 Reviewed-on: http://git-master/r/1198594 (cherry picked from commit 420809cc31fcdddde32b8e59721676c67b45f592) Reviewed-on: http://git-master/r/1153671 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') 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 { gpu_dbg_ctxsw = BIT(12), /* ctxsw tracing */ gpu_dbg_sched = BIT(13), /* sched control tracing */ gpu_dbg_map_v = BIT(14), /* verbose mem mappings */ + gpu_dbg_sema = BIT(15), /* semaphore debugging */ + gpu_dbg_sema_v = BIT(16), /* verbose semaphore debugging */ gpu_dbg_mem = BIT(31), /* memory accesses, very verbose */ }; -- cgit v1.2.2