summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/fifo_t19x.h
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2017-06-27 19:50:28 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-30 01:34:37 -0400
commit7346122ae66d35a39ebbdcb423de5bfc4fb66f4e (patch)
tree910785e66f5f0261558c9c70629d0ead02a31961 /drivers/gpu/nvgpu/fifo_t19x.h
parente1655282238b4632c2af4ac809d81b297d5183f2 (diff)
gpu: nvgpu: gv11b: add fifo_gv11b and usermode_regs
- add fifo_gv11b to store usermode_regs - consider channel_base and use usermode_regs when ring channel doorbell It'll make kickoff code re-usable for vgpu. Jira VFND-3796 Change-Id: Ia6974ccac137f201ad8763a7d372de81d5cca56b Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master/r/1510457 Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/fifo_t19x.h')
-rw-r--r--drivers/gpu/nvgpu/fifo_t19x.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/fifo_t19x.h b/drivers/gpu/nvgpu/fifo_t19x.h
new file mode 100644
index 00000000..531c6f34
--- /dev/null
+++ b/drivers/gpu/nvgpu/fifo_t19x.h
@@ -0,0 +1,21 @@
1/*
2 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 */
13
14#ifndef _FIFO_T19X_H_
15#define _FIFO_T19X_H_
16
17struct fifo_t19x {
18 void __iomem *usermode_regs;
19};
20
21#endif