From 3d6abe852777d6b3ceb0e110fafdd63d22c99837 Mon Sep 17 00:00:00 2001 From: Vaikundanathan S Date: Fri, 27 Apr 2018 12:12:45 +0530 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1703778 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv100/hal_gv100.c | 2 ++ 1 file changed, 2 insertions(+) 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 = { .elcg_init_idle_filters = NULL, .get_internal_sensor_curr_temp = gp106_get_internal_sensor_curr_temp, + .get_internal_sensor_limits = gp106_get_internal_sensor_limits, + .configure_therm_alert = gp106_configure_therm_alert, }, .pmu = { .init_wpr_region = gv100_pmu_init_acr, -- cgit v1.2.2