diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-11-08 01:07:31 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-10 06:55:05 -0500 |
commit | e239ce69b38a9a557ed466a3bd9b090916f6cd31 (patch) | |
tree | 5efdefa59d786bee22b7aacae3fe3059451dad2f /drivers/gpu | |
parent | d06966c4d9eefa823dd25b87224c2c4c489630e2 (diff) |
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 <lm@nvidia.com>
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 <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
1 | /* | 1 | /* |
2 | * GP106 HAL interface | 2 | * GP106 HAL interface |
3 | * | 3 | * |
4 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -202,7 +202,8 @@ int gp106_init_gpu_characteristics(struct gk20a *g) | |||
202 | NVGPU_GPU_FLAGS_SUPPORT_GET_CURRENT | | 202 | NVGPU_GPU_FLAGS_SUPPORT_GET_CURRENT | |
203 | NVGPU_GPU_FLAGS_SUPPORT_GET_POWER | | 203 | NVGPU_GPU_FLAGS_SUPPORT_GET_POWER | |
204 | NVGPU_GPU_FLAGS_SUPPORT_GET_TEMPERATURE | | 204 | NVGPU_GPU_FLAGS_SUPPORT_GET_TEMPERATURE | |
205 | NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS; | 205 | NVGPU_GPU_FLAGS_SUPPORT_DEVICE_EVENTS | |
206 | NVGPU_GPU_FLAGS_SUPPORT_SET_THERM_ALERT_LIMIT; | ||
206 | 207 | ||
207 | return 0; | 208 | return 0; |
208 | } | 209 | } |