summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-10-26 18:44:43 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-29 14:02:32 -0400
commit721315298b0d02cedfd186ce3b61da1acd4020b8 (patch)
tree225df4a90d73c379a1ddfa60683edb3521f63739 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent4d2d890c01b94d10ad55643a4c2c159a98419efe (diff)
gpu: nvgpu: Make alloc_obj_ctx args Linux specific
Use nvgpu_alloc_obj_ctx_args structure specific to Linux code only. Pass the fields of the structure as separate arguments to all common functions. gr_ops_gp10b.h referred to the struct, but it's not used anywhere, so delete the file. JIRA NVGPU-259 Change-Id: Idba78d48de1c30f205a42da2fe47a9f8c03735f1 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1586563 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index a34f06b2..65c3b56f 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -225,7 +225,7 @@ struct gpu_ops {
225 void (*set_gpc_tpc_mask)(struct gk20a *g, u32 gpc_index); 225 void (*set_gpc_tpc_mask)(struct gk20a *g, u32 gpc_index);
226 void (*free_channel_ctx)(struct channel_gk20a *c, bool is_tsg); 226 void (*free_channel_ctx)(struct channel_gk20a *c, bool is_tsg);
227 int (*alloc_obj_ctx)(struct channel_gk20a *c, 227 int (*alloc_obj_ctx)(struct channel_gk20a *c,
228 struct nvgpu_alloc_obj_ctx_args *args); 228 u32 class_num, u32 flags);
229 int (*bind_ctxsw_zcull)(struct gk20a *g, struct gr_gk20a *gr, 229 int (*bind_ctxsw_zcull)(struct gk20a *g, struct gr_gk20a *gr,
230 struct channel_gk20a *c, u64 zcull_va, 230 struct channel_gk20a *c, u64 zcull_va,
231 u32 mode); 231 u32 mode);