35 lines
845 B
C
35 lines
845 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2019 MediaTek Inc.
|
|
*/
|
|
|
|
|
|
#ifndef _MTK_COOLER_SETTING_H
|
|
#define _MTK_COOLER_SETTING_H
|
|
|
|
/*=============================================================
|
|
* CONFIG (SW related)
|
|
*=============================================================
|
|
*/
|
|
/* mtk_cooler_mutt_gen97.c */
|
|
/* 1: turn on MD Thermal Warning Notification; 0: turn off */
|
|
#define FEATURE_THERMAL_DIAG (1)
|
|
|
|
/* mtk_cooler_mutt_gen97.c */
|
|
/* 1: turn on adaptive MD throttle cooler; 0: turn off */
|
|
#define FEATURE_ADAPTIVE_MUTT (1)
|
|
|
|
/* mtk_ta.c */
|
|
/* 1: turn on SPA; 0: turn off */
|
|
#define FEATURE_SPA (0)
|
|
|
|
|
|
/*APU(mdla/vpu) throttle*/
|
|
#define THERMAL_APU_UNLIMIT
|
|
|
|
#if defined(THERMAL_APU_UNLIMIT)
|
|
extern unsigned int cl_get_apu_status(void);
|
|
extern void cl_set_apu_status(int vv);
|
|
#endif
|
|
#endif /* _MTK_COOLER_SETTING_H */
|