/hardware/qcom/display/sdm845/sdm/libs/hwc/ |
hwc_display_external.cpp | 139 uint32_t refresh_rate = GetOptimalRefreshRate(one_video_updating_layer); local 141 error = display_intf_->SetRefreshRate(refresh_rate, final_rate); 144 current_refresh_rate_ = refresh_rate; 291 void HWCDisplayExternal::ForceRefreshRate(uint32_t refresh_rate) { 292 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || 293 force_refresh_rate_ == refresh_rate) { 298 force_refresh_rate_ = refresh_rate;
|
hwc_display_primary.cpp | 194 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); local 196 error = display_intf_->SetRefreshRate(refresh_rate, final_rate); 199 current_refresh_rate_ = refresh_rate; 347 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { 348 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || 349 force_refresh_rate_ == refresh_rate) { 355 force_refresh_rate_ = refresh_rate;
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_display_primary.cpp | 173 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); local 174 if (current_refresh_rate_ != refresh_rate) { 175 error = display_intf_->SetRefreshRate(refresh_rate); 180 current_refresh_rate_ = refresh_rate; 306 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { 307 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || 308 force_refresh_rate_ == refresh_rate) { 314 force_refresh_rate_ = refresh_rate; [all...] |
/hardware/qcom/display/sdm845/sdm/libs/core/ |
display_primary.cpp | 267 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate, bool final_rate) { 274 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { 275 DLOGE("Invalid Fps = %d request", refresh_rate); 280 refresh_rate = hw_panel_info_.min_fps; 283 if ((current_refresh_rate_ != refresh_rate) || handle_idle_timeout_) { 284 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); 291 current_refresh_rate_ = refresh_rate;
|
display_hdmi.cpp | 140 DisplayError DisplayHDMI::SetRefreshRate(uint32_t refresh_rate, bool final_rate) { 147 if (current_refresh_rate_ != refresh_rate) { 148 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); 154 current_refresh_rate_ = refresh_rate;
|
display_hdmi.h | 47 virtual DisplayError SetRefreshRate(uint32_t refresh_rate, bool final_rate);
|
display_primary.h | 52 virtual DisplayError SetRefreshRate(uint32_t refresh_rate, bool final_rate);
|
display_virtual.h | 56 virtual DisplayError SetRefreshRate(uint32_t refresh_rate, bool final_rate) {
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
hwc_display_primary.cpp | 189 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); local 190 if (current_refresh_rate_ != refresh_rate) { 191 error = display_intf_->SetRefreshRate(refresh_rate); 196 current_refresh_rate_ = refresh_rate; 368 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { 369 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || 370 force_refresh_rate_ == refresh_rate) { 375 force_refresh_rate_ = refresh_rate; [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
hwc_display_primary.cpp | 189 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); local 190 if (current_refresh_rate_ != refresh_rate) { 191 error = display_intf_->SetRefreshRate(refresh_rate); 196 current_refresh_rate_ = refresh_rate; 380 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { 381 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || 382 force_refresh_rate_ == refresh_rate) { 387 force_refresh_rate_ = refresh_rate; [all...] |
/hardware/qcom/display/msm8996/sdm/libs/core/ |
display_primary.cpp | 227 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate) { 234 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { 235 DLOGE("Invalid Fps = %d request", refresh_rate); 239 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate);
|
display_hdmi.h | 47 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
|
display_primary.h | 52 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
|
display_virtual.h | 56 virtual DisplayError SetRefreshRate(uint32_t refresh_rate) {
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
hw_hdmi.cpp | 322 display_attributes->fps = timing_mode->refresh_rate / 1000; 391 frame_rate_ = timing_mode->refresh_rate; 616 supported_video_modes_[config_index].refresh_rate, 817 DisplayError HWHDMI::GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t *mode, 838 if (cur->refresh_rate != frame_rate_) { 847 pre_refresh_rate_diff = static_cast<int>(dst->refresh_rate) - static_cast<int>(refresh_rate); 854 int cur_refresh_rate_diff = static_cast<int>(timing_mode->refresh_rate) - 855 static_cast<int>(refresh_rate); 873 data->fps = refresh_rate; [all...] |
hw_hdmi.h | 90 virtual DisplayError SetRefreshRate(uint32_t refresh_rate); 109 DisplayError GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t*mode,
|
/hardware/qcom/display/sdm845/sdm/libs/core/fb/ |
hw_hdmi.cpp | 322 display_attributes->fps = timing_mode->refresh_rate / 1000; 391 frame_rate_ = timing_mode->refresh_rate; 616 supported_video_modes_[config_index].refresh_rate, 817 DisplayError HWHDMI::GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t *mode, 838 if (cur->refresh_rate != frame_rate_) { 847 pre_refresh_rate_diff = static_cast<int>(dst->refresh_rate) - static_cast<int>(refresh_rate); 854 int cur_refresh_rate_diff = static_cast<int>(timing_mode->refresh_rate) - 855 static_cast<int>(refresh_rate); 873 data->fps = refresh_rate; [all...] |
hw_hdmi.h | 90 virtual DisplayError SetRefreshRate(uint32_t refresh_rate); 109 DisplayError GetDynamicFrameRateMode(uint32_t refresh_rate, uint32_t*mode,
|
/hardware/qcom/display/sdm845/sdm/libs/hwc2/ |
hwc_display_primary.cpp | 190 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); local 192 error = display_intf_->SetRefreshRate(refresh_rate, final_rate); 195 current_refresh_rate_ = refresh_rate; 373 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { 374 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || 375 force_refresh_rate_ == refresh_rate) { 380 force_refresh_rate_ = refresh_rate;
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
display_primary.cpp | 264 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate) { 271 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { 272 DLOGE("Invalid Fps = %d request", refresh_rate); 276 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate);
|
display_hdmi.h | 46 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
|
display_primary.h | 51 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
|
display_virtual.h | 55 virtual DisplayError SetRefreshRate(uint32_t refresh_rate) {
|
/frameworks/base/services/core/java/com/android/server/display/ |
VirtualDisplayAdapter.java | 190 private static final float REFRESH_RATE = 60.0f; 221 mMode = createMode(width, height, REFRESH_RATE); 300 mMode = createMode(width, height, REFRESH_RATE); 335 mInfo.presentationDeadlineNanos = 1000000000L / (int) REFRESH_RATE; // 1 frame
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
hw_hdmi.cpp | 247 display_attributes->fps = timing_mode->refresh_rate / 1000; 316 frame_rate_ = timing_mode->refresh_rate; 532 supported_video_modes_[config_index].refresh_rate, 698 DisplayError HWHDMI::SetRefreshRate(uint32_t refresh_rate) { 703 if (refresh_rate == frame_rate_) { 734 snprintf(refresh_rate_string, sizeof(refresh_rate_string), "%d", refresh_rate); 735 DLOGI_IF(kTagDriverConfig, "Setting refresh rate = %d", refresh_rate); 738 DLOGE("Failed to write %d with error %s", refresh_rate, strerror(errno)); 752 frame_rate_ = refresh_rate;
|