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/gk20a/gk20a.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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 8fc88677..93a5bb23 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -43,7 +43,7 @@ struct nvgpu_mem_sgt; | |||
43 | struct nvgpu_warpstate; | 43 | struct nvgpu_warpstate; |
44 | struct nvgpu_clk_arb; | 44 | struct nvgpu_clk_arb; |
45 | #ifdef CONFIG_GK20A_CTXSW_TRACE | 45 | #ifdef CONFIG_GK20A_CTXSW_TRACE |
46 | struct nvgpu_ctxsw_trace_filter; | 46 | struct nvgpu_gpu_ctxsw_trace_filter; |
47 | #endif | 47 | #endif |
48 | struct priv_cmd_entry; | 48 | struct priv_cmd_entry; |
49 | 49 | ||
@@ -894,7 +894,7 @@ struct gpu_ops { | |||
894 | struct { | 894 | struct { |
895 | int (*init)(struct gk20a *g); | 895 | int (*init)(struct gk20a *g); |
896 | int (*max_entries)(struct gk20a *, | 896 | int (*max_entries)(struct gk20a *, |
897 | struct nvgpu_ctxsw_trace_filter *filter); | 897 | struct nvgpu_gpu_ctxsw_trace_filter *filter); |
898 | int (*flush)(struct gk20a *g); | 898 | int (*flush)(struct gk20a *g); |
899 | int (*poll)(struct gk20a *g); | 899 | int (*poll)(struct gk20a *g); |
900 | int (*enable)(struct gk20a *g); | 900 | int (*enable)(struct gk20a *g); |
@@ -911,7 +911,7 @@ struct gpu_ops { | |||
911 | int (*mmap_user_buffer)(struct gk20a *g, | 911 | int (*mmap_user_buffer)(struct gk20a *g, |
912 | struct vm_area_struct *vma); | 912 | struct vm_area_struct *vma); |
913 | int (*set_filter)(struct gk20a *g, | 913 | int (*set_filter)(struct gk20a *g, |
914 | struct nvgpu_ctxsw_trace_filter *filter); | 914 | struct nvgpu_gpu_ctxsw_trace_filter *filter); |
915 | } fecs_trace; | 915 | } fecs_trace; |
916 | #endif | 916 | #endif |
917 | struct { | 917 | struct { |