From 032860d8de01ac3a3357a4758e7ee81bd418c48f Mon Sep 17 00:00:00 2001 From: Debarshi Dutta Date: Fri, 21 Sep 2018 12:18:46 +0530 Subject: gpu: nvgpu: move header location of gk20a.h change the path of gk20a.h to for files in the following directories. gp106/ gv100/ Jira NVGPU-597 Change-Id: I098c12c34cdce764e6fca4ea1d16c5f8dee81026 Signed-off-by: Debarshi Dutta Reviewed-on: https://git-master.nvidia.com/r/1836707 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp106/acr_gp106.c | 3 +-- drivers/gpu/nvgpu/gp106/bios_gp106.c | 2 +- drivers/gpu/nvgpu/gp106/clk_arb_gp106.c | 2 +- drivers/gpu/nvgpu/gp106/clk_gp106.c | 2 +- drivers/gpu/nvgpu/gp106/fifo_gp106.c | 6 +++--- drivers/gpu/nvgpu/gp106/flcn_gp106.c | 3 ++- drivers/gpu/nvgpu/gp106/gr_ctx_gp106.c | 5 +++-- drivers/gpu/nvgpu/gp106/gr_gp106.c | 2 +- drivers/gpu/nvgpu/gp106/hal_gp106.c | 2 +- drivers/gpu/nvgpu/gp106/mclk_gp106.c | 2 +- drivers/gpu/nvgpu/gp106/pmu_gp106.c | 2 +- drivers/gpu/nvgpu/gp106/regops_gp106.c | 3 ++- drivers/gpu/nvgpu/gp106/sec2_gp106.c | 2 +- 13 files changed, 19 insertions(+), 17 deletions(-) (limited to 'drivers/gpu/nvgpu/gp106') diff --git a/drivers/gpu/nvgpu/gp106/acr_gp106.c b/drivers/gpu/nvgpu/gp106/acr_gp106.c index b1150e29..2a4ee6d5 100644 --- a/drivers/gpu/nvgpu/gp106/acr_gp106.c +++ b/drivers/gpu/nvgpu/gp106/acr_gp106.c @@ -29,8 +29,7 @@ #include #include #include - -#include "gk20a/gk20a.h" +#include #include "gm20b/mm_gm20b.h" #include "gm20b/acr_gm20b.h" diff --git a/drivers/gpu/nvgpu/gp106/bios_gp106.c b/drivers/gpu/nvgpu/gp106/bios_gp106.c index 2c212ec0..f0db87ca 100644 --- a/drivers/gpu/nvgpu/gp106/bios_gp106.c +++ b/drivers/gpu/nvgpu/gp106/bios_gp106.c @@ -27,8 +27,8 @@ #include #include #include +#include -#include "gk20a/gk20a.h" #include "gm20b/fifo_gm20b.h" #include "bios_gp106.h" #include "gp106/mclk_gp106.h" diff --git a/drivers/gpu/nvgpu/gp106/clk_arb_gp106.c b/drivers/gpu/nvgpu/gp106/clk_arb_gp106.c index 87fc6a1f..ce0c03b9 100644 --- a/drivers/gpu/nvgpu/gp106/clk_arb_gp106.c +++ b/drivers/gpu/nvgpu/gp106/clk_arb_gp106.c @@ -20,7 +20,7 @@ * DEALINGS IN THE SOFTWARE. */ -#include "gk20a/gk20a.h" +#include #include #include "clk_arb_gp106.h" diff --git a/drivers/gpu/nvgpu/gp106/clk_gp106.c b/drivers/gpu/nvgpu/gp106/clk_gp106.c index e892ceda..28aa999f 100644 --- a/drivers/gpu/nvgpu/gp106/clk_gp106.c +++ b/drivers/gpu/nvgpu/gp106/clk_gp106.c @@ -28,9 +28,9 @@ #include #include #include +#include #include "clk/clk.h" -#include "gk20a/gk20a.h" #include "gp106/mclk_gp106.h" #include "clk_gp106.h" diff --git a/drivers/gpu/nvgpu/gp106/fifo_gp106.c b/drivers/gpu/nvgpu/gp106/fifo_gp106.c index 8202426e..841238a9 100644 --- a/drivers/gpu/nvgpu/gp106/fifo_gp106.c +++ b/drivers/gpu/nvgpu/gp106/fifo_gp106.c @@ -20,7 +20,9 @@ * DEALINGS IN THE SOFTWARE. */ -#include "gk20a/gk20a.h" +#include +#include + #include "gp10b/fifo_gp10b.h" #include "fifo_gp106.h" @@ -28,8 +30,6 @@ #include #include -#include - u32 gp106_fifo_get_num_fifos(struct gk20a *g) { return ccsr_channel__size_1_v(); diff --git a/drivers/gpu/nvgpu/gp106/flcn_gp106.c b/drivers/gpu/nvgpu/gp106/flcn_gp106.c index 8f649c26..94266d52 100644 --- a/drivers/gpu/nvgpu/gp106/flcn_gp106.c +++ b/drivers/gpu/nvgpu/gp106/flcn_gp106.c @@ -19,7 +19,8 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ -#include "gk20a/gk20a.h" +#include + #include "gk20a/flcn_gk20a.h" #include "gp106/sec2_gp106.h" #include "gp106/flcn_gp106.h" diff --git a/drivers/gpu/nvgpu/gp106/gr_ctx_gp106.c b/drivers/gpu/nvgpu/gp106/gr_ctx_gp106.c index 5dc0f591..ab381239 100644 --- a/drivers/gpu/nvgpu/gp106/gr_ctx_gp106.c +++ b/drivers/gpu/nvgpu/gp106/gr_ctx_gp106.c @@ -1,7 +1,7 @@ /* * GP106 Graphics Context * - * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -22,7 +22,8 @@ * DEALINGS IN THE SOFTWARE. */ -#include "gk20a/gk20a.h" +#include + #include "gr_ctx_gp106.h" int gr_gp106_get_netlist_name(struct gk20a *g, int index, char *name) diff --git a/drivers/gpu/nvgpu/gp106/gr_gp106.c b/drivers/gpu/nvgpu/gp106/gr_gp106.c index a3fd8912..2de0ae87 100644 --- a/drivers/gpu/nvgpu/gp106/gr_gp106.c +++ b/drivers/gpu/nvgpu/gp106/gr_gp106.c @@ -23,8 +23,8 @@ */ #include +#include -#include "gk20a/gk20a.h" #include "gk20a/gr_gk20a.h" #include "gm20b/gr_gm20b.h" #include "gp10b/gr_gp10b.h" diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index e8ad68c2..c0f2fd57 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c @@ -43,7 +43,6 @@ #include "common/mc/mc_gm20b.h" #include "common/mc/mc_gp10b.h" -#include "gk20a/gk20a.h" #include "gk20a/fifo_gk20a.h" #include "gk20a/fecs_trace_gk20a.h" #include "gk20a/mm_gk20a.h" @@ -95,6 +94,7 @@ #include #include #include +#include #include #include diff --git a/drivers/gpu/nvgpu/gp106/mclk_gp106.c b/drivers/gpu/nvgpu/gp106/mclk_gp106.c index b4f553ec..f2aa7c47 100644 --- a/drivers/gpu/nvgpu/gp106/mclk_gp106.c +++ b/drivers/gpu/nvgpu/gp106/mclk_gp106.c @@ -26,8 +26,8 @@ #include #include #include +#include -#include "gk20a/gk20a.h" #ifdef CONFIG_DEBUG_FS #include #include "os/linux/os_linux.h" diff --git a/drivers/gpu/nvgpu/gp106/pmu_gp106.c b/drivers/gpu/nvgpu/gp106/pmu_gp106.c index 3e4a7390..a95f05f0 100644 --- a/drivers/gpu/nvgpu/gp106/pmu_gp106.c +++ b/drivers/gpu/nvgpu/gp106/pmu_gp106.c @@ -24,8 +24,8 @@ #include #include #include +#include -#include "gk20a/gk20a.h" #include "gk20a/pmu_gk20a.h" #include "gm20b/acr_gm20b.h" diff --git a/drivers/gpu/nvgpu/gp106/regops_gp106.c b/drivers/gpu/nvgpu/gp106/regops_gp106.c index 581b280d..30310486 100644 --- a/drivers/gpu/nvgpu/gp106/regops_gp106.c +++ b/drivers/gpu/nvgpu/gp106/regops_gp106.c @@ -22,7 +22,8 @@ * DEALINGS IN THE SOFTWARE. */ -#include "gk20a/gk20a.h" +#include + #include "gk20a/regops_gk20a.h" #include "regops_gp106.h" diff --git a/drivers/gpu/nvgpu/gp106/sec2_gp106.c b/drivers/gpu/nvgpu/gp106/sec2_gp106.c index 40823b69..37c9d4ac 100644 --- a/drivers/gpu/nvgpu/gp106/sec2_gp106.c +++ b/drivers/gpu/nvgpu/gp106/sec2_gp106.c @@ -25,8 +25,8 @@ #include #include #include +#include -#include "gk20a/gk20a.h" #include "sec2_gp106.h" #include -- cgit v1.2.2