diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/fb/fb_gm20b.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gm20b.c b/drivers/gpu/nvgpu/common/fb/fb_gm20b.c index 36ec21b1..5e78f636 100644 --- a/drivers/gpu/nvgpu/common/fb/fb_gm20b.c +++ b/drivers/gpu/nvgpu/common/fb/fb_gm20b.c | |||
@@ -202,9 +202,9 @@ void gm20b_fb_read_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf) | |||
202 | 202 | ||
203 | bool gm20b_fb_debug_mode_enabled(struct gk20a *g) | 203 | bool gm20b_fb_debug_mode_enabled(struct gk20a *g) |
204 | { | 204 | { |
205 | u32 debug_ctrl = gk20a_readl(g, gr_gpcs_pri_mmu_debug_ctrl_r()); | 205 | u32 debug_ctrl = gk20a_readl(g, fb_mmu_debug_ctrl_r()); |
206 | return gr_gpcs_pri_mmu_debug_ctrl_debug_v(debug_ctrl) == | 206 | return fb_mmu_debug_ctrl_debug_v(debug_ctrl) == |
207 | gr_gpcs_pri_mmu_debug_ctrl_debug_enabled_v(); | 207 | fb_mmu_debug_ctrl_debug_enabled_v(); |
208 | } | 208 | } |
209 | 209 | ||
210 | void gm20b_fb_set_debug_mode(struct gk20a *g, bool enable) | 210 | void gm20b_fb_set_debug_mode(struct gk20a *g, bool enable) |