Home
last modified time | relevance | path

Searched refs:enable_hbm (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_builtin.cpp364 const bool enable_hbm(hdr_largest_layer_px_ > hbm_threshold_px_); in Present() local
365 if (high_brightness_mode_ != enable_hbm && hardware_ILight_ != nullptr) { in Present()
367 if (Status::SUCCESS == hardware_ILight_->setHbm(enable_hbm)) { in Present()
368 high_brightness_mode_ = enable_hbm; in Present()
370 DLOGE("failed to setHbm to %d", enable_hbm); in Present()
/hardware/qcom/sm7250/display/composer/
Dhwc_display_builtin.cpp655 const bool enable_hbm(hdr_largest_layer_px_ > hbm_threshold_px_); in Present() local
656 if (high_brightness_mode_ != enable_hbm) { in Present()
657 HbmState state = enable_hbm ? HbmState::HDR : HbmState::OFF; in Present()
660 high_brightness_mode_ = enable_hbm; in Present()
662 DLOGE("failed to setHbm to %d", enable_hbm); in Present()