Home
last modified time | relevance | path

Searched refs:mode_index (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp162 int mode_index = -1; in SetDisplayAttributes() local
163 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
165 if (mode_index < 0) { in SetDisplayAttributes()
174 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
176 if (mode_index < 0) { in SetDisplayAttributes()
183 current_mode_index_ = UINT32(mode_index); in SetDisplayAttributes()
198 void HWVirtualDRM::GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index) { in GetModeIndex() argument
199 *mode_index = -1; in GetModeIndex()
204 *mode_index = INT32(i); in GetModeIndex()
Dhw_device_drm.cpp437 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs() local
438 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs()
439 current_mode_index_ = mode_index; in InitializeConfigs()
559 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in PopulateHWPanelInfo() local
560 if ((current_mode.vdisplay == connector_info_.modes[mode_index].mode.vdisplay) && in PopulateHWPanelInfo()
561 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay)) { in PopulateHWPanelInfo()
562 if (min_fps > connector_info_.modes[mode_index].mode.vrefresh) { in PopulateHWPanelInfo()
563 min_fps = connector_info_.modes[mode_index].mode.vrefresh; in PopulateHWPanelInfo()
565 if (max_fps < connector_info_.modes[mode_index].mode.vrefresh) { in PopulateHWPanelInfo()
566 max_fps = connector_info_.modes[mode_index].mode.vrefresh; in PopulateHWPanelInfo()
[all …]
Dhw_virtual_drm.h63 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp176 int mode_index = -1; in SetDisplayAttributes() local
178 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
180 if (mode_index < 0) { in SetDisplayAttributes()
193 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
195 if (mode_index < 0) { in SetDisplayAttributes()
202 current_mode_index_ = UINT32(mode_index); in SetDisplayAttributes()
217 void HWVirtualDRM::GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index) { in GetModeIndex() argument
218 *mode_index = -1; in GetModeIndex()
223 *mode_index = INT32(i); in GetModeIndex()
Dhw_device_drm.cpp533 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs() local
534 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs()
536 mode_index); in InitializeConfigs()
537 current_mode_index_ = mode_index; in InitializeConfigs()
659 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in PopulateHWPanelInfo() local
660 if ((current_mode.vdisplay == connector_info_.modes[mode_index].mode.vdisplay) && in PopulateHWPanelInfo()
661 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay)) { in PopulateHWPanelInfo()
662 if (min_fps > connector_info_.modes[mode_index].mode.vrefresh) { in PopulateHWPanelInfo()
663 min_fps = connector_info_.modes[mode_index].mode.vrefresh; in PopulateHWPanelInfo()
665 if (max_fps < connector_info_.modes[mode_index].mode.vrefresh) { in PopulateHWPanelInfo()
[all …]
Dhw_virtual_drm.h72 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_pluggable.h76 DisplayError GetOverrideConfig(uint32_t *mode_index);
Ddisplay_pluggable.cpp202 DisplayError DisplayPluggable::GetOverrideConfig(uint32_t *mode_index) { in GetOverrideConfig() argument
205 if (!mode_index) { in GetOverrideConfig()
220 *mode_index = config_index; in GetOverrideConfig()