summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h
index 6b8b6718..a0a3ae33 100644
--- a/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2012-2014, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2012-2015, 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,
@@ -194,10 +194,18 @@ static inline u32 fb_mmu_debug_ctrl_debug_v(u32 r)
194{ 194{
195 return (r >> 16) & 0x1; 195 return (r >> 16) & 0x1;
196} 196}
197static inline u32 fb_mmu_debug_ctrl_debug_m(void)
198{
199 return 0x1 << 16;
200}
197static inline u32 fb_mmu_debug_ctrl_debug_enabled_v(void) 201static inline u32 fb_mmu_debug_ctrl_debug_enabled_v(void)
198{ 202{
199 return 0x00000001; 203 return 0x00000001;
200} 204}
205static inline u32 fb_mmu_debug_ctrl_debug_disabled_v(void)
206{
207 return 0x00000000;
208}
201static inline u32 fb_mmu_vpr_info_r(void) 209static inline u32 fb_mmu_vpr_info_r(void)
202{ 210{
203 return 0x00100cd0; 211 return 0x00100cd0;