From 3afac13d66ee7026555c0b0558d898a4f189b051 Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Thu, 29 Jun 2017 16:01:17 -0700 Subject: gpu: nvgpu: add support for t19x tsg/channel Required modifications to add t19x channel specific info and handle t19x tsg requests. Bug 1842197 Change-Id: I0f8bcce20edea8f2f9a01e5bf5a9e4181af54875 Signed-off-by: seshendra Gadagottu Reviewed-on: https://git-master/r/1511144 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index 380440b9..46a9b0a7 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h @@ -36,6 +36,9 @@ struct fifo_profile_gk20a; #include "mm_gk20a.h" #include "gr_gk20a.h" #include "fence_gk20a.h" +#ifdef CONFIG_TEGRA_19x_GPU +#include "channel_t19x.h" +#endif struct notification { struct { @@ -276,6 +279,9 @@ struct channel_gk20a { u32 runlist_id; bool is_privileged_channel; +#ifdef CONFIG_TEGRA_19x_GPU + struct channel_t19x t19x; +#endif }; static inline struct channel_gk20a * -- cgit v1.2.2