summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaseer Ahmed <naseer@codeaurora.org>2017-07-25 11:58:04 -0400
committerThierry Strudel <tstrudel@google.com>2017-07-26 13:16:38 -0700
commit9bb6568f169d9ed9374ce6464a888294335c5ff2 (patch)
tree1c210d5a1e4229a9693c286f40cbaf327f8ac396
parentc22578f608093babf45958630049e03d342fcc58 (diff)
downloadplatform_hardware_qcom_display-oreo-dr1-dev.tar.gz
platform_hardware_qcom_display-oreo-dr1-dev.tar.bz2
platform_hardware_qcom_display-oreo-dr1-dev.zip
hwc2: Fix color mode lockoreo-dr1-dev
Bug: 64020849 Change-Id: I2e9386e953ed764eb7f5924ed599a79fb5b3d911
-rw-r--r--msm8998/sdm/libs/hwc2/hwc_session.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/msm8998/sdm/libs/hwc2/hwc_session.cpp b/msm8998/sdm/libs/hwc2/hwc_session.cpp
index a34d5aba..a9c7e4e2 100644
--- a/msm8998/sdm/libs/hwc2/hwc_session.cpp
+++ b/msm8998/sdm/libs/hwc2/hwc_session.cpp
@@ -1247,7 +1247,6 @@ android::status_t HWCSession::SetMixerResolution(const android::Parcel *input_pa
}
android::status_t HWCSession::SetColorModeOverride(const android::Parcel *input_parcel) {
- SCOPE_LOCK(locker_);
auto display = static_cast<hwc2_display_t >(input_parcel->readInt32());
auto mode = static_cast<android_color_mode_t>(input_parcel->readInt32());
auto device = static_cast<hwc2_device_t *>(this);
@@ -1273,7 +1272,6 @@ android::status_t HWCSession::SetColorModeById(const android::Parcel *input_parc
}
void HWCSession::DynamicDebug(const android::Parcel *input_parcel) {
- SCOPE_LOCK(locker_);
int type = input_parcel->readInt32();
bool enable = (input_parcel->readInt32() > 0);
DLOGI("type = %d enable = %d", type, enable);
@@ -1314,7 +1312,6 @@ void HWCSession::DynamicDebug(const android::Parcel *input_parcel) {
android::status_t HWCSession::QdcmCMDHandler(const android::Parcel *input_parcel,
android::Parcel *output_parcel) {
- SCOPE_LOCK(locker_);
int ret = 0;
int32_t *brightness_value = NULL;
uint32_t display_id(0);