diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-02-22 14:52:46 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-21 15:08:06 -0400 |
commit | 51f3f542fabb31527024eba5b8f52bf87cc30659 (patch) | |
tree | 3554d88cdd5a442cd3819aff1f041c8d3fa5a739 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 65e2c567973d549ad02d09d4a83a1676485961fc (diff) |
gpu: nvgpu: add is_preempt_pending fifo ops
is_preempt_pending fifo ops is added as t19x
preempt done sequence is differnt than legacy
chips.
Change-Id: I6b46be1f5b911ae11bbe806968cb8fabb21848e0
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1309678
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index c1e1b564..d5757130 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -450,6 +450,10 @@ struct gpu_ops { | |||
450 | struct gk20a_debug_output *o, u32 hw_chid, | 450 | struct gk20a_debug_output *o, u32 hw_chid, |
451 | struct ch_state *ch_state); | 451 | struct ch_state *ch_state); |
452 | u32 (*intr_0_error_mask)(struct gk20a *g); | 452 | u32 (*intr_0_error_mask)(struct gk20a *g); |
453 | int (*is_preempt_pending)(struct gk20a *g, u32 id, | ||
454 | unsigned int id_type, unsigned int timeout_rc_type); | ||
455 | int (*preempt_ch_tsg)(struct gk20a *g, u32 id, | ||
456 | unsigned int id_type, unsigned int timeout_rc_type); | ||
453 | } fifo; | 457 | } fifo; |
454 | struct pmu_v { | 458 | struct pmu_v { |
455 | /*used for change of enum zbc update cmd id from ver 0 to ver1*/ | 459 | /*used for change of enum zbc update cmd id from ver 0 to ver1*/ |