From 8d6f5a7529d3c5eb85d249da8aa58785d1ebe0e0 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Thu, 13 Nov 2014 14:15:28 +0200 Subject: gpu: nvgpu: cde: report use counts to debugfs Create debugfs nodes for ctx_count, ctx_usecount and ctx_cont_top. Change-Id: I1360853b2650d37a96c8adf76368d48d9b457909 Signed-off-by: Konsta Holtta Reviewed-on: http://git-master/r/602860 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/cde_gk20a.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h index b160162c..66c18d5a 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h @@ -272,9 +272,9 @@ struct gk20a_cde_app { struct list_head free_contexts; struct list_head used_contexts; - int ctx_count; - int ctx_usecount; - int ctx_count_top; + unsigned int ctx_count; + unsigned int ctx_usecount; + unsigned int ctx_count_top; u32 firmware_version; -- cgit v1.2.2