summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index 4e3eeb51..f9f85219 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -22,8 +22,6 @@
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24 24
25#include <uapi/linux/nvgpu.h>
26
27#include <nvgpu/nvgpu_common.h> 25#include <nvgpu/nvgpu_common.h>
28#include <nvgpu/timers.h> 26#include <nvgpu/timers.h>
29#include <nvgpu/kmem.h> 27#include <nvgpu/kmem.h>
@@ -590,8 +588,7 @@ int nvgpu_pmu_handle_therm_event(struct nvgpu_pmu *pmu,
590 switch (msg->msg_type) { 588 switch (msg->msg_type) {
591 case NV_PMU_THERM_MSG_ID_EVENT_HW_SLOWDOWN_NOTIFICATION: 589 case NV_PMU_THERM_MSG_ID_EVENT_HW_SLOWDOWN_NOTIFICATION:
592 if (msg->hw_slct_msg.mask == BIT(NV_PMU_THERM_EVENT_THERMAL_1)) 590 if (msg->hw_slct_msg.mask == BIT(NV_PMU_THERM_EVENT_THERMAL_1))
593 nvgpu_clk_arb_schedule_alarm(gk20a_from_pmu(pmu), 591 nvgpu_clk_arb_send_thermal_alarm(pmu->g);
594 (0x1UL << NVGPU_GPU_EVENT_ALARM_THERMAL_ABOVE_THRESHOLD));
595 else 592 else
596 gk20a_dbg_pmu("Unwanted/Unregistered thermal event received %d", 593 gk20a_dbg_pmu("Unwanted/Unregistered thermal event received %d",
597 msg->hw_slct_msg.mask); 594 msg->hw_slct_msg.mask);