From 8202be50ce80e7fc2cf851a1ec4ad8f9378e3306 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Mon, 29 Jan 2018 15:43:50 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1649943 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/clk_vgpu.c') 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 @@ /* * Virtualized GPU Clock Interface * - * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -16,8 +16,11 @@ * along with this program. If not, see . */ +#include "gk20a/gk20a.h" #include "vgpu.h" #include "clk_vgpu.h" +#include "ctrl/ctrlclk.h" +#include "common/linux/platform_gk20a.h" static unsigned long vgpu_freq_table[TEGRA_VGPU_GPU_FREQ_TABLE_SIZE]; -- cgit v1.2.2