diff options
author | Vaibhav Kachore <vkachore@nvidia.com> | 2018-08-20 07:29:45 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-31 15:16:19 -0400 |
commit | 7bf80a1c69a07f81225270e90a57a1c41d202859 (patch) | |
tree | 278ed4c9197997734bac69b5695a559ec5278082 /drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.h | |
parent | 064ba6a7ef236a7bb1085715c6ab37810f230bbf (diff) |
gpu: nvgpu: remove use of NVGPU_CTXSW_FILTER_ISSET
- Remove the usage of NVGPU_CTXSW_FILTER_ISSET splattered
across nvgpu, and replace with a MACRO defined in common code.
The usage is still inside Linux, but this helps the
subsequent unification efforts, e.g. to unify the fecs trace
path.
- Remove "uapi/linux/nvgpu.h" from common code.
EVLR-3078
Change-Id: I60b0e1627576a4b255671d58530d8c773ea6154c
Signed-off-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1803210
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.h')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.h b/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.h index b957a363..496e1892 100644 --- a/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.h +++ b/drivers/gpu/nvgpu/vgpu/fecs_trace_vgpu.h | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | struct gk20a; | 28 | struct gk20a; |
29 | struct vm_area_struct; | 29 | struct vm_area_struct; |
30 | struct nvgpu_ctxsw_trace_filter; | 30 | struct nvgpu_gpu_ctxsw_trace_filter; |
31 | 31 | ||
32 | void vgpu_fecs_trace_data_update(struct gk20a *g); | 32 | void vgpu_fecs_trace_data_update(struct gk20a *g); |
33 | int vgpu_fecs_trace_init(struct gk20a *g); | 33 | int vgpu_fecs_trace_init(struct gk20a *g); |
@@ -40,8 +40,8 @@ int vgpu_alloc_user_buffer(struct gk20a *g, void **buf, size_t *size); | |||
40 | int vgpu_free_user_buffer(struct gk20a *g); | 40 | int vgpu_free_user_buffer(struct gk20a *g); |
41 | int vgpu_mmap_user_buffer(struct gk20a *g, struct vm_area_struct *vma); | 41 | int vgpu_mmap_user_buffer(struct gk20a *g, struct vm_area_struct *vma); |
42 | int vgpu_fecs_trace_max_entries(struct gk20a *g, | 42 | int vgpu_fecs_trace_max_entries(struct gk20a *g, |
43 | struct nvgpu_ctxsw_trace_filter *filter); | 43 | struct nvgpu_gpu_ctxsw_trace_filter *filter); |
44 | int vgpu_fecs_trace_set_filter(struct gk20a *g, | 44 | int vgpu_fecs_trace_set_filter(struct gk20a *g, |
45 | struct nvgpu_ctxsw_trace_filter *filter); | 45 | struct nvgpu_gpu_ctxsw_trace_filter *filter); |
46 | 46 | ||
47 | #endif /* __FECS_TRACE_VGPU_H */ | 47 | #endif /* __FECS_TRACE_VGPU_H */ |