From: Zhang Rui Date: Mon, 19 Nov 2012 07:33:51 +0000 (+0800) Subject: Introduce THERMAL_TREND_RAISE_FULL and THERMAL_TREND_DROP_FULL X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d069015e268bcac6c8bd8997b3235f5f977d3ab6;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Introduce THERMAL_TREND_RAISE_FULL and THERMAL_TREND_DROP_FULL These two new thermal_trend types are used to tell the governor that the temeprature is raising/dropping quickly. Thermal cooling governors should handle this situation and make proper decisions, e.g. set cooling state to upper/lower limit directly instead of one step each time. Signed-off-by: Zhang Rui --- diff --git a/include/linux/thermal.h b/include/linux/thermal.h index fe82022478e..883bcda7e1e 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -74,6 +74,8 @@ enum thermal_trend { THERMAL_TREND_STABLE, /* temperature is stable */ THERMAL_TREND_RAISING, /* temperature is raising */ THERMAL_TREND_DROPPING, /* temperature is dropping */ + THERMAL_TREND_RAISE_FULL, /* apply highest cooling action */ + THERMAL_TREND_DROP_FULL, /* apply lowest cooling action */ }; /* Events supported by Thermal Netlink */