summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-10-28 21:03:55 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-11 15:44:15 -0500
commit78ad8a23ea896abde95f76b2ced0fe353cb4cb60 (patch)
treec52725895a49d1b8a1f71816eba90ada3316c23e /drivers/gpu/nvgpu/clk
parent865514be2dbd36b65c3ac128724036ea0ce63321 (diff)
gpu: nvgpu: Move gp106 HW headers
Move the gp106 HW headers to a new directory specially for them: include/nvgpu/hw/gp106 And change the code to include like so: #include <nvgpu/hw/gp106/hw_fb_gp106.h> This is part of the process to restructure the nvgpu driver. Bug 1799159 Change-Id: I76a4ff2e92021150ce65a8843bc12bb614a0e68a Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1280327 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk')
-rw-r--r--drivers/gpu/nvgpu/clk/clk_mclk.c13
-rw-r--r--drivers/gpu/nvgpu/clk/clk_vin.c16
2 files changed, 20 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_mclk.c b/drivers/gpu/nvgpu/clk/clk_mclk.c
index cf95f4c5..0f191b6f 100644
--- a/drivers/gpu/nvgpu/clk/clk_mclk.c
+++ b/drivers/gpu/nvgpu/clk/clk_mclk.c
@@ -11,17 +11,20 @@
11 * more details. 11 * more details.
12 */ 12 */
13 13
14#include "gk20a/gk20a.h"
15#include <linux/delay.h> 14#include <linux/delay.h>
16#include "pmuif/gpmuifseq.h" 15
17#include "gm206/bios_gm206.h" 16#include "gk20a/gk20a.h"
18#include "gk20a/pmu_gk20a.h" 17#include "gk20a/pmu_gk20a.h"
19 18
20#include <nvgpu/hw/gk20a/hw_pwr_gk20a.h> 19#include "pmuif/gpmuifseq.h"
21#include "gp106/hw_fb_gp106.h" 20
21#include "gm206/bios_gm206.h"
22 22
23#include "include/bios.h" 23#include "include/bios.h"
24 24
25#include <nvgpu/hw/gk20a/hw_pwr_gk20a.h>
26#include <nvgpu/hw/gp106/hw_fb_gp106.h>
27
25#define VREG_COUNT 24 28#define VREG_COUNT 24
26 29
27struct memory_link_training_pattern { 30struct memory_link_training_pattern {
diff --git a/drivers/gpu/nvgpu/clk/clk_vin.c b/drivers/gpu/nvgpu/clk/clk_vin.c
index 649eb234..e2a209ee 100644
--- a/drivers/gpu/nvgpu/clk/clk_vin.c
+++ b/drivers/gpu/nvgpu/clk/clk_vin.c
@@ -12,17 +12,25 @@
12 */ 12 */
13 13
14#include "gk20a/gk20a.h" 14#include "gk20a/gk20a.h"
15#include "clk.h" 15
16#include "clk_vin.h"
17#include "include/bios.h" 16#include "include/bios.h"
17
18#include "boardobj/boardobjgrp.h" 18#include "boardobj/boardobjgrp.h"
19#include "boardobj/boardobjgrp_e32.h" 19#include "boardobj/boardobjgrp_e32.h"
20
20#include "pmuif/gpmuifboardobj.h" 21#include "pmuif/gpmuifboardobj.h"
21#include "pmuif/gpmuifclk.h" 22#include "pmuif/gpmuifclk.h"
22#include "gm206/bios_gm206.h" 23
23#include "ctrl/ctrlvolt.h" 24#include "ctrl/ctrlvolt.h"
25
26#include "gm206/bios_gm206.h"
24#include "gk20a/pmu_gk20a.h" 27#include "gk20a/pmu_gk20a.h"
25#include "gp106/hw_fuse_gp106.h" 28
29#include "clk.h"
30#include "clk_vin.h"
31
32
33#include <nvgpu/hw/gp106/hw_fuse_gp106.h>
26 34
27static u32 devinit_get_vin_device_table(struct gk20a *g, 35static u32 devinit_get_vin_device_table(struct gk20a *g,
28 struct avfsvinobjs *pvinobjs); 36 struct avfsvinobjs *pvinobjs);