gpu: nvgpu: vgpu: create common ivc unit

Move ivc comm related functions to ivc/comm_vgpu.c.
These functions call os specific ivc counterparts.

Jira GVSCI-334

Change-Id: I886dddb71c43975cb83a3508005ab1136b7adadc
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2082183
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Aparna Das
2019-03-26 12:24:42 -07:00
committed by mobile promotions
parent 1ec9183d47
commit 012f46ef74
25 changed files with 122 additions and 46 deletions

View File

@@ -20,6 +20,7 @@
#include "os/linux/platform_gk20a.h"
#include "os/linux/os_linux.h"
#include "common/vgpu/ecc_vgpu.h"
#include "common/vgpu/ivc/comm_vgpu.h"
static ssize_t vgpu_load_show(struct device *dev,
struct device_attribute *attr,