diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-08-31 21:37:01 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-21 18:13:58 -0400 |
commit | f937b42672c8752c322a946e8e1fb631acc5229a (patch) | |
tree | f19d5d827b55519cbc7233cf56c84f4756d76c1f /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 7303dd33ef69f0a533ebce31caf658e9c35a7091 (diff) |
gpu: nvgpu: create chip specific runlist entry
To handle chip specific runlist entry size and structure,
add and implement relevant functional pointers.
Bug 1735760
Change-Id: I01f3ea78fb21d9fe30c82ba51ef24d7d95ebf90a
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1214473
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index b534389e..c4744f3c 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -376,6 +376,11 @@ struct gpu_ops { | |||
376 | int (*tsg_unbind_channel)(struct channel_gk20a *ch); | 376 | int (*tsg_unbind_channel)(struct channel_gk20a *ch); |
377 | u32 (*eng_runlist_base_size)(void); | 377 | u32 (*eng_runlist_base_size)(void); |
378 | int (*init_engine_info)(struct fifo_gk20a *f); | 378 | int (*init_engine_info)(struct fifo_gk20a *f); |
379 | u32 (*runlist_entry_size)(void); | ||
380 | void (*get_tsg_runlist_entry)(struct tsg_gk20a *tsg, | ||
381 | u32 *runlist); | ||
382 | void (*get_ch_runlist_entry)(struct channel_gk20a *ch, | ||
383 | u32 *runlist); | ||
379 | } fifo; | 384 | } fifo; |
380 | struct pmu_v { | 385 | struct pmu_v { |
381 | /*used for change of enum zbc update cmd id from ver 0 to ver1*/ | 386 | /*used for change of enum zbc update cmd id from ver 0 to ver1*/ |