backends/drm: Detect more connector types
This commit is contained in:
parent
bbc5952f19
commit
aebe1ab3a4
1 changed files with 8 additions and 1 deletions
|
@ -160,8 +160,15 @@ static QHash<int, QByteArray> s_connectorNames = {
|
||||||
{DRM_MODE_CONNECTOR_eDP, QByteArrayLiteral("eDP")},
|
{DRM_MODE_CONNECTOR_eDP, QByteArrayLiteral("eDP")},
|
||||||
{DRM_MODE_CONNECTOR_VIRTUAL, QByteArrayLiteral("Virtual")},
|
{DRM_MODE_CONNECTOR_VIRTUAL, QByteArrayLiteral("Virtual")},
|
||||||
{DRM_MODE_CONNECTOR_DSI, QByteArrayLiteral("DSI")},
|
{DRM_MODE_CONNECTOR_DSI, QByteArrayLiteral("DSI")},
|
||||||
#ifdef DRM_MODE_CONNECTOR_DPI
|
|
||||||
{DRM_MODE_CONNECTOR_DPI, QByteArrayLiteral("DPI")},
|
{DRM_MODE_CONNECTOR_DPI, QByteArrayLiteral("DPI")},
|
||||||
|
#ifdef DRM_MODE_CONNECTOR_WRITEBACK
|
||||||
|
{DRM_MODE_CONNECTOR_WRITEBACK, QByteArrayLiteral("Writeback")},
|
||||||
|
#endif
|
||||||
|
#ifdef DRM_MODE_CONNECTOR_SPI
|
||||||
|
{DRM_MODE_CONNECTOR_SPI, QByteArrayLiteral("SPI")},
|
||||||
|
#endif
|
||||||
|
#ifdef DRM_MODE_CONNECTOR_USB
|
||||||
|
{DRM_MODE_CONNECTOR_USB, QByteArrayLiteral("USB")},
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue