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/os/linux/vgpu/fecs_trace_vgpu.c | |
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/os/linux/vgpu/fecs_trace_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/vgpu/fecs_trace_vgpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/vgpu/fecs_trace_vgpu.c b/drivers/gpu/nvgpu/os/linux/vgpu/fecs_trace_vgpu.c index 255ee2bd..c878316a 100644 --- a/drivers/gpu/nvgpu/os/linux/vgpu/fecs_trace_vgpu.c +++ b/drivers/gpu/nvgpu/os/linux/vgpu/fecs_trace_vgpu.c | |||
@@ -190,7 +190,7 @@ int vgpu_mmap_user_buffer(struct gk20a *g, struct vm_area_struct *vma) | |||
190 | 190 | ||
191 | #ifdef CONFIG_GK20A_CTXSW_TRACE | 191 | #ifdef CONFIG_GK20A_CTXSW_TRACE |
192 | int vgpu_fecs_trace_max_entries(struct gk20a *g, | 192 | int vgpu_fecs_trace_max_entries(struct gk20a *g, |
193 | struct nvgpu_ctxsw_trace_filter *filter) | 193 | struct nvgpu_gpu_ctxsw_trace_filter *filter) |
194 | { | 194 | { |
195 | struct vgpu_fecs_trace *vcst = (struct vgpu_fecs_trace *)g->fecs_trace; | 195 | struct vgpu_fecs_trace *vcst = (struct vgpu_fecs_trace *)g->fecs_trace; |
196 | 196 | ||
@@ -202,7 +202,7 @@ int vgpu_fecs_trace_max_entries(struct gk20a *g, | |||
202 | #endif | 202 | #endif |
203 | 203 | ||
204 | int vgpu_fecs_trace_set_filter(struct gk20a *g, | 204 | int vgpu_fecs_trace_set_filter(struct gk20a *g, |
205 | struct nvgpu_ctxsw_trace_filter *filter) | 205 | struct nvgpu_gpu_ctxsw_trace_filter *filter) |
206 | { | 206 | { |
207 | struct tegra_vgpu_cmd_msg msg = { | 207 | struct tegra_vgpu_cmd_msg msg = { |
208 | .cmd = TEGRA_VGPU_CMD_FECS_TRACE_SET_FILTER, | 208 | .cmd = TEGRA_VGPU_CMD_FECS_TRACE_SET_FILTER, |