diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/fecs_trace_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/fecs_trace_gp10b.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/fecs_trace_gp10b.c b/drivers/gpu/nvgpu/gp10b/fecs_trace_gp10b.c index 723da1a2..bec40512 100644 --- a/drivers/gpu/nvgpu/gp10b/fecs_trace_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/fecs_trace_gp10b.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <nvgpu/hw/gp10b/hw_gr_gp10b.h> | 22 | #include <nvgpu/hw/gp10b/hw_gr_gp10b.h> |
23 | 23 | ||
24 | #ifdef CONFIG_GK20A_CTXSW_TRACE | 24 | #ifdef CONFIG_GK20A_CTXSW_TRACE |
25 | static int gp10b_fecs_trace_flush(struct gk20a *g) | 25 | int gp10b_fecs_trace_flush(struct gk20a *g) |
26 | { | 26 | { |
27 | struct fecs_method_op_gk20a op = { | 27 | struct fecs_method_op_gk20a op = { |
28 | .mailbox = { .id = 0, .data = 0, | 28 | .mailbox = { .id = 0, .data = 0, |
@@ -43,14 +43,4 @@ static int gp10b_fecs_trace_flush(struct gk20a *g) | |||
43 | 43 | ||
44 | return err; | 44 | return err; |
45 | } | 45 | } |
46 | |||
47 | void gp10b_init_fecs_trace_ops(struct gpu_ops *ops) | ||
48 | { | ||
49 | gk20a_init_fecs_trace_ops(ops); | ||
50 | ops->fecs_trace.flush = gp10b_fecs_trace_flush; | ||
51 | } | ||
52 | #else | ||
53 | void gp10b_init_fecs_trace_ops(struct gpu_ops *ops) | ||
54 | { | ||
55 | } | ||
56 | #endif /* CONFIG_GK20A_CTXSW_TRACE */ | 46 | #endif /* CONFIG_GK20A_CTXSW_TRACE */ |