diff options
author | Pullakavi Srinivas <spullaka@codeaurora.org> | 2018-10-08 14:52:15 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-10-10 03:03:31 -0700 |
commit | 42ebc808992da2ffbf3c9b0ae56d14a1e1afc3bc (patch) | |
tree | 2472da69ec8f0b0d038bf00cdceefedffaa2c748 | |
parent | bdbe838f2355072b8f6c59766bd9feae9464cee6 (diff) | |
download | android_hardware_qcom_sdm710_display-42ebc808992da2ffbf3c9b0ae56d14a1e1afc3bc.tar.gz android_hardware_qcom_sdm710_display-42ebc808992da2ffbf3c9b0ae56d14a1e1afc3bc.tar.bz2 android_hardware_qcom_sdm710_display-42ebc808992da2ffbf3c9b0ae56d14a1e1afc3bc.zip |
hwc2: Reset validate on surface damage region update.
Video mode panels make use of dirty regions to recompute
aggregated fb roi that needs to be cropped from cached buffer.
Reset validate to update appropriate rect.
CRs-fixed: 2326636
Change-Id: I9e6519ca833f84c36d9fa6fb8270ccf3d1fcf83d
-rw-r--r-- | sdm/libs/hwc2/hwc_display.cpp | 2 |
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_); |