diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-11-22 13:46:55 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-11-30 12:19:23 -0500 |
commit | 4a8802eab42298493ea6c6f8ceceb0ffc0f1526a (patch) | |
tree | 2f6ac8022a3a3321dbf423671a856bbc953dd281 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | af5d2d208ada4d84c7a7bd0e4e0c288d1276225f (diff) |
gpu: nvgpu: chip specific channel commit_inst
Add function pointer to add chip specific commit_inst.
Update this function pointer for gk20a and gm20b.
JIRA GV11B-21
Change-Id: Iae7231fae70c7b4f56647fe242776670675de3fd
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1258275
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 5539ca62..024be4db 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -312,6 +312,7 @@ struct gpu_ops { | |||
312 | u32 zcull_alloc_num, u32 *zcull_map_tiles); | 312 | u32 zcull_alloc_num, u32 *zcull_map_tiles); |
313 | int (*commit_global_timeslice)(struct gk20a *g, | 313 | int (*commit_global_timeslice)(struct gk20a *g, |
314 | struct channel_gk20a *c, bool patch); | 314 | struct channel_gk20a *c, bool patch); |
315 | int (*commit_inst)(struct channel_gk20a *c, u64 gpu_va); | ||
315 | } gr; | 316 | } gr; |
316 | const char *name; | 317 | const char *name; |
317 | struct { | 318 | struct { |