From b3e023a8055d4346b30924a03a99286926e76a15 Mon Sep 17 00:00:00 2001 From: Arto Merilainen Date: Mon, 21 Jul 2014 10:21:09 +0300 Subject: 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 Reviewed-on: http://git-master/r/360418 Reviewed-by: Lauri Peltonen Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') 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; #include "therm_gk20a.h" #include "platform_gk20a.h" #include "gm20b/acr_gm20b.h" +#include "cde_gk20a.h" extern struct platform_device tegra_gk20a_device; @@ -356,6 +357,8 @@ struct gk20a { struct gk20a_scale_profile *scale_profile; struct device_dma_parameters dma_parms; + + struct gk20a_cde_app cde_app; }; static inline unsigned long gk20a_get_gr_idle_timeout(struct gk20a *g) @@ -422,6 +425,7 @@ enum gk20a_dbg_categories { gpu_dbg_clk = BIT(7), /* gk20a clk */ gpu_dbg_map = BIT(8), /* mem mappings */ gpu_dbg_gpu_dbg = BIT(9), /* gpu debugger/profiler */ + gpu_dbg_cde = BIT(10), /* cde info messages */ gpu_dbg_mem = BIT(31), /* memory accesses, very verbose */ }; -- cgit v1.2.2