From e239ce69b38a9a557ed466a3bd9b090916f6cd31 Mon Sep 17 00:00:00 2001 From: Lakshmanan M Date: Tue, 8 Nov 2016 11:37:31 +0530 Subject: gpu: nvgpu: Add thermal alert limit IOCTL for UMD Added the thermal alert lmit IOCTL for UMD JIRA DNVGPU-130 Bug 200231080 Change-Id: I43a3a5df18467e05c32d043f49440d2086438ebe Signed-off-by: Lakshmanan M Reviewed-on: http://git-master/r/1249490 (cherry picked from commit b4123e45956bd02994fd284e8bfd6ce015aa0867) Reviewed-on: http://git-master/r/1282082 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu --- drivers/gpu/nvgpu/gp106/hal_gp106.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu') diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 1167ad6a..dd87de7d 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c @@ -1,7 +1,7 @@ /* * GP106 HAL interface * - * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -202,7 +202,8 @@ int gp106_init_gpu_characteristics(struct gk20a *g) NVGPU_GPU_FLAGS_SUPPORT_GET_CURRENT | NVGPU_GPU_FLAGS_SUPPORT_GET_POWER | NVGPU_GPU_FLAGS_SUPPORT_GET_TEMPERATURE | - NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS; + NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS | + NVGPU_GPU_FLAGS_SUPPORT_SET_THERM_ALERT_LIMIT; return 0; } -- cgit v1.2.2