/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display_external.cpp | 139 uint32_t refresh_rate = GetOptimalRefreshRate(one_video_updating_layer); in Prepare() local 140 if (current_refresh_rate_ != refresh_rate) { in Prepare() 141 error = display_intf_->SetRefreshRate(refresh_rate); in Prepare() 144 current_refresh_rate_ = refresh_rate; in Prepare() 292 void HWCDisplayExternal::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 293 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 294 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 299 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
D | hwc_display_primary.cpp | 194 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Prepare() local 197 if ((current_refresh_rate_ != refresh_rate) || (handle_idle_timeout_)) { in Prepare() 198 error = display_intf_->SetRefreshRate(refresh_rate); in Prepare() 203 current_refresh_rate_ = refresh_rate; in Prepare() 355 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 356 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 357 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 363 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display_external.cpp | 139 uint32_t refresh_rate = GetOptimalRefreshRate(one_video_updating_layer); in Prepare() local 140 if (current_refresh_rate_ != refresh_rate) { in Prepare() 141 error = display_intf_->SetRefreshRate(refresh_rate); in Prepare() 144 current_refresh_rate_ = refresh_rate; in Prepare() 292 void HWCDisplayExternal::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 293 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 294 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 299 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
D | hwc_display_primary.cpp | 194 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Prepare() local 197 if ((current_refresh_rate_ != refresh_rate) || (handle_idle_timeout_)) { in Prepare() 198 error = display_intf_->SetRefreshRate(refresh_rate); in Prepare() 203 current_refresh_rate_ = refresh_rate; in Prepare() 355 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 356 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 357 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 363 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_primary.cpp | 173 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Prepare() local 174 if (current_refresh_rate_ != refresh_rate) { in Prepare() 175 error = display_intf_->SetRefreshRate(refresh_rate); in Prepare() 180 current_refresh_rate_ = refresh_rate; in Prepare() 306 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 307 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 308 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 314 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 189 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Validate() local 190 if (current_refresh_rate_ != refresh_rate) { in Validate() 191 error = display_intf_->SetRefreshRate(refresh_rate); in Validate() 196 current_refresh_rate_ = refresh_rate; in Validate() 368 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 369 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 370 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 375 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | display_primary.cpp | 264 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate, bool final_rate) { in SetRefreshRate() argument 271 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { in SetRefreshRate() 272 DLOGE("Invalid Fps = %d request", refresh_rate); in SetRefreshRate() 277 refresh_rate = hw_panel_info_.min_fps; in SetRefreshRate() 280 if ((current_refresh_rate_ != refresh_rate) || handle_idle_timeout_) { in SetRefreshRate() 281 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); in SetRefreshRate() 288 current_refresh_rate_ = refresh_rate; in SetRefreshRate()
|
D | display_hdmi.cpp | 142 DisplayError DisplayHDMI::SetRefreshRate(uint32_t refresh_rate, bool final_rate) { in SetRefreshRate() argument 149 if (current_refresh_rate_ != refresh_rate) { in SetRefreshRate() 150 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); in SetRefreshRate() 156 current_refresh_rate_ = refresh_rate; in SetRefreshRate()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 196 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Validate() local 197 if (current_refresh_rate_ != refresh_rate) { in Validate() 198 error = display_intf_->SetRefreshRate(refresh_rate); in Validate() 203 current_refresh_rate_ = refresh_rate; in Validate() 377 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 378 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 379 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 384 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 189 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Validate() local 190 if (current_refresh_rate_ != refresh_rate) { in Validate() 191 error = display_intf_->SetRefreshRate(refresh_rate); in Validate() 196 current_refresh_rate_ = refresh_rate; in Validate() 380 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 381 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 382 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 387 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 202 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Validate() local 203 if (current_refresh_rate_ != refresh_rate || handle_idle_timeout_) { in Validate() 204 error = display_intf_->SetRefreshRate(refresh_rate); in Validate() 209 current_refresh_rate_ = refresh_rate; in Validate() 400 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 401 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 402 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 407 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 334 display_attributes->fps = timing_mode->refresh_rate / 1000; in GetDisplayAttributes() 403 frame_rate_ = timing_mode->refresh_rate; in SetDisplayAttributes() 628 supported_video_modes_[config_index].refresh_rate, in ReadTimingInfo() 829 DisplayError HWHDMI::GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t *mode, in GetDynamicFrameRateMode() argument 850 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode() 859 pre_refresh_rate_diff = static_cast<int>(dst->refresh_rate) - static_cast<int>(refresh_rate); in GetDynamicFrameRateMode() 866 int cur_refresh_rate_diff = static_cast<int>(timing_mode->refresh_rate) - in GetDynamicFrameRateMode() 867 static_cast<int>(refresh_rate); in GetDynamicFrameRateMode() 885 data->fps = refresh_rate; in GetDynamicFrameRateMode() 891 if (dst->refresh_rate != refresh_rate || dst->pixel_freq != cur->pixel_freq) { in GetDynamicFrameRateMode() [all …]
|
D | hw_hdmi.h | 90 virtual DisplayError SetRefreshRate(uint32_t refresh_rate); 109 DisplayError GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t*mode,
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 322 display_attributes->fps = timing_mode->refresh_rate / 1000; in GetDisplayAttributes() 391 frame_rate_ = timing_mode->refresh_rate; in SetDisplayAttributes() 616 supported_video_modes_[config_index].refresh_rate, in ReadTimingInfo() 817 DisplayError HWHDMI::GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t *mode, in GetDynamicFrameRateMode() argument 838 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode() 847 pre_refresh_rate_diff = static_cast<int>(dst->refresh_rate) - static_cast<int>(refresh_rate); in GetDynamicFrameRateMode() 854 int cur_refresh_rate_diff = static_cast<int>(timing_mode->refresh_rate) - in GetDynamicFrameRateMode() 855 static_cast<int>(refresh_rate); in GetDynamicFrameRateMode() 873 data->fps = refresh_rate; in GetDynamicFrameRateMode() 879 if (dst->refresh_rate != refresh_rate || dst->pixel_freq != cur->pixel_freq) { in GetDynamicFrameRateMode() [all …]
|
D | hw_hdmi.h | 90 virtual DisplayError SetRefreshRate(uint32_t refresh_rate); 109 DisplayError GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t*mode,
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 340 display_attributes->fps = timing_mode->refresh_rate / 1000; in GetDisplayAttributes() 409 frame_rate_ = timing_mode->refresh_rate; in SetDisplayAttributes() 645 supported_video_modes_[config_index].refresh_rate, in ReadTimingInfo() 846 DisplayError HWHDMI::GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t *mode, in GetDynamicFrameRateMode() argument 867 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode() 876 pre_refresh_rate_diff = static_cast<int>(dst->refresh_rate) - static_cast<int>(refresh_rate); in GetDynamicFrameRateMode() 883 int cur_refresh_rate_diff = static_cast<int>(timing_mode->refresh_rate) - in GetDynamicFrameRateMode() 884 static_cast<int>(refresh_rate); in GetDynamicFrameRateMode() 902 data->fps = refresh_rate; in GetDynamicFrameRateMode() 908 if (dst->refresh_rate != refresh_rate || dst->pixel_freq != cur->pixel_freq) { in GetDynamicFrameRateMode() [all …]
|
D | hw_hdmi.h | 90 virtual DisplayError SetRefreshRate(uint32_t refresh_rate); 109 DisplayError GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t*mode,
|
/hardware/qcom/sdm845/display/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 329 display_attributes->fps = timing_mode->refresh_rate / 1000; in GetDisplayAttributes() 398 frame_rate_ = timing_mode->refresh_rate; in SetDisplayAttributes() 637 supported_video_modes_[config_index].refresh_rate, in ReadTimingInfo() 838 DisplayError HWHDMI::GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t *mode, in GetDynamicFrameRateMode() argument 859 if (cur->refresh_rate != frame_rate_) { in GetDynamicFrameRateMode() 868 pre_refresh_rate_diff = static_cast<int>(dst->refresh_rate) - static_cast<int>(refresh_rate); in GetDynamicFrameRateMode() 875 int cur_refresh_rate_diff = static_cast<int>(timing_mode->refresh_rate) - in GetDynamicFrameRateMode() 876 static_cast<int>(refresh_rate); in GetDynamicFrameRateMode() 896 data->fps = refresh_rate; in GetDynamicFrameRateMode() 902 if (dst->refresh_rate != refresh_rate || dst->pixel_freq != cur->pixel_freq) { in GetDynamicFrameRateMode() [all …]
|
D | hw_hdmi.h | 90 virtual DisplayError SetRefreshRate(uint32_t refresh_rate); 109 DisplayError GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t*mode,
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | display_primary.cpp | 227 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument 234 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { in SetRefreshRate() 235 DLOGE("Invalid Fps = %d request", refresh_rate); in SetRefreshRate() 239 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); in SetRefreshRate()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | display_primary.cpp | 239 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument 246 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { in SetRefreshRate() 247 DLOGE("Invalid Fps = %d request", refresh_rate); in SetRefreshRate() 251 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); in SetRefreshRate()
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | display_primary.cpp | 234 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument 241 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { in SetRefreshRate() 242 DLOGE("Invalid Fps = %d request", refresh_rate); in SetRefreshRate() 246 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); in SetRefreshRate()
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | display_primary.cpp | 264 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument 271 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { in SetRefreshRate() 272 DLOGE("Invalid Fps = %d request", refresh_rate); in SetRefreshRate() 276 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); in SetRefreshRate()
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 247 display_attributes->fps = timing_mode->refresh_rate / 1000; in GetDisplayAttributes() 316 frame_rate_ = timing_mode->refresh_rate; in SetDisplayAttributes() 532 supported_video_modes_[config_index].refresh_rate, in ReadTimingInfo() 698 DisplayError HWHDMI::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument 703 if (refresh_rate == frame_rate_) { in SetRefreshRate() 734 snprintf(refresh_rate_string, sizeof(refresh_rate_string), "%d", refresh_rate); in SetRefreshRate() 735 DLOGI_IF(kTagDriverConfig, "Setting refresh rate = %d", refresh_rate); in SetRefreshRate() 738 DLOGE("Failed to write %d with error %s", refresh_rate, strerror(errno)); in SetRefreshRate() 752 frame_rate_ = refresh_rate; in SetRefreshRate()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display_primary.cpp | 277 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Validate() local 279 error = display_intf_->SetRefreshRate(refresh_rate, final_rate); in Validate() 282 current_refresh_rate_ = refresh_rate; in Validate() 633 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument 634 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate() 635 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate() 640 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
|