summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/sync_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/sync_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/sync_gk20a.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/sync_gk20a.c
index 8740f0e2..e01c0e9a 100644
--- a/drivers/gpu/nvgpu/gk20a/sync_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/sync_gk20a.c
@@ -47,8 +47,9 @@ struct gk20a_sync_pt {
47 ktime_t dep_timestamp; 47 ktime_t dep_timestamp;
48 48
49 /* 49 /*
50 * A spinlock is necessary since there are times when this lock 50 * Use a spin lock here since it will have better performance
51 * will be acquired in interrupt context. 51 * than a mutex - there should be very little contention on this
52 * lock.
52 */ 53 */
53 spinlock_t lock; 54 spinlock_t lock;
54}; 55};