summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2014-07-21 03:21:09 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:10:41 -0400
commitb3e023a8055d4346b30924a03a99286926e76a15 (patch)
tree8e798c4d6ad8335616df558ec820fb71608c2980 /drivers/gpu/nvgpu/gk20a/gk20a.h
parentc60a300c4ac903dd7e0b53f2542a081fa4c334cb (diff)
gpu: nvgpu: CDE support
This patch adds support for executing a precompiled GPU program to allow exporting GPU buffers to other graphics units that have color decompression engine (CDE) support. Bug 1409151 Change-Id: Id0c930923f2449b85a6555de71d7ec93eed238ae Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/360418 Reviewed-by: Lauri Peltonen <lpeltonen@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
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