diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h index 3750de06..ed114e32 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_mc_gm20b.h | |||
@@ -262,4 +262,20 @@ static inline u32 mc_enable_pb_sel_f(u32 v, u32 i) | |||
262 | { | 262 | { |
263 | return (v & 0x1) << (0 + i*1); | 263 | return (v & 0x1) << (0 + i*1); |
264 | } | 264 | } |
265 | static inline u32 mc_elpg_enable_r(void) | ||
266 | { | ||
267 | return 0x0000020c; | ||
268 | } | ||
269 | static inline u32 mc_elpg_enable_xbar_enabled_f(void) | ||
270 | { | ||
271 | return 0x4; | ||
272 | } | ||
273 | static inline u32 mc_elpg_enable_pfb_enabled_f(void) | ||
274 | { | ||
275 | return 0x100000; | ||
276 | } | ||
277 | static inline u32 mc_elpg_enable_hub_enabled_f(void) | ||
278 | { | ||
279 | return 0x20000000; | ||
280 | } | ||
265 | #endif | 281 | #endif |