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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 05ed9270..b2ecade5 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -48,6 +48,7 @@ struct acr_gm20b;
48#include "therm_gk20a.h" 48#include "therm_gk20a.h"
49#include "platform_gk20a.h" 49#include "platform_gk20a.h"
50#include "gm20b/acr_gm20b.h" 50#include "gm20b/acr_gm20b.h"
51#include "cde_gk20a.h"
51 52
52extern struct platform_device tegra_gk20a_device; 53extern struct platform_device tegra_gk20a_device;
53 54
@@ -356,6 +357,8 @@ struct gk20a {
356 struct gk20a_scale_profile *scale_profile; 357 struct gk20a_scale_profile *scale_profile;
357 358
358 struct device_dma_parameters dma_parms; 359 struct device_dma_parameters dma_parms;
360
361 struct gk20a_cde_app cde_app;
359}; 362};
360 363
361static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g) 364static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g)
@@ -422,6 +425,7 @@ enum gk20a_dbg_categories {
422 gpu_dbg_clk = BIT(7), /* gk20a clk */ 425 gpu_dbg_clk = BIT(7), /* gk20a clk */
423 gpu_dbg_map = BIT(8), /* mem mappings */ 426 gpu_dbg_map = BIT(8), /* mem mappings */
424 gpu_dbg_gpu_dbg = BIT(9), /* gpu debugger/profiler */ 427 gpu_dbg_gpu_dbg = BIT(9), /* gpu debugger/profiler */
428 gpu_dbg_cde = BIT(10), /* cde info messages */
425 gpu_dbg_mem = BIT(31), /* memory accesses, very verbose */ 429 gpu_dbg_mem = BIT(31), /* memory accesses, very verbose */
426}; 430};
427 431