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>
This commit is contained in:
Lakshmanan M
2016-11-08 11:37:31 +05:30
committed by mobile promotions
parent d06966c4d9
commit e239ce69b3

View File

@@ -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;
}