From c37c9baae65bcf0ef08a319488c09f57131026cc Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 7 Sep 2017 10:43:47 -0700 Subject: gpu: nvgpu: Move CDE code to Linux module CDE is only used in Linux platforms, and the code is highly dependent on Linux APIs. Move the common CDE code to Linux module and leave only the chip specific parts to HAL. Change-Id: I507fe7eceaf7607303dfdddcf438449a5f582ea7 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1554755 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/cde_gm20b.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gm20b/cde_gm20b.h') diff --git a/drivers/gpu/nvgpu/gm20b/cde_gm20b.h b/drivers/gpu/nvgpu/gm20b/cde_gm20b.h index f2ea20a0..0ea423ad 100644 --- a/drivers/gpu/nvgpu/gm20b/cde_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/cde_gm20b.h @@ -20,6 +20,7 @@ struct gk20a; void gm20b_cde_get_program_numbers(struct gk20a *g, u32 block_height_log2, + u32 shader_parameter, int *hprog_out, int *vprog_out); #endif -- cgit v1.2.2