summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/fifo_gp106.h
diff options
context:
space:
mode:
authorLakshmanan M <lm@nvidia.com>2016-06-15 00:53:43 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:17 -0500
commit39f3a8b89fbd7589bb911d64f894c0c7d56fb694 (patch)
tree7594ade644c6f0d25540f80562c4eb4ceadcae58 /drivers/gpu/nvgpu/gp106/fifo_gp106.h
parenta445c27d5bb2989f6865b5c267b22c9edbe6cc31 (diff)
gpu: nvgpu: Add fifo conf support for gp10x
Added fifo configuration support for gp104 and gp106. These GPU chips have more number of channel fifo and runlist than gp10b. Added get_num_fifos and eng_runlist_base_size function pointer to find out the actual value from HW headers. JIRA DNVGPU-25 Change-Id: I2322a6354eaa2af2b2605f3e9eedebf9827c7dda Signed-off-by: Lakshmanan M <lm@nvidia.com> Reviewed-on: http://git-master/r/1164653 Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/fifo_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/fifo_gp106.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/fifo_gp106.h b/drivers/gpu/nvgpu/gp106/fifo_gp106.h
new file mode 100644
index 00000000..1bcec9ef
--- /dev/null
+++ b/drivers/gpu/nvgpu/gp106/fifo_gp106.h
@@ -0,0 +1,18 @@
1/*
2 * Copyright (c) 2016, 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 NVGPU_FIFO_GP106_H
15#define NVGPU_FIFO_GP106_H
16struct gpu_ops;
17void gp106_init_fifo(struct gpu_ops *gops);
18#endif