diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-06-02 00:14:13 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-07 15:31:40 -0400 |
commit | 6f24a7666045b25072282d4c29ff190b7af33e59 (patch) | |
tree | 06a3ce89484f63a7a95443e3f037d5e4a3e6ece0 /drivers/gpu/nvgpu/gv11b/ce_gv11b.c | |
parent | 822b0dc53823e9c5bc3cbcdc78a62cc2c7f0647c (diff) |
gpu: nvgpu: Add multiple engine and runlist support
This CL covers the following modification,
1) Added multiple engine_info support
2) Added multiple runlist_info support
3) Initial changes for ASYNC CE support
4) Added ASYNC CE interrupt support for
Volta GPU series
5) Removed hard coded engine_id logic and
made generic way
6) Code cleanup for readability
JIRA DNVGPU-26
Change-Id: Ief3b586ff3d9f492f0277243b2a94952bab48786
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1156023
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/ce_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/ce_gv11b.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/ce_gv11b.c b/drivers/gpu/nvgpu/gv11b/ce_gv11b.c new file mode 100644 index 00000000..961054e0 --- /dev/null +++ b/drivers/gpu/nvgpu/gv11b/ce_gv11b.c | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * Volta GPU series Copy Engine. | ||
3 | * | ||
4 | * Copyright (c) 2016, 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 along with | ||
16 | * this program. | ||
17 | */ | ||
18 | |||
19 | #include "gk20a/gk20a.h" /* FERMI and MAXWELL classes defined here */ | ||
20 | #include "hw_ce_gv11b.h" | ||
21 | #include "gp10b/ce_gp10b.h" | ||
22 | #include "ce_gv11b.h" | ||
23 | |||
24 | void gv11b_init_ce(struct gpu_ops *gops) | ||
25 | { | ||
26 | gp10b_init_ce(gops); | ||
27 | } | ||