summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/enabled.h5
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/gk20a.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/enabled.h b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
index fc7bab90..77b54ab9 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/enabled.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/enabled.h
@@ -181,10 +181,13 @@ struct gk20a;
181/* PLATFORM_ATOMIC support */ 181/* PLATFORM_ATOMIC support */
182#define NVGPU_SUPPORT_PLATFORM_ATOMIC 71 182#define NVGPU_SUPPORT_PLATFORM_ATOMIC 71
183 183
184/* NVGPU_GPU_IOCTL_SET_MMU_DEBUG_MODE is available */
185#define NVGPU_SUPPORT_SET_CTX_MMU_DEBUG_MODE 72
186
184/* 187/*
185 * Must be greater than the largest bit offset in the above list. 188 * Must be greater than the largest bit offset in the above list.
186 */ 189 */
187#define NVGPU_MAX_ENABLED_BITS 72 190#define NVGPU_MAX_ENABLED_BITS 73U
188 191
189/** 192/**
190 * nvgpu_is_enabled - Check if the passed flag is enabled. 193 * nvgpu_is_enabled - Check if the passed flag is enabled.
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
index a0af0c5c..f3a83602 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
@@ -529,6 +529,8 @@ struct gpu_ops {
529 u32 num_ppcs, u32 reg_list_ppc_count, 529 u32 num_ppcs, u32 reg_list_ppc_count,
530 u32 *__offset_in_segment); 530 u32 *__offset_in_segment);
531 void (*set_debug_mode)(struct gk20a *g, bool enable); 531 void (*set_debug_mode)(struct gk20a *g, bool enable);
532 int (*set_mmu_debug_mode)(struct gk20a *g,
533 struct channel_gk20a *ch, bool enable);
532 } gr; 534 } gr;
533 struct { 535 struct {
534 void (*init_hw)(struct gk20a *g); 536 void (*init_hw)(struct gk20a *g);