summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/fifo_vgpu.h
diff options
context:
space:
mode:
authorAparna Das <aparnad@nvidia.com>2017-10-30 18:55:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-01 21:10:41 -0400
commita37cec19f0cf5212cbd472cd8d94acaa1e1cff6d (patch)
tree4caa513f13333d7d2c47fd9059f2c682c46915a4 /drivers/gpu/nvgpu/vgpu/fifo_vgpu.h
parent6fdf03e0b2617ea99803bfea3e730aa69cf40188 (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: I6bfc52138bc540c0ea0ad18a85155eeff6f9efa8 Signed-off-by: Aparna Das <aparnad@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1588740 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.h')
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.h b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.h
index c5a51f97..aa95cc41 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.h
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.h
@@ -61,5 +61,6 @@ int vgpu_tsg_bind_channel(struct tsg_gk20a *tsg,
61 struct channel_gk20a *ch); 61 struct channel_gk20a *ch);
62int vgpu_tsg_unbind_channel(struct channel_gk20a *ch); 62int vgpu_tsg_unbind_channel(struct channel_gk20a *ch);
63int vgpu_tsg_set_timeslice(struct tsg_gk20a *tsg, u32 timeslice); 63int vgpu_tsg_set_timeslice(struct tsg_gk20a *tsg, u32 timeslice);
64int vgpu_enable_tsg(struct tsg_gk20a *tsg);
64 65
65#endif 66#endif