diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2017-11-08 21:32:26 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-13 21:19:28 -0500 |
commit | 0f5202368781c5398e3d026dc408d79a37ad5aed (patch) | |
tree | 95a114420e9eb03e678998e354c2efac8e69d87a /drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |
parent | d64241cb5a0ca21ae2c88419d34ad79715a4588a (diff) |
gpu: nvgpu: ctx_patch_write fixes
- Update commit_global_timeslice to remove unused patch parameter
- Update calls to ctx_patch_write_begin/end to add update_patch_count param
JIRA ESRM-74
Bug 2012077
Change-Id: Ie2e640dfa0ab7193a062a58f588575f220e5efd3
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1594791
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h index 98e7bc50..b6ba231e 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |||
@@ -142,8 +142,7 @@ void gr_gv11b_program_sm_id_numbering(struct gk20a *g, | |||
142 | u32 gpc, u32 tpc, u32 smid); | 142 | u32 gpc, u32 tpc, u32 smid); |
143 | int gr_gv11b_load_smid_config(struct gk20a *g); | 143 | int gr_gv11b_load_smid_config(struct gk20a *g); |
144 | int gr_gv11b_commit_inst(struct channel_gk20a *c, u64 gpu_va); | 144 | int gr_gv11b_commit_inst(struct channel_gk20a *c, u64 gpu_va); |
145 | int gr_gv11b_commit_global_timeslice(struct gk20a *g, | 145 | int gr_gv11b_commit_global_timeslice(struct gk20a *g, struct channel_gk20a *c); |
146 | struct channel_gk20a *c, bool patch); | ||
147 | void gr_gv11b_write_zcull_ptr(struct gk20a *g, | 146 | void gr_gv11b_write_zcull_ptr(struct gk20a *g, |
148 | struct nvgpu_mem *mem, u64 gpu_va); | 147 | struct nvgpu_mem *mem, u64 gpu_va); |
149 | void gr_gv11b_write_pm_ptr(struct gk20a *g, | 148 | void gr_gv11b_write_pm_ptr(struct gk20a *g, |