sdm845-common: power: Handle launch and interaction hints
* MP-CTL does not handle POWER_HINT_INTERACTION and POWER_HINT_LAUNCH directly. Requests for processing are sent by Qualcomm BoostFramework (QPerformance) at the framework service level. Since we do not have BoostFramework, process POWER_HINT_INTERACTION and POWER_HINT_LAUNCH in PowerHAL to ensure a sufficient level of performance. * For proper operation, perfboostsconfig.xml file is required. Change-Id: I9fedcbaa189147c91d932711c831c2ce038a7ec7
This commit is contained in:
@@ -41,6 +41,22 @@ extern "C" {
|
||||
#define VENDOR_HINT_DISPLAY_OFF 0x00001040
|
||||
#define VENDOR_HINT_DISPLAY_ON 0x00001041
|
||||
|
||||
#define VENDOR_HINT_FIRST_LAUNCH_BOOST 0x00001081
|
||||
#define VENDOR_HINT_SCROLL_BOOST 0x00001080
|
||||
|
||||
enum {
|
||||
LAUNCH_BOOST_V1 = 1,
|
||||
LAUNCH_BOOST_V2 = 2,
|
||||
LAUNCH_BOOST_V3 = 3
|
||||
};
|
||||
|
||||
enum {
|
||||
SCROLL_VERTICAL = 1,
|
||||
SCROLL_HORIZONTAL = 2,
|
||||
SCROLL_PANEL_VIEW = 3,
|
||||
SCROLL_PREFILING = 4
|
||||
};
|
||||
|
||||
enum SCREEN_DISPLAY_TYPE {
|
||||
DISPLAY_OFF = 0x00FF,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user