• Home
  • Raw
  • Download

Lines Matching refs:drm_connector

61 	drmModeConnectorPtr drm_connector;  member
69 m_priv->drm_connector = drmModeGetConnector(this->card().fd(), this->id()); in Connector()
70 assert(m_priv->drm_connector); in Connector()
76 const auto& name = connector_names.at(m_priv->drm_connector->connector_type); in Connector()
77 m_fullname = name + "-" + to_string(m_priv->drm_connector->connector_type_id); in Connector()
82 drmModeFreeConnector(m_priv->drm_connector); in ~Connector()
88 drmModeFreeConnector(m_priv->drm_connector); in refresh()
90 m_priv->drm_connector = drmModeGetConnector(this->card().fd(), this->id()); in refresh()
91 assert(m_priv->drm_connector); in refresh()
97 const auto& name = connector_names.at(m_priv->drm_connector->connector_type); in refresh()
98 m_fullname = name + "-" + to_string(m_priv->drm_connector->connector_type_id); in refresh()
103 if (m_priv->drm_connector->encoder_id != 0) in setup()
104 m_current_encoder = card().get_encoder(m_priv->drm_connector->encoder_id); in setup()
122 if (m_priv->drm_connector->count_modes == 0) in get_default_mode()
124 drmModeModeInfo drmmode = m_priv->drm_connector->modes[0]; in get_default_mode()
131 auto c = m_priv->drm_connector; in get_mode()
155 auto c = m_priv->drm_connector; in get_mode()
194 return m_priv->drm_connector->connection == DRM_MODE_CONNECTED || in connected()
195 m_priv->drm_connector->connection == DRM_MODE_UNKNOWNCONNECTION; in connected()
202 for (int i = 0; i < m_priv->drm_connector->count_encoders; ++i) { in get_possible_crtcs()
203 auto enc = card().get_encoder(m_priv->drm_connector->encoders[i]); in get_possible_crtcs()
223 return m_priv->drm_connector->connector_type; in connector_type()
228 return m_priv->drm_connector->connector_type_id; in connector_type_id()
233 return m_priv->drm_connector->mmWidth; in mmWidth()
238 return m_priv->drm_connector->mmHeight; in mmHeight()
243 return m_priv->drm_connector->subpixel; in subpixel()
255 for (int i = 0; i < m_priv->drm_connector->count_modes; i++) in get_modes()
257 m_priv->drm_connector->modes[i])); in get_modes()
266 for (int i = 0; i < m_priv->drm_connector->count_encoders; i++) { in get_encoders()
267 auto enc = card().get_encoder(m_priv->drm_connector->encoders[i]); in get_encoders()