Merge "hwc2: Avoid flush for command mode panels"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
02a31d6a6b
@@ -207,7 +207,10 @@ HWC2::Error HWCDisplayPrimary::Validate(uint32_t *out_num_types, uint32_t *out_n
|
||||
}
|
||||
|
||||
if (layer_set_.empty()) {
|
||||
flush_ = true;
|
||||
// Avoid flush for Command mode panel.
|
||||
DisplayConfigFixedInfo display_config;
|
||||
display_intf_->GetConfig(&display_config);
|
||||
flush_ = !display_config.is_cmdmode;
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user