diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-04 13:01:12 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-04 22:33:53 +0300 |
commit | 420940c3c4055f715a3d30825bfddfaf1fddd6cb (patch) | |
tree | f7411af502e3477265bad1e7d8e79b1889963075 /libkms++ | |
parent | 32c7d8dc04bb2c5ba517aaa05fcd9881420ac7c2 (diff) |
Connector: hack fix EDID blob ID
Diffstat (limited to 'libkms++')
-rw-r--r-- | libkms++/connector.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libkms++/connector.cpp b/libkms++/connector.cpp index b64cdf7..0f471e1 100644 --- a/libkms++/connector.cpp +++ b/libkms++/connector.cpp @@ -64,6 +64,10 @@ Connector::Connector(Card &card, uint32_t id, uint32_t idx) m_priv->drm_connector = drmModeGetConnector(this->card().fd(), this->id()); assert(m_priv->drm_connector); + // XXX drmModeGetConnector() does forced probe, which seems to change (at least) EDID blob id. + // XXX So refresh the props again here. + refresh_props(); + const auto& name = connector_names.at(m_priv->drm_connector->connector_type); m_fullname = name + "-" + to_string(m_priv->drm_connector->connector_type_id); } |