summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-10-17 03:05:09 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-10-17 03:05:09 -0700
commitf813023320f41d5cad1cb2a28c150f6fe9f7403a (patch)
tree0c8b6434fa119571fb641d97bd83111244f8e04e
parent1453c8aab208bdacbe1f866cfe28ead37e7837ae (diff)
parent42ebc808992da2ffbf3c9b0ae56d14a1e1afc3bc (diff)
downloadandroid_hardware_qcom_sdm710_display-f813023320f41d5cad1cb2a28c150f6fe9f7403a.tar.gz
android_hardware_qcom_sdm710_display-f813023320f41d5cad1cb2a28c150f6fe9f7403a.tar.bz2
android_hardware_qcom_sdm710_display-f813023320f41d5cad1cb2a28c150f6fe9f7403a.zip
Merge "hwc2: Reset validate on surface damage region update."
-rw-r--r--sdm/libs/hwc2/hwc_display.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdm/libs/hwc2/hwc_display.cpp b/sdm/libs/hwc2/hwc_display.cpp
index 5c3841f0..2850e9d4 100644
--- a/sdm/libs/hwc2/hwc_display.cpp
+++ b/sdm/libs/hwc2/hwc_display.cpp
@@ -377,7 +377,7 @@ int HWCDisplay::Init() {
DisplayConfigFixedInfo fixed_info = {};
display_intf_->GetConfig(&fixed_info);
- partial_update_enabled_ = fixed_info.partial_update;
+ partial_update_enabled_ = fixed_info.partial_update || (!fixed_info.is_cmdmode);
client_target_->SetPartialUpdate(partial_update_enabled_);
DLOGI("Display created with id: %d", id_);