From bf0379997799e7f83514e974cd02aaaab85a4101 Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Mon, 8 Jan 2018 15:41:39 -0800 Subject: gpu: nvgpu: rename mutex to runlist_lock Rename mutex to runlist_lock in fifo_runlist_info_gk20a struct. This is good to have for code readability. Bug 2065990 Bug 2043838 Change-Id: I716685e3fad538458181d2a9fe592410401862b9 Signed-off-by: Seema Khowala Reviewed-on: https://git-master.nvidia.com/r/1662587 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index ea9f4528..c6d34945 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h @@ -91,7 +91,8 @@ struct fifo_runlist_info_gk20a { u32 reset_eng_bitmask; /* engines to be reset during recovery */ bool stopped; bool support_tsg; - struct nvgpu_mutex mutex; /* protect channel preempt and runlist update */ + /* protect ch/tsg/runlist preempt & runlist update */ + struct nvgpu_mutex runlist_lock; }; enum { -- cgit v1.2.2