-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PowerHAL: Adds the powerHAL similar to generic powerHAL and adds
the low power mode power hint. Low Power Mode power hint caps the maximum frequency. It also reduces the refresh rate by making a service call to the SurfaceFlinger. In case of hot plugged cpu, the max frequency is set when the cpu is hotplugged in, using uevent notifications. Change-Id: I1cf458c4f128818ad1286e5a90b0d359b6913bb8 Signed-off-by: Ruchi Kandoi <[email protected]>
- Loading branch information
Ruchi Kandoi
committed
May 12, 2014
1 parent
1ae1541
commit cf720af
Showing
3 changed files
with
437 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Copyright 2014 The Android Open Source Project | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
LOCAL_PATH:= $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE_RELATIVE_PATH := hw | ||
LOCAL_SRC_FILES := power_hammerhead.c | ||
LOCAL_SHARED_LIBRARIES := liblog libcutils | ||
LOCAL_MODULE_TAGS := optional | ||
LOCAL_MODULE := power.hammerhead | ||
include $(BUILD_SHARED_LIBRARY) |
Oops, something went wrong.