[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
remotes/origin/mart/auroraeBordersRefactor
Bhushan Shah 7 years ago
parent c3772f4c81
commit ef5406990e
  1. 3
      plugins/platforms/drm/drm_output.cpp

@ -256,7 +256,8 @@ bool DrmOutput::init(drmModeConnector *connector)
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);
if (isInternal()) {

Loading…
Cancel
Save