summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVaikundanathan S <vaikuns@nvidia.com>2018-04-27 02:42:45 -0400
committerTejal Kudav <tkudav@nvidia.com>2018-06-14 09:44:06 -0400
commit3d6abe852777d6b3ceb0e110fafdd63d22c99837 (patch)
treed0b4cc4ba948eb2ea1f180cf01937e3e300be1ee /drivers
parentae59b322f54cefa792d3975e45de5aa346e2b774 (diff)
gpu:nvgpu: gv100: Fix therm gops
Fix test crash with therm sw setup by assigning therm limit and alert HAL functions. Bug 200399373 Change-Id: I972b92d949648a9278d3d351a80cc9a68e23cffc Signed-off-by: Vaikundanathan S <vaikuns@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1703778 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 30d19027..961129c6 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -671,6 +671,8 @@ static const struct gpu_ops gv100_ops = {
671 .elcg_init_idle_filters = NULL, 671 .elcg_init_idle_filters = NULL,
672 .get_internal_sensor_curr_temp = 672 .get_internal_sensor_curr_temp =
673 gp106_get_internal_sensor_curr_temp, 673 gp106_get_internal_sensor_curr_temp,
674 .get_internal_sensor_limits = gp106_get_internal_sensor_limits,
675 .configure_therm_alert = gp106_configure_therm_alert,
674 }, 676 },
675 .pmu = { 677 .pmu = {
676 .init_wpr_region = gv100_pmu_init_acr, 678 .init_wpr_region = gv100_pmu_init_acr,