summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/platform_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/platform_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/os/linux/platform_gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/platform_gk20a.h b/drivers/gpu/nvgpu/os/linux/platform_gk20a.h
index f3e80b8c..b5beeefe 100644
--- a/drivers/gpu/nvgpu/os/linux/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/os/linux/platform_gk20a.h
@@ -274,6 +274,9 @@ struct gk20a_platform {
274 274
275 /* scaling rate */ 275 /* scaling rate */
276 unsigned long cached_rate; 276 unsigned long cached_rate;
277
278 /* synchronized access to platform->clk_get_freqs */
279 struct nvgpu_mutex clk_get_freq_lock;
277}; 280};
278 281
279static inline struct gk20a_platform *gk20a_get_platform( 282static inline struct gk20a_platform *gk20a_get_platform(