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>
This commit is contained in:
Richard Zhao
2018-01-29 15:43:50 -08:00
committed by mobile promotions
parent 28abb3d2cd
commit 8202be50ce
20 changed files with 591 additions and 554 deletions

View File

@@ -1,5 +1,5 @@
/*
* 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,
@@ -17,6 +17,7 @@
#include <linux/device.h>
#include "vgpu.h"
#include "common/linux/platform_gk20a.h"
static ssize_t vgpu_load_show(struct device *dev,
struct device_attribute *attr,