diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2018-03-06 16:25:11 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-12 13:40:17 -0400 |
commit | 3df619f68afa6b23a33d7da072315755de38a30b (patch) | |
tree | df397177061e6c1f04ecba6959299504cbb9597c /drivers/gpu/nvgpu/gp10b | |
parent | 7a5a2fb75a7c4990939593437af72febf01b732d (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/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index dd914ed4..cce1ed4f 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -470,6 +470,8 @@ static const struct gpu_ops gp10b_ops = { | |||
470 | .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, | 470 | .alloc_syncpt_buf = gk20a_fifo_alloc_syncpt_buf, |
471 | .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, | 471 | .free_syncpt_buf = gk20a_fifo_free_syncpt_buf, |
472 | .add_syncpt_wait_cmd = gk20a_fifo_add_syncpt_wait_cmd, | 472 | .add_syncpt_wait_cmd = gk20a_fifo_add_syncpt_wait_cmd, |
473 | .get_syncpt_incr_per_release = | ||
474 | gk20a_fifo_get_syncpt_incr_per_release, | ||
473 | .get_syncpt_wait_cmd_size = gk20a_fifo_get_syncpt_wait_cmd_size, | 475 | .get_syncpt_wait_cmd_size = gk20a_fifo_get_syncpt_wait_cmd_size, |
474 | .add_syncpt_incr_cmd = gk20a_fifo_add_syncpt_incr_cmd, | 476 | .add_syncpt_incr_cmd = gk20a_fifo_add_syncpt_incr_cmd, |
475 | .get_syncpt_incr_cmd_size = gk20a_fifo_get_syncpt_incr_cmd_size, | 477 | .get_syncpt_incr_cmd_size = gk20a_fifo_get_syncpt_incr_cmd_size, |