[platforms/drm] Consider DSI connector type to be internal display

Summary:
Lot of mobile devices, as well as tablet devices use the DSI connector,
for internal screens. This is more common in ARM devices, so consider
them as internal display as well.

Test Plan: checked on the device with DSI screen, it was considered internal

Reviewers: #kwin, romangg

Reviewed By: #kwin, romangg

Subscribers: romangg, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D24209
This commit is contained in:
Bhushan Shah 2019-09-25 12:02:03 +05:30
parent c3772f4c81
commit ef5406990e

View file

@ -256,7 +256,8 @@ bool DrmOutput::init(drmModeConnector *connector)
return false; return false;
} }
setInternal(connector->connector_type == DRM_MODE_CONNECTOR_LVDS || connector->connector_type == DRM_MODE_CONNECTOR_eDP); setInternal(connector->connector_type == DRM_MODE_CONNECTOR_LVDS || connector->connector_type == DRM_MODE_CONNECTOR_eDP
|| connector->connector_type == DRM_MODE_CONNECTOR_DSI);
setDpmsSupported(true); setDpmsSupported(true);
if (isInternal()) { if (isInternal()) {