diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-01-29 18:43:50 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-27 17:30:32 -0500 |
commit | 8202be50ce80e7fc2cf851a1ec4ad8f9378e3306 (patch) | |
tree | e0b5d6fcd4a9a71c01569cc5a23e67cb2e751628 /drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c | |
parent | 28abb3d2cd3a9efe413be3c2f8e897ccd72f6b93 (diff) |
gpu: nvgpu: vgpu: split vgpu.c into vgpu.c and vgpu_linux.c
vgpu.c will keep common code whil vgpu_linux.c is linux specific.
Jira EVLR-2364
Change-Id: Ice9782fa96c256f1b70320886d3720ab0db26244
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1649943
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c index bcdf8ee9..285cd481 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Virtualized GPU Clock Interface | 2 | * Virtualized GPU Clock Interface |
3 | * | 3 | * |
4 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -16,8 +16,11 @@ | |||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include "gk20a/gk20a.h" | ||
19 | #include "vgpu.h" | 20 | #include "vgpu.h" |
20 | #include "clk_vgpu.h" | 21 | #include "clk_vgpu.h" |
22 | #include "ctrl/ctrlclk.h" | ||
23 | #include "common/linux/platform_gk20a.h" | ||
21 | 24 | ||
22 | static unsigned long | 25 | static unsigned long |
23 | vgpu_freq_table[TEGRA_VGPU_GPU_FREQ_TABLE_SIZE]; | 26 | vgpu_freq_table[TEGRA_VGPU_GPU_FREQ_TABLE_SIZE]; |