diff options
author | Seema Khowala <seemaj@nvidia.com> | 2018-01-08 18:41:39 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-05-04 00:42:57 -0400 |
commit | bf0379997799e7f83514e974cd02aaaab85a4101 (patch) | |
tree | 218537b6b64305565a34a8956bf7940f9e64d6ac /drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | |
parent | ea926889657b255e753baf10a96c7c12facd831c (diff) |
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 <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1662587
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 { | |||
91 | u32 reset_eng_bitmask; /* engines to be reset during recovery */ | 91 | u32 reset_eng_bitmask; /* engines to be reset during recovery */ |
92 | bool stopped; | 92 | bool stopped; |
93 | bool support_tsg; | 93 | bool support_tsg; |
94 | struct nvgpu_mutex mutex; /* protect channel preempt and runlist update */ | 94 | /* protect ch/tsg/runlist preempt & runlist update */ |
95 | struct nvgpu_mutex runlist_lock; | ||
95 | }; | 96 | }; |
96 | 97 | ||
97 | enum { | 98 | enum { |