From 7d16f7e52c0f8ce8604e992a617a3f98545fcf07 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 23 May 2017 18:01:43 +0530 Subject: gpu: nvgpu: use fuse APIs from Remove includes and include header to remove direct dependency on platform specific header Use specific APIs like below to read/write fuses nvgpu_tegra_fuse_write_bypass() nvgpu_tegra_fuse_write_opt_gpu_tpc0_disable() Remove old code which was compiled for kernel versions less than 4.4 since we support only k4.4 and greater versions now Jira NVGPU-75 Change-Id: Iddd8e1a8da7effbce2aff217e8e25f7de04962d6 Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/1497518 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani --- drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/gpu/nvgpu/tegra/linux') diff --git a/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c index f55ea6d2..3d5ea698 100644 --- a/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c @@ -32,9 +32,6 @@ #if defined(CONFIG_COMMON_CLK) #include #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) -#include -#endif #ifdef CONFIG_TEGRA_BWMGR #include #endif -- cgit v1.2.2