summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/vgpu.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-10-30 15:52:52 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-01 13:55:41 -0400
commit15e259bc5255e891f776a84b5f28a97ea0567178 (patch)
treeca4a92cafe8e01b8bdb87c0bbdc5fc18913af841 /drivers/gpu/nvgpu/vgpu/vgpu.c
parent964a849d6176da362c375d7d72b94289e9b905de (diff)
gpu: nvgpu: Move gk20a_scale to be Linux only
Move gk20a_scale.[ch] to be common/linux/scale.[ch]. The code is Linux specific, and only referred from Linux specific source files. Change the license back to GPL. JIRA NVGPU-259 Change-Id: I89fa905a1fea4f93c826ddfe2ffce34aefc1b0a2 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1588650 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c
index 14a19f56..70214676 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.c
@@ -40,13 +40,13 @@
40#include "vgpu/clk_vgpu.h" 40#include "vgpu/clk_vgpu.h"
41#include "gk20a/ctxsw_trace_gk20a.h" 41#include "gk20a/ctxsw_trace_gk20a.h"
42#include "gk20a/tsg_gk20a.h" 42#include "gk20a/tsg_gk20a.h"
43#include "gk20a/gk20a_scale.h"
44#include "gk20a/channel_gk20a.h" 43#include "gk20a/channel_gk20a.h"
45#include "gm20b/hal_gm20b.h" 44#include "gm20b/hal_gm20b.h"
46 45
47#include "common/linux/module.h" 46#include "common/linux/module.h"
48#include "common/linux/os_linux.h" 47#include "common/linux/os_linux.h"
49#include "common/linux/ioctl.h" 48#include "common/linux/ioctl.h"
49#include "common/linux/scale.h"
50 50
51#ifdef CONFIG_TEGRA_19x_GPU 51#ifdef CONFIG_TEGRA_19x_GPU
52#include <vgpu/vgpu_t19x.h> 52#include <vgpu/vgpu_t19x.h>