diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fecs_trace_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fecs_trace_gv11b.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fecs_trace_gv11b.c b/drivers/gpu/nvgpu/gv11b/fecs_trace_gv11b.c new file mode 100644 index 00000000..f3f8b797 --- /dev/null +++ b/drivers/gpu/nvgpu/gv11b/fecs_trace_gv11b.c | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * GV11B GPU FECS traces | ||
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 | |||
16 | #include "gp10b/fecs_trace_gp10b.h" | ||
17 | #include "gv11b/fecs_trace_gv11b.h" | ||
18 | |||
19 | #ifdef CONFIG_GK20A_CTXSW_TRACE | ||
20 | int gv11b_init_fecs_trace_ops(struct gpu_ops *ops) | ||
21 | { | ||
22 | gp10b_init_fecs_trace_ops(ops); | ||
23 | return 0; | ||
24 | } | ||
25 | #else | ||
26 | int gv11b_init_fecs_trace_ops(struct gpu_ops *ops) | ||
27 | { | ||
28 | return 0; | ||
29 | } | ||
30 | #endif /* CONFIG_GK20A_CTXSW_TRACE */ | ||