diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-02-06 06:19:24 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-10 12:43:46 -0500 |
commit | 3885fe099af0bda910ac8ee64f2cd1a5bbea3ab0 (patch) | |
tree | 602ead38e7631ce81db7e600802fdac0aba49974 /drivers/gpu/nvgpu/boardobj | |
parent | 8da422ac577338ecb2d4114e1d8d5f36cf4cab78 (diff) |
gpu: nvgpu: move pmuif/* to drivers/gpu/nvgpu/include/nvgpu
Moved pmuif/* headers to drivers/gpu/nvgpu/include/nvgpu folder
to support cross platform feature implementation.
Made changes to files which accessed include pmuif/* to reflect
pmuif/* movement changes.
Deleted includes of gk20a.h/pmu_gk20a.h from pmuif/*.h files.
Jira NVGPU-19
Change-Id: Iace4e107c24bdaff08a407eae3b147959173e485
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1299823
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj')
-rw-r--r-- | drivers/gpu/nvgpu/boardobj/boardobj.c | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/boardobj/boardobj.h | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/boardobj/boardobjgrp.h | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c | 3 |
5 files changed, 6 insertions, 11 deletions
diff --git a/drivers/gpu/nvgpu/boardobj/boardobj.c b/drivers/gpu/nvgpu/boardobj/boardobj.c index 6cd3e2b1..0fa8f6b6 100644 --- a/drivers/gpu/nvgpu/boardobj/boardobj.c +++ b/drivers/gpu/nvgpu/boardobj/boardobj.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-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, |
@@ -17,8 +17,6 @@ | |||
17 | #include <linux/uaccess.h> | 17 | #include <linux/uaccess.h> |
18 | #include "boardobj.h" | 18 | #include "boardobj.h" |
19 | #include "ctrl/ctrlboardobj.h" | 19 | #include "ctrl/ctrlboardobj.h" |
20 | #include "pmuif/gpmuifboardobj.h" | ||
21 | |||
22 | 20 | ||
23 | u32 boardobj_construct_super(struct gk20a *g, struct boardobj **ppboardobj, | 21 | u32 boardobj_construct_super(struct gk20a *g, struct boardobj **ppboardobj, |
24 | u16 size, void *args) | 22 | u16 size, void *args) |
diff --git a/drivers/gpu/nvgpu/boardobj/boardobj.h b/drivers/gpu/nvgpu/boardobj/boardobj.h index 3d437a82..138b3acc 100644 --- a/drivers/gpu/nvgpu/boardobj/boardobj.h +++ b/drivers/gpu/nvgpu/boardobj/boardobj.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-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,7 @@ struct boardobj; | |||
20 | #include "gk20a/gk20a.h" | 20 | #include "gk20a/gk20a.h" |
21 | #include "gk20a/pmu_gk20a.h" | 21 | #include "gk20a/pmu_gk20a.h" |
22 | #include "ctrl/ctrlboardobj.h" | 22 | #include "ctrl/ctrlboardobj.h" |
23 | #include "pmuif/gpmuifboardobj.h" | 23 | #include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h> |
24 | 24 | ||
25 | /* | 25 | /* |
26 | * check whether the specified BOARDOBJ object implements the queried | 26 | * check whether the specified BOARDOBJ object implements the queried |
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp.h b/drivers/gpu/nvgpu/boardobj/boardobjgrp.h index 303c9288..f41ae48e 100644 --- a/drivers/gpu/nvgpu/boardobj/boardobjgrp.h +++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-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, |
@@ -23,7 +23,6 @@ struct boardobjgrp; | |||
23 | #include "ctrl/ctrlboardobj.h" | 23 | #include "ctrl/ctrlboardobj.h" |
24 | #include "boardobj.h" | 24 | #include "boardobj.h" |
25 | #include "boardobjgrpmask.h" | 25 | #include "boardobjgrpmask.h" |
26 | #include "pmuif/gpmuifboardobj.h" | ||
27 | 26 | ||
28 | /* | 27 | /* |
29 | * Board Object Group destructor. | 28 | * Board Object Group destructor. |
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c index a56dca9b..2510f636 100644 --- a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c +++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-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, |
@@ -15,7 +15,6 @@ | |||
15 | #include "boardobj.h" | 15 | #include "boardobj.h" |
16 | #include "boardobjgrp_e255.h" | 16 | #include "boardobjgrp_e255.h" |
17 | #include "ctrl/ctrlboardobj.h" | 17 | #include "ctrl/ctrlboardobj.h" |
18 | #include "pmuif/gpmuifboardobj.h" | ||
19 | #include "boardobjgrp.h" | 18 | #include "boardobjgrp.h" |
20 | #include "boardobjgrpmask.h" | 19 | #include "boardobjgrpmask.h" |
21 | 20 | ||
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c index 95610aba..70b3c8f0 100644 --- a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c +++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-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, |
@@ -16,7 +16,6 @@ | |||
16 | #include "boardobjgrp.h" | 16 | #include "boardobjgrp.h" |
17 | #include "boardobjgrp_e32.h" | 17 | #include "boardobjgrp_e32.h" |
18 | #include "ctrl/ctrlboardobj.h" | 18 | #include "ctrl/ctrlboardobj.h" |
19 | #include "pmuif/gpmuifboardobj.h" | ||
20 | #include "boardobjgrpmask.h" | 19 | #include "boardobjgrpmask.h" |
21 | 20 | ||
22 | 21 | ||