diff options
author | Sachit Kadle <skadle@nvidia.com> | 2016-11-04 20:48:59 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-19 18:39:47 -0500 |
commit | c1750f45f5239508e7a67db0627552f87943ec9f (patch) | |
tree | 638889829e65bc1f51254791da99610beaa538f1 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 6ea4a81f4da565eb07e4eedbe7f80305b5715cf2 (diff) |
gpu: nvgpu: add tsg_open HAL interface
Add HAL interface for TSG open, which is intended to
be called from the exisiting gk20a_tsg_open function.
The tsg_open entryoint is only implemented for vgpu,
as the server needs to clear metadata when a tsg is opened.
Bug 200215060
Change-Id: Icc8fd602f31e52d9fa9b2e7786b665b9e7b9294e
Signed-off-by: Sachit Kadle <skadle@nvidia.com>
Reviewed-on: http://git-master/r/1249218
(cherry picked from commit 35c86f7c796c6574d3dc336e20012ea5c16d7cb4)
Reviewed-on: http://git-master/r/1256468
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 ed3a1d2d..f492801e 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -392,6 +392,7 @@ struct gpu_ops { | |||
392 | int (*tsg_bind_channel)(struct tsg_gk20a *tsg, | 392 | int (*tsg_bind_channel)(struct tsg_gk20a *tsg, |
393 | struct channel_gk20a *ch); | 393 | struct channel_gk20a *ch); |
394 | int (*tsg_unbind_channel)(struct channel_gk20a *ch); | 394 | int (*tsg_unbind_channel)(struct channel_gk20a *ch); |
395 | int (*tsg_open)(struct tsg_gk20a *tsg); | ||
395 | u32 (*eng_runlist_base_size)(void); | 396 | u32 (*eng_runlist_base_size)(void); |
396 | int (*init_engine_info)(struct fifo_gk20a *f); | 397 | int (*init_engine_info)(struct fifo_gk20a *f); |
397 | u32 (*runlist_entry_size)(void); | 398 | u32 (*runlist_entry_size)(void); |