From 105dbab24e4cef34f3fbfb0b585a110b0e64f1aa Mon Sep 17 00:00:00 2001 From: shashank singh Date: Thu, 23 Jan 2020 11:14:45 +0530 Subject: [PATCH] gpu: nvgpu: update description for stall, non-stall counters Update description for stall and non-stall counters which is now having values 1 on entering the handler and 0 on exiting it. It's corresponding to https://git-master.nvidia.com/r/c/linux-nvgpu/+/2247819/ change. Change-Id: I0f94ac68461994557a024c5b2597227b39cfcc69 Signed-off-by: shashank singh Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2283988 Reviewed-by: Deepak Nibade Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/include/nvgpu/mc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/nvgpu/include/nvgpu/mc.h b/drivers/gpu/nvgpu/include/nvgpu/mc.h index 4292bbcc4..50f6423e0 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/mc.h +++ b/drivers/gpu/nvgpu/include/nvgpu/mc.h @@ -210,8 +210,8 @@ struct nvgpu_mc { struct nvgpu_cond sw_irq_stall_last_handled_cond; /** - * Stalling interrupt status counter - updated on handling of the - * stalling interrupt. + * Stalling interrupt status counter - Set to 1 on entering stalling + * interrupt handler and reset to 0 on exit. */ nvgpu_atomic_t sw_irq_stall_pending; @@ -223,8 +223,8 @@ struct nvgpu_mc { struct nvgpu_cond sw_irq_nonstall_last_handled_cond; /** - * Non-stalling interrupt status counter - updated on handling of the - * non-stalling interrupt. + * Non-stalling interrupt status counter - Set to 1 on entering + * non-stalling interrupt handler and reset to 0 on exit. */ nvgpu_atomic_t sw_irq_nonstall_pending;