summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/vgpu.h
diff options
context:
space:
mode:
authorAparna Das <aparnad@nvidia.com>2016-12-21 15:35:08 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-24 19:24:12 -0500
commitbad0572cb1144ba08659aed88c311ae02c72c21c (patch)
treeaf05a5541dcff9cfd0c4b2a3a0b4e05f6f935575 /drivers/gpu/nvgpu/vgpu/vgpu.h
parent4feb078717fe7986bc0dfdfbfc3f10e5d1d1fa63 (diff)
gpu: nvgpu: vgpu: retrieve gpu load
Add support to send command to RM server to retrieve GPU load. Bug 200261903 Change-Id: Ie3d0ba7ec91317e9a2911f71613ad78d20f9c1fb Signed-off-by: Aparna Das <aparnad@nvidia.com> Reviewed-on: http://git-master/r/1275045 (cherry picked from commit 5a6c1de1e6997bfd803b4b95b3e44e282ba32f67) Reviewed-on: http://git-master/r/1283279 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h')
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.h b/drivers/gpu/nvgpu/vgpu/vgpu.h
index e64b31b4..098c7dbd 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.h
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.h
@@ -103,6 +103,9 @@ int vgpu_gk20a_init_hal(struct gk20a *g);
103int vgpu_gm20b_init_hal(struct gk20a *g); 103int vgpu_gm20b_init_hal(struct gk20a *g);
104 104
105void vgpu_init_dbg_session_ops(struct gpu_ops *gops); 105void vgpu_init_dbg_session_ops(struct gpu_ops *gops);
106
107void vgpu_create_sysfs(struct device *dev);
108void vgpu_remove_sysfs(struct device *dev);
106#else 109#else
107static inline int vgpu_pm_prepare_poweroff(struct device *dev) 110static inline int vgpu_pm_prepare_poweroff(struct device *dev)
108{ 111{