summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-03-06 16:25:11 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-12 13:40:17 -0400
commit3df619f68afa6b23a33d7da072315755de38a30b (patch)
treedf397177061e6c1f04ecba6959299504cbb9597c /drivers/gpu/nvgpu/gk20a/gk20a.h
parent7a5a2fb75a7c4990939593437af72febf01b732d (diff)
gpu: nvgpu: hal for syncpt_incr_per_release
Create hal to indicate syncpt increments per release. Legacy chip uses 2 syncpt increments per release and gv1xx onwards uses 1 syncpt increment per release. Bug 2066025 Change-Id: I5d6d0a5368ef561f8150fbb7120181f49f6e338b Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1669817 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 4ebdb6a4..ea55c664 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -631,6 +631,7 @@ struct gpu_ops {
631 u32 (*get_syncpt_incr_cmd_size)(bool wfi_cmd); 631 u32 (*get_syncpt_incr_cmd_size)(bool wfi_cmd);
632 int (*get_sync_ro_map)(struct vm_gk20a *vm, 632 int (*get_sync_ro_map)(struct vm_gk20a *vm,
633 u64 *base_gpuva, u32 *sync_size); 633 u64 *base_gpuva, u32 *sync_size);
634 u32 (*get_syncpt_incr_per_release)(void);
634#endif 635#endif
635 } fifo; 636 } fifo;
636 struct pmu_v { 637 struct pmu_v {