Searched refs:mode_index (Results 1 – 8 of 8) sorted by relevance
162 int mode_index = -1; in SetDisplayAttributes() local163 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() argument199 *mode_index = -1; in GetModeIndex()204 *mode_index = INT32(i); in GetModeIndex()
437 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs() local438 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() local560 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 …]
63 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
176 int mode_index = -1; in SetDisplayAttributes() local178 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() argument218 *mode_index = -1; in GetModeIndex()223 *mode_index = INT32(i); in GetModeIndex()
533 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs() local534 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() local660 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 …]
72 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
76 DisplayError GetOverrideConfig(uint32_t *mode_index);
202 DisplayError DisplayPluggable::GetOverrideConfig(uint32_t *mode_index) { in GetOverrideConfig() argument205 if (!mode_index) { in GetOverrideConfig()220 *mode_index = config_index; in GetOverrideConfig()