[platforms/drm] Add DPI connector type
Reviewers: #kwin, apol, davidedmundson Reviewed By: #kwin, apol, davidedmundson Subscribers: apol, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D19781
This commit is contained in:
parent
d8af2ee566
commit
380c93ac19
1 changed files with 4 additions and 1 deletions
|
@ -207,7 +207,10 @@ static QHash<int, QByteArray> s_connectorNames = {
|
||||||
{DRM_MODE_CONNECTOR_TV, QByteArrayLiteral("TV")},
|
{DRM_MODE_CONNECTOR_TV, QByteArrayLiteral("TV")},
|
||||||
{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")},
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
Loading…
Reference in a new issue