Home
last modified time | relevance | path

Searched refs:refresh_rate (Results 1 – 25 of 26) sorted by relevance

12

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_primary.cpp159 uint32_t refresh_rate = GetOptimalRefreshRate(one_updating_layer); in Prepare() local
160 if (current_refresh_rate_ != refresh_rate) { in Prepare()
161 error = display_intf_->SetRefreshRate(refresh_rate); in Prepare()
166 current_refresh_rate_ = refresh_rate; in Prepare()
294 void HWCDisplayPrimary::ForceRefreshRate(uint32_t refresh_rate) { in ForceRefreshRate() argument
295 if ((refresh_rate && (refresh_rate < min_refresh_rate_ || refresh_rate > max_refresh_rate_)) || in ForceRefreshRate()
296 force_refresh_rate_ == refresh_rate) { in ForceRefreshRate()
302 force_refresh_rate_ = refresh_rate; in ForceRefreshRate()
Dhwc_display_primary.h61 void ForceRefreshRate(uint32_t refresh_rate);
Dhwc_display.cpp1515 uint32_t refresh_rate = req_refresh_rate; in SanitizeRefreshRate() local
1517 if (refresh_rate < min_refresh_rate_) { in SanitizeRefreshRate()
1519 refresh_rate = (((min_refresh_rate_ / refresh_rate) + in SanitizeRefreshRate()
1520 ((min_refresh_rate_ % refresh_rate) ? 1 : 0)) * refresh_rate); in SanitizeRefreshRate()
1523 if (refresh_rate > max_refresh_rate_) { in SanitizeRefreshRate()
1524 refresh_rate = max_refresh_rate_; in SanitizeRefreshRate()
1527 return refresh_rate; in SanitizeRefreshRate()
Dhwc_session.cpp957 uint32_t refresh_rate = UINT32(input_parcel->readInt32()); in ConfigureRefreshRate() local
960 refresh_rate); in ConfigureRefreshRate()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_primary.cpp292 DisplayError DisplayPrimary::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument
299 if (refresh_rate < hw_panel_info_.min_fps || refresh_rate > hw_panel_info_.max_fps) { in SetRefreshRate()
300 DLOGE("Invalid Fps = %d request", refresh_rate); in SetRefreshRate()
304 DisplayError error = hw_intf_->SetRefreshRate(refresh_rate); in SetRefreshRate()
Ddisplay_virtual.h60 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
Ddisplay_hdmi.h61 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
Ddisplay_primary.h59 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
Dhw_interface.h85 virtual DisplayError SetRefreshRate(uint32_t refresh_rate) = 0;
Ddisplay_virtual.cpp186 DisplayError DisplayVirtual::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument
Ddisplay_hdmi.cpp187 DisplayError DisplayHDMI::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_primary.cpp369 DisplayError HWPrimary::SetRefreshRate(uint32_t refresh_rate) { in SetRefreshRate() argument
372 if (refresh_rate == display_attributes_.fps) { in SetRefreshRate()
385 snprintf(refresh_rate_string, sizeof(refresh_rate_string), "%d", refresh_rate); in SetRefreshRate()
386 DLOGI_IF(kTagDriverConfig, "Setting refresh rate = %d", refresh_rate); in SetRefreshRate()
389 DLOGE("Failed to write %d with error %s", refresh_rate, strerror(errno)); in SetRefreshRate()
Dhw_primary.h61 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
Dhw_device.h67 virtual DisplayError SetRefreshRate(uint32_t refresh_rate);
Dhw_hdmi.cpp253 display_attributes->fps = timing_mode->refresh_rate / 1000; in GetDisplayAttributes()
533 supported_video_modes_[config_index].refresh_rate, in ReadTimingInfo()
/hardware/qcom/display/msm8996/sdm/include/core/
Ddisplay_interface.h363 virtual DisplayError SetRefreshRate(uint32_t refresh_rate) = 0;
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_qclient.cpp259 uint32_t refresh_rate = (uint32_t)inParcel->readInt32(); in configureDynRefreshRate() local
280 uint32_t rate = roundOff(refresh_rate); in configureDynRefreshRate()
/hardware/qcom/msm8x26/kernel-headers/video/
Dmsm_hdmi_modes.h39 uint32_t refresh_rate; member
/hardware/qcom/msm8x84/kernel-headers/video/
Dmsm_hdmi_modes.h39 uint32_t refresh_rate; member
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_qclient.cpp276 uint32_t refresh_rate = (uint32_t)inParcel->readInt32(); in configureDynRefreshRate() local
297 uint32_t rate = roundOff(refresh_rate); in configureDynRefreshRate()
/hardware/qcom/msm8x84/original-kernel-headers/video/
Dmsm_hdmi_modes.h20 uint32_t refresh_rate; member
/hardware/qcom/msm8994/kernel-headers/video/
Dmsm_hdmi_modes.h57 uint32_t refresh_rate; member
/hardware/qcom/msm8994/original-kernel-headers/video/
Dmsm_hdmi_modes.h37 uint32_t refresh_rate; member
/hardware/qcom/msm8996/kernel-headers/video/
Dmsm_hdmi_modes.h64 uint32_t refresh_rate; member
/hardware/qcom/msm8996/original-kernel-headers/video/
Dmsm_hdmi_modes.h43 uint32_t refresh_rate; member

12