diff options
author | Aparna Das <aparnad@nvidia.com> | 2017-08-04 20:32:02 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-24 04:26:17 -0400 |
commit | df4e88a21d51d5e098b66c3094fa91ae633777e5 (patch) | |
tree | ccab3efbc341bda1ebe175a58d9539d587ad9fd7 /drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |
parent | 86e1c3278fab9c7b335962549ba8f0860ef9f119 (diff) |
gpu: nvgpu: vgpu: add support for gv11b syncpoints
In t19x, gv11b semaphore read and write operations are
translated to host1x syncpoint read and write operations
using semaphore syncpoint shim aperture. Implement relevant
vgpu hal functions for this in fifo hal.
Jira EVLR-1571
Change-Id: I6296cc6e592ea991e1c01bc9662d02fb063ff3c7
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1516367
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index 9226206a..2cd8018c 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -378,7 +378,7 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
378 | .tsg_bind_channel = vgpu_tsg_bind_channel, | 378 | .tsg_bind_channel = vgpu_tsg_bind_channel, |
379 | .tsg_unbind_channel = vgpu_tsg_unbind_channel, | 379 | .tsg_unbind_channel = vgpu_tsg_unbind_channel, |
380 | #ifdef CONFIG_TEGRA_GK20A_NVHOST | 380 | #ifdef CONFIG_TEGRA_GK20A_NVHOST |
381 | .alloc_syncpt_buf = gv11b_fifo_alloc_syncpt_buf, | 381 | .alloc_syncpt_buf = vgpu_gv11b_fifo_alloc_syncpt_buf, |
382 | .free_syncpt_buf = gv11b_fifo_free_syncpt_buf, | 382 | .free_syncpt_buf = gv11b_fifo_free_syncpt_buf, |
383 | .add_syncpt_wait_cmd = gv11b_fifo_add_syncpt_wait_cmd, | 383 | .add_syncpt_wait_cmd = gv11b_fifo_add_syncpt_wait_cmd, |
384 | .get_syncpt_wait_cmd_size = gv11b_fifo_get_syncpt_wait_cmd_size, | 384 | .get_syncpt_wait_cmd_size = gv11b_fifo_get_syncpt_wait_cmd_size, |