From 00b255cf43a2f85d4d9a0378c4a85e7a20e6adc8 Mon Sep 17 00:00:00 2001 From: Deepak Goyal Date: Fri, 27 Oct 2017 14:56:28 +0530 Subject: gpu: nvgpu: Add t19x specific TSG fields. TSG struct is extended to accomodate t19x specific args. JIRA GPUT19x-16 Change-Id: I52b6613d84878f68861fe2515bafba92f83d9572 Signed-off-by: Deepak Goyal Reviewed-on: https://git-master.nvidia.com/r/1586855 Reviewed-by: Alex Waterman GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/tsg_gk20a.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h index 51bc1086..5e2b9b82 100644 --- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.h @@ -26,6 +26,9 @@ #include #include +#ifdef CONFIG_TEGRA_19x_GPU +#include "tsg_t19x.h" +#endif #define NVGPU_INVALID_TSG_ID (-1) struct channel_gk20a; @@ -65,6 +68,9 @@ struct tsg_gk20a { u32 runlist_id; pid_t tgid; struct nvgpu_mem *eng_method_buffers; +#ifdef CONFIG_TEGRA_19x_GPU + struct tsg_t19x t19x; +#endif }; int gk20a_enable_tsg(struct tsg_gk20a *tsg); -- cgit v1.2.2