From 1d986dc33eae7cb56cd0a1beded5ba858f0535b9 Mon Sep 17 00:00:00 2001 From: Shashank Singh Date: Fri, 16 Feb 2018 17:54:51 +0530 Subject: gpu: nvgpu: add tsg_id to vgpu_gr_ctx struct To reuse linux gr code for QNX tsg_id will be required during alloc_gr_ctx. rm-server will reuse the gr_ctx from tsg and would not allocate it. Jira VQRM-2982 Change-Id: I236deb181b89a38e70dedca4190a4275be9f0b28 Signed-off-by: Shashank Singh Signed-off-by: Richard Zhao Reviewed-on: https://git-master.nvidia.com/r/1659907 Reviewed-by: svc-mobile-coverity Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Thomas Fleury Reviewed-by: Sourab Gupta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/include') diff --git a/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h b/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h index a7a877ff..c269dc24 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h +++ b/drivers/gpu/nvgpu/include/nvgpu/vgpu/tegra_vgpu.h @@ -369,6 +369,7 @@ struct tegra_vgpu_gr_ctx_params { u64 as_handle; u64 gr_ctx_va; u32 class_num; + u32 tsg_id; }; struct tegra_vgpu_channel_bind_gr_ctx_params { -- cgit v1.2.2