summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-03-16 14:11:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-29 21:54:02 -0400
commitc5f03db98a20eb4e8b83fd350d293aab6986beff (patch)
tree2f6d53b0bfac835f8fc24ebf3181cf709f394829 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent5c27ac91fdde693c6f57100dc7fc6be75cc6982a (diff)
gpu: nvgpu: add gops.fifo.ch_abort_clean_up
Channel abort clean up is only needed by native and vgpu driver but not RM server. RM server expects guest will clean up itself. RM server should not set the callback. Jira VQRM-3058 Change-Id: I11b49b6f2d51c871e31de16955d487dca82609cb Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1679705 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 7162dc73..43284ba5 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -628,6 +628,7 @@ struct gpu_ops {
628 struct tsg_gk20a *tsg); 628 struct tsg_gk20a *tsg);
629 u32 (*get_preempt_timeout)(struct gk20a *g); 629 u32 (*get_preempt_timeout)(struct gk20a *g);
630 void (*post_event_id)(struct tsg_gk20a *tsg, int event_id); 630 void (*post_event_id)(struct tsg_gk20a *tsg, int event_id);
631 void (*ch_abort_clean_up)(struct channel_gk20a *ch);
631#ifdef CONFIG_TEGRA_GK20A_NVHOST 632#ifdef CONFIG_TEGRA_GK20A_NVHOST
632 int (*alloc_syncpt_buf)(struct channel_gk20a *c, 633 int (*alloc_syncpt_buf)(struct channel_gk20a *c,
633 u32 syncpt_id, struct nvgpu_mem *syncpt_buf); 634 u32 syncpt_id, struct nvgpu_mem *syncpt_buf);