From f3f14cdff53f4b936e2505d44aad6e3bca143056 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 17 Jan 2018 12:39:13 -0800 Subject: gpu: nvgpu: Fold T19x code back to main code paths Lots of code paths were split to T19x specific code paths and structs due to split repository. Now that repositories are merged, fold all of them back to main code paths and structs and remove the T19x specific Kconfig flag. Change-Id: Id0d17a5f0610fc0b49f51ab6664e716dc8b222b6 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1640606 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (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 29fa302f..db1404a3 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h @@ -1,7 +1,7 @@ /* * GK20A graphics channel * - * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -40,9 +40,6 @@ 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 /* Flags to be passed to gk20a_channel_alloc_gpfifo() */ #define NVGPU_GPFIFO_FLAGS_SUPPORT_VPR (1 << 0) @@ -237,9 +234,8 @@ struct channel_gk20a { u32 runlist_id; bool is_privileged_channel; -#ifdef CONFIG_TEGRA_19x_GPU - struct channel_t19x t19x; -#endif + u32 subctx_id; + u32 runqueue_sel; struct ctx_header_desc ctx_header; -- cgit v1.2.2