Home
last modified time | relevance | path

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

/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_primary.cpp336 const bool enable_hbm(hdr_largest_layer_px_ > hbm_threshold_px_); in Present() local
337 if (high_brightness_mode_ != enable_hbm && vendor_ILight_ != nullptr) { in Present()
339 if (Status::SUCCESS == vendor_ILight_->setHbm(enable_hbm)) { in Present()
340 high_brightness_mode_ = enable_hbm; in Present()
342 DLOGE("failed to setHbm to %d", enable_hbm); in Present()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_builtin.cpp283 const bool enable_hbm(hdr_largest_layer_px_ > hbm_threshold_px_); in Present() local
284 if (high_brightness_mode_ != enable_hbm && hardware_ILight_ != nullptr) { in Present()
286 if (Status::SUCCESS == hardware_ILight_->setHbm(enable_hbm)) { in Present()
287 high_brightness_mode_ = enable_hbm; in Present()
289 DLOGE("failed to setHbm to %d", enable_hbm); in Present()