Home
last modified time | relevance | path

Searched refs:connector_info_ (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.cpp461 ret = drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init()
470 if (!connector_info_.is_connected || connector_info_.modes.empty()) { in Init()
472 token_.conn_id, connector_info_.is_connected ? "connected":"disconnected", in Init()
473 connector_info_.modes.size()); in Init()
533 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs()
534 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs()
542 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs()
544 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in InitializeConfigs()
545 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in InitializeConfigs()
546 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs()
[all …]
Dhw_tv_drm.cpp110 if (index >= connector_info_.modes.size()) { in SetDisplayAttributes()
111 DLOGE("Invalid mode index %d mode size %d", index, UINT32(connector_info_.modes.size())); in SetDisplayAttributes()
147 for (size_t idex = 0; idex < connector_info_.modes.size(); idex ++) { in GetConfigIndex()
148 if ((height == connector_info_.modes[idex].mode.vdisplay) && in GetConfigIndex()
149 (width == connector_info_.modes[idex].mode.hdisplay) && in GetConfigIndex()
150 (fps == connector_info_.modes[idex].mode.vrefresh)) { in GetConfigIndex()
151 if ((format >> 1) & (connector_info_.modes[idex].mode.flags >> kBitYUV)) { in GetConfigIndex()
156 if (format & (connector_info_.modes[idex].mode.flags >> kBitRGB)) { in GetConfigIndex()
169 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in GetDefaultConfig()
170 auto &mode = connector_info_.modes[i].mode; in GetDefaultConfig()
[all …]
Dhw_virtual_drm.cpp83 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs()
84 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs()
101 for (auto &item : connector_info_.modes) { in SetWbConfigs()
188 ret = drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in SetDisplayAttributes()
219 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in GetModeIndex()
220 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex()
221 display_attributes.y_pixels == connector_info_.modes[i].mode.vdisplay && in GetModeIndex()
222 display_attributes.fps == connector_info_.modes[i].mode.vrefresh) { in GetModeIndex()
Dhw_peripheral_drm.cpp81 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in PopulateBitClkRates()
82 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in PopulateBitClkRates()
84 for (auto &mode_info : connector_info_.modes) { in PopulateBitClkRates()
105 *bit_clk_rate = (uint32_t)connector_info_.modes[current_mode_index_].bit_clk_rate; in GetDynamicDSIClock()
356 for (auto &item : connector_info_.modes) { in SetupConcurrentWritebackModes()
Dhw_device_drm.h216 sde_drm::DRMConnectorInfo connector_info_ = {}; variable
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_device_drm.cpp398 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init()
437 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs()
438 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs()
444 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs()
446 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in InitializeConfigs()
447 uint32_t height = connector_info_.modes[current_mode_index_].mode.vdisplay; in InitializeConfigs()
448 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs()
449 auto &mode = connector_info_.modes[i].mode; in InitializeConfigs()
474 mode = connector_info_.modes[index].mode; in PopulateDisplayAttributes()
475 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
[all …]
Dhw_tv_drm.cpp100 if (index >= connector_info_.modes.size()) { in SetDisplayAttributes()
101 DLOGE("Invalid mode index %d mode size %d", index, UINT32(connector_info_.modes.size())); in SetDisplayAttributes()
137 for (size_t idex = 0; idex < connector_info_.modes.size(); idex ++) { in GetConfigIndex()
138 if ((height == connector_info_.modes[idex].mode.vdisplay) && in GetConfigIndex()
139 (width == connector_info_.modes[idex].mode.hdisplay) && in GetConfigIndex()
140 (fps == connector_info_.modes[idex].mode.vrefresh)) { in GetConfigIndex()
141 if ((format >> 1) & (connector_info_.modes[idex].mode.flags >> kBitYUV)) { in GetConfigIndex()
146 if (format & (connector_info_.modes[idex].mode.flags >> kBitRGB)) { in GetConfigIndex()
184 hw_panel_info_.hdr_enabled = connector_info_.ext_hdr_prop.hdr_supported; in PopulateHWPanelInfo()
185 hw_panel_info_.hdr_metadata_type_one = connector_info_.ext_hdr_prop.hdr_metadata_type_one; in PopulateHWPanelInfo()
[all …]
Dhw_virtual_drm.cpp82 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs()
83 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in InitializeConfigs()
100 for (auto &item : connector_info_.modes) { in SetWbConfigs()
173 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in SetDisplayAttributes()
200 for (uint32_t i = 0; i < connector_info_.modes.size(); i++) { in GetModeIndex()
201 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex()
202 display_attributes.y_pixels == connector_info_.modes[i].mode.vdisplay && in GetModeIndex()
203 display_attributes.fps == connector_info_.modes[i].mode.vrefresh) { in GetModeIndex()
Dhw_device_drm.h193 sde_drm::DRMConnectorInfo connector_info_ = {}; variable
Dhw_peripheral_drm.cpp194 for (auto &item : connector_info_.modes) { in SetupConcurrentWritebackModes()
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp103 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init()
119 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init()
140 current_mode_ = connector_info_.modes[0]; in InitializeConfigs()
161 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
162 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
163 topology = connector_info_.topology; in PopulateDisplayAttributes()
202 connector_info_.panel_name.c_str()); in PopulateHWPanelInfo()
217 hw_panel_info_.dynamic_fps = connector_info_.dynamic_fps; in PopulateHWPanelInfo()
220 hw_panel_info_.is_primary_panel = connector_info_.is_primary; in PopulateHWPanelInfo()
224 hw_panel_info_.needs_roi_merge = (connector_info_.topology == DRMTopology::DUAL_LM_MERGE); in PopulateHWPanelInfo()
[all …]
Dhw_device_drm.h134 sde_drm::DRMConnectorInfo connector_info_ = {}; variable
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp325 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init()
341 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init()
369 current_mode_ = connector_info_.modes[0]; in InitializeConfigs()
390 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
391 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
392 topology = connector_info_.topology; in PopulateDisplayAttributes()
431 connector_info_.panel_name.c_str()); in PopulateHWPanelInfo()
446 hw_panel_info_.dynamic_fps = connector_info_.dynamic_fps; in PopulateHWPanelInfo()
449 hw_panel_info_.is_primary_panel = connector_info_.is_primary; in PopulateHWPanelInfo()
453 hw_panel_info_.needs_roi_merge = (connector_info_.topology == DRMTopology::DUAL_LM_MERGE); in PopulateHWPanelInfo()
[all …]
Dhw_device_drm.h158 sde_drm::DRMConnectorInfo connector_info_ = {}; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp320 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init()
336 drm_mgr_intf_->GetConnectorInfo(token_.conn_id, &connector_info_); in Init()
364 current_mode_ = connector_info_.modes[0]; in InitializeConfigs()
385 mm_width = connector_info_.mmWidth; in PopulateDisplayAttributes()
386 mm_height = connector_info_.mmHeight; in PopulateDisplayAttributes()
387 topology = connector_info_.topology; in PopulateDisplayAttributes()
426 connector_info_.panel_name.c_str()); in PopulateHWPanelInfo()
441 hw_panel_info_.dynamic_fps = connector_info_.dynamic_fps; in PopulateHWPanelInfo()
444 hw_panel_info_.is_primary_panel = connector_info_.is_primary; in PopulateHWPanelInfo()
448 hw_panel_info_.needs_roi_merge = (connector_info_.topology == DRMTopology::DUAL_LM_MERGE); in PopulateHWPanelInfo()
[all …]
Dhw_device_drm.h160 sde_drm::DRMConnectorInfo connector_info_ = {}; variable