diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-01-12 21:18:49 -0500 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2017-02-13 21:14:34 -0500 |
commit | b9194a1c3300e505d22fba97136dd305300397f0 (patch) | |
tree | c9c5366fb8dbca742200e2c8f85650ef8cc46859 /drivers/gpu/nvgpu/gm206 | |
parent | ed35f0a4042074463bf52ba04583fde680d1d389 (diff) |
gpu: nvgpu: Organize nvgpu_common.[ch]
Move nvgpu_common.c to drivers/gpu/nvgpu/common since it is a common
C file to all drivers.
Similarly move nvgpu_common.h to drivers/gpu/nvgpu/include/nvgpu since
this follows the new include guidelines.
Bug 1799159
Change-Id: I00ebed289973b27704c2cff073526e36505bf699
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1284612
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm206')
-rw-r--r-- | drivers/gpu/nvgpu/gm206/acr_gm206.c | 5 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gm206/bios_gm206.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gm206/acr_gm206.c b/drivers/gpu/nvgpu/gm206/acr_gm206.c index 523f0c33..238114e3 100644 --- a/drivers/gpu/nvgpu/gm206/acr_gm206.c +++ b/drivers/gpu/nvgpu/gm206/acr_gm206.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -25,7 +25,8 @@ | |||
25 | 25 | ||
26 | #include "acr.h" | 26 | #include "acr.h" |
27 | #include "acr_gm206.h" | 27 | #include "acr_gm206.h" |
28 | #include "nvgpu_common.h" | 28 | |
29 | #include <nvgpu/nvgpu_common.h> | ||
29 | 30 | ||
30 | #include <nvgpu/hw/gm206/hw_pwr_gm206.h> | 31 | #include <nvgpu/hw/gm206/hw_pwr_gm206.h> |
31 | 32 | ||
diff --git a/drivers/gpu/nvgpu/gm206/bios_gm206.c b/drivers/gpu/nvgpu/gm206/bios_gm206.c index fa736da5..a5551f42 100644 --- a/drivers/gpu/nvgpu/gm206/bios_gm206.c +++ b/drivers/gpu/nvgpu/gm206/bios_gm206.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -20,7 +20,8 @@ | |||
20 | #include "gm20b/fifo_gm20b.h" | 20 | #include "gm20b/fifo_gm20b.h" |
21 | #include "fifo_gm206.h" | 21 | #include "fifo_gm206.h" |
22 | #include "bios_gm206.h" | 22 | #include "bios_gm206.h" |
23 | #include "nvgpu_common.h" | 23 | |
24 | #include <nvgpu/nvgpu_common.h> | ||
24 | 25 | ||
25 | #include <nvgpu/hw/gm206/hw_pwr_gm206.h> | 26 | #include <nvgpu/hw/gm206/hw_pwr_gm206.h> |
26 | #include <nvgpu/hw/gm206/hw_mc_gm206.h> | 27 | #include <nvgpu/hw/gm206/hw_mc_gm206.h> |