[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:
parent
c3772f4c81
commit
ef5406990e
1 changed files with 2 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue