summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2018-04-19 10:14:28 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-04-22 10:33:43 -0400
commitae04f394cf9a82a762a7152747a6bba5be6f5f53 (patch)
tree001f8839b8b6b7fdef1ac3c5907b84c72488ddbe /drivers/gpu/nvgpu/gp106/hal_gp106.c
parentf85f21d1a5eeb10e764b820bba4452ee03f9c52a (diff)
gpu: nvgpu: add HAL to set ppriv timeouts
Add new HAL gops.bus.set_ppriv_timeout_settings() to set platform specific ppriv timeouts Set this HAL for all supported GPUs for now Jira NVGPUT-35 Change-Id: I88b438a7bf381d0216e0947a16cd267461d0e8d7 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1699314 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Richard Zhao <rizhao@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index aedd6d14..b7b20dce 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -711,6 +711,8 @@ static const struct gpu_ops gp106_ops = {
711 .read_ptimer = gk20a_read_ptimer, 711 .read_ptimer = gk20a_read_ptimer,
712 .get_timestamps_zipper = nvgpu_get_timestamps_zipper, 712 .get_timestamps_zipper = nvgpu_get_timestamps_zipper,
713 .bar1_bind = gk20a_bus_bar1_bind, 713 .bar1_bind = gk20a_bus_bar1_bind,
714 .set_ppriv_timeout_settings =
715 gk20a_bus_set_ppriv_timeout_settings,
714 }, 716 },
715#if defined(CONFIG_GK20A_CYCLE_STATS) 717#if defined(CONFIG_GK20A_CYCLE_STATS)
716 .css = { 718 .css = {