summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gv11b
diff options
context:
space:
mode:
authorAparna Das <aparnad@nvidia.com>2017-10-30 19:13:05 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-01 21:10:32 -0400
commitf913b7a4f9e70df8a76e7b934825ef1d9632f3a1 (patch)
treed0bbe34929cad0372761cfc002b137d59d9906c1 /drivers/gpu/nvgpu/vgpu/gv11b
parent39cc741a02067e00f0003649dcd45285eb4640a5 (diff)
gpu: nvgpu: vgpu: modify tsg enable sequence
TSG enable sequence in native has been modified due to a hardware bug requiring enabling all channels with NEXT and CTX_RELOAD set in a TSG, and then enabling rest of channels.However it is not possible to check if NEXT and CTX_RELOAD is set in vgpu. Have a separate implementation for enabling tsg sequence in vgpu till the fix for hardware bug is implemented for virtualized configuration. Bug 200348087 Change-Id: I8e6c2ba8722531563de65e51e3d6af6acb7af213 Signed-off-by: Aparna Das <aparnad@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1588739 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Richard Zhao <rizhao@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Nirav Patel <nipatel@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c2
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 dd4dfdae..e7996ce7 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -339,7 +339,7 @@ static const struct gpu_ops vgpu_gv11b_ops = {
339 .pbdma_acquire_val = gk20a_fifo_pbdma_acquire_val, 339 .pbdma_acquire_val = gk20a_fifo_pbdma_acquire_val,
340 .preempt_channel = vgpu_fifo_preempt_channel, 340 .preempt_channel = vgpu_fifo_preempt_channel,
341 .preempt_tsg = vgpu_fifo_preempt_tsg, 341 .preempt_tsg = vgpu_fifo_preempt_tsg,
342 .enable_tsg = gk20a_enable_tsg, 342 .enable_tsg = vgpu_enable_tsg,
343 .disable_tsg = gk20a_disable_tsg, 343 .disable_tsg = gk20a_disable_tsg,
344 .tsg_verify_channel_status = NULL, 344 .tsg_verify_channel_status = NULL,
345 .tsg_verify_status_ctx_reload = NULL, 345 .tsg_verify_status_ctx_reload = NULL,