summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hw_therm_gm20b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_therm_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_therm_gm20b.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_therm_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_therm_gm20b.h
index a0d8ffc9..e8a5b6a5 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_therm_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_therm_gm20b.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -186,6 +186,14 @@ static inline u32 therm_gate_ctrl_eng_idle_filt_mant_m(void)
186{ 186{
187 return 0x7 << 13; 187 return 0x7 << 13;
188} 188}
189static inline u32 therm_gate_ctrl_eng_delay_before_f(u32 v)
190{
191 return (v & 0xf) << 16;
192}
193static inline u32 therm_gate_ctrl_eng_delay_before_m(void)
194{
195 return 0xf << 16;
196}
189static inline u32 therm_gate_ctrl_eng_delay_after_f(u32 v) 197static inline u32 therm_gate_ctrl_eng_delay_after_f(u32 v)
190{ 198{
191 return (v & 0xf) << 20; 199 return (v & 0xf) << 20;