summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-06-20 15:26:50 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-21 20:34:44 -0400
commit2ffbdc50d884215ba043e8afd3c3bcbefd1e66f8 (patch)
tree02b539fa7d03466512eee5c187ce893f61a275a9 /drivers/gpu/nvgpu/common
parent581e8b4ec86b13706e4423609a543fc2510b4ffe (diff)
gpu: nvgpu: Remove some #includes from gk20a.h
linux/version.h and linux/sched.h are not used by gk20a.h, so remove them. acr_gm20b.h and bus_gk20a.h are not needed by gk20a.h, so remove them. pmu_gp106.c relies on implicit #include of acr_gm20b.h by gk20a.h, so add that as an explicit #include. Remove #include of iomap.h. platform_gk20a_tegra.c legacy rail gating code still relies on access to that header, so add it as explicit include. JIRA NVGPU-38 Change-Id: I1cf57b9d3a7ee5e3cad298341107e317b4b8662f Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1505926 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c
index b0f6ee7d..ec14c08e 100644
--- a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c
+++ b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c
@@ -54,6 +54,8 @@
54 54
55#include "clk.h" 55#include "clk.h"
56 56
57#include "../../../arch/arm/mach-tegra/iomap.h"
58
57#define TEGRA_GK20A_BW_PER_FREQ 32 59#define TEGRA_GK20A_BW_PER_FREQ 32
58#define TEGRA_GM20B_BW_PER_FREQ 64 60#define TEGRA_GM20B_BW_PER_FREQ 64
59#define TEGRA_DDR3_BW_PER_FREQ 16 61#define TEGRA_DDR3_BW_PER_FREQ 16