diff options
author | Richard Zhao <rizhao@nvidia.com> | 2016-07-22 16:55:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-08-15 14:41:18 -0400 |
commit | 9730a93d8a44d767786ba34ffc68ef28c8e95b96 (patch) | |
tree | bd1abad55b68b57c10793b5fe1fa0b853e30f8bf /drivers/gpu/nvgpu/vgpu/vgpu.h | |
parent | e1438818b90c5b0d73aae800b12bd6b36aec5142 (diff) |
gpu: nvgpu: vgpu: add cmd to get RM server constants
Moving getting constant attributes into one cmd which will be
called only once.
This patch adds basic infrastructure and gpu arch info, max_freq
and num_channels support.
JIRA VFND-2103
Change-Id: I100599b49f29c99966f9e90ea381b1f3c09177a3
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/1189832
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.h b/drivers/gpu/nvgpu/vgpu/vgpu.h index e1fff966..6f1059b8 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.h +++ b/drivers/gpu/nvgpu/vgpu/vgpu.h | |||
@@ -25,6 +25,7 @@ | |||
25 | struct vgpu_priv_data { | 25 | struct vgpu_priv_data { |
26 | u64 virt_handle; | 26 | u64 virt_handle; |
27 | struct task_struct *intr_handler; | 27 | struct task_struct *intr_handler; |
28 | struct tegra_vgpu_constants_params constants; | ||
28 | }; | 29 | }; |
29 | 30 | ||
30 | static inline | 31 | static inline |