From 9730a93d8a44d767786ba34ffc68ef28c8e95b96 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Fri, 22 Jul 2016 13:55:36 -0700 Subject: 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 Reviewed-on: http://git-master/r/1189832 GVS: Gerrit_Virtual_Submit Reviewed-by: Vladislav Buzov --- drivers/gpu/nvgpu/vgpu/vgpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.h') 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 @@ struct vgpu_priv_data { u64 virt_handle; struct task_struct *intr_handler; + struct tegra_vgpu_constants_params constants; }; static inline -- cgit v1.2.2