summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 19fa4e26..72f9170e 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -780,6 +780,9 @@ struct gpu_ops {
780 void (*xve_writel)(struct gk20a *g, u32 reg, u32 val); 780 void (*xve_writel)(struct gk20a *g, u32 reg, u32 val);
781 void (*disable_aspm)(struct gk20a *g); 781 void (*disable_aspm)(struct gk20a *g);
782 void (*reset_gpu)(struct gk20a *g); 782 void (*reset_gpu)(struct gk20a *g);
783#if defined(CONFIG_PCI_MSI)
784 void (*rearm_msi)(struct gk20a *g);
785#endif
783 } xve; 786 } xve;
784}; 787};
785 788
@@ -1037,6 +1040,11 @@ struct gk20a {
1037 1040
1038 /* Current warning temp in sfxp24.8 */ 1041 /* Current warning temp in sfxp24.8 */
1039 s32 curr_warn_temp; 1042 s32 curr_warn_temp;
1043
1044#if defined(CONFIG_PCI_MSI)
1045 /* Check if msi is enabled */
1046 bool msi_enabled;
1047#endif
1040}; 1048};
1041 1049
1042static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g) 1050static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g)