summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-01-22 11:02:21 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:03 -0500
commit667143ed939494f311ba45e3cfd89546e625bbca (patch)
tree5fae3d0947590272c86980aad26899ca0f4ec2a6 /drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.h
parent0cb992afd76e2748d5ae5759914352d1a3ece7e7 (diff)
gpu: nvgpu: gp10b: Enable cycling through ctx bins
Remove hard coded NETB for gp10b. This enables cycling through available firmware files. Change-Id: I60765a05b1cf6c2e6003341f611c5ecc3f16e9b7 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/676557 Reviewed-by: Peng Du <pdu@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.h
new file mode 100644
index 00000000..b1184f9d
--- /dev/null
+++ b/drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.h
@@ -0,0 +1,28 @@
1/*
2 * GP10B Graphics Context
3 *
4 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18#ifndef __GR_CTX_GM10B_H__
19#define __GR_CTX_GM10B_H__
20
21#include "gk20a/gr_ctx_gk20a.h"
22
23/* production netlist, one and only one from below */
24/*#undef GM20B_NETLIST_IMAGE_FW_NAME*/
25
26void gp10b_init_gr_ctx(struct gpu_ops *gops);
27
28#endif /*__GR_CTX_GP10B_H__*/