diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/fecs_trace_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/fecs_trace_vgpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/fecs_trace_vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/fecs_trace_vgpu.c index 5007de36..5344313a 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/fecs_trace_vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/fecs_trace_vgpu.c | |||
@@ -190,6 +190,7 @@ int vgpu_mmap_user_buffer(struct gk20a *g, struct vm_area_struct *vma) | |||
190 | vma->vm_page_prot); | 190 | vma->vm_page_prot); |
191 | } | 191 | } |
192 | 192 | ||
193 | #ifdef CONFIG_GK20A_CTXSW_TRACE | ||
193 | int vgpu_fecs_trace_max_entries(struct gk20a *g, | 194 | int vgpu_fecs_trace_max_entries(struct gk20a *g, |
194 | struct nvgpu_ctxsw_trace_filter *filter) | 195 | struct nvgpu_ctxsw_trace_filter *filter) |
195 | { | 196 | { |
@@ -223,3 +224,4 @@ void vgpu_fecs_trace_data_update(struct gk20a *g) | |||
223 | { | 224 | { |
224 | gk20a_ctxsw_trace_wake_up(g, 0); | 225 | gk20a_ctxsw_trace_wake_up(g, 0); |
225 | } | 226 | } |
227 | #endif /* CONFIG_GK20A_CTXSW_TRACE */ | ||