diff options
author | Richard Zhao <rizhao@nvidia.com> | 2018-01-25 19:51:54 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-31 05:40:52 -0500 |
commit | 5326dfe3fa59e7d465ffc2f0d7f81aaf9de48278 (patch) | |
tree | 94ec53a97a665fbcbf8004614c65b5090fb89b70 /drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h | |
parent | b386768d323c95f530dd28b695927426e52fe0dc (diff) |
gpu: nvgpu: vgpu: add vgpu_ivc_* wrappers
tegra_gr_comm_* are wrapped as vgpu_ivc_*, which helps make vgpu code
more common.
Jira EVLR-2364
Change-Id: Id49462ed6c176c73ceee8c6bc41104447748e187
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1645656
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
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/vgpu.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h index 20624240..f59ad5bf 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h +++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Virtualized GPU Interfaces | 2 | * Virtualized GPU Interfaces |
3 | * | 3 | * |
4 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-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, |
@@ -26,7 +26,8 @@ struct tegra_vgpu_cmd_msg; | |||
26 | struct gk20a_platform; | 26 | struct gk20a_platform; |
27 | 27 | ||
28 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION | 28 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION |
29 | #include <linux/tegra_gr_comm.h> | 29 | #include <nvgpu/vgpu/vgpu_ivc.h> |
30 | |||
30 | #include <linux/tegra_vgpu.h> | 31 | #include <linux/tegra_vgpu.h> |
31 | #include "gk20a/gk20a.h" | 32 | #include "gk20a/gk20a.h" |
32 | #include "common/linux/platform_gk20a.h" | 33 | #include "common/linux/platform_gk20a.h" |