Commit 624ff86e authored by Bhushan Shah's avatar Bhushan Shah 📱

fix: consider DSI display to be embedded panel

Summary:
DSI connector type is widely used in mobile and tablet devices. Consider
them embedded so auto-rotation feature is available.

Test Plan: tested on pinephone and pinetab which have a DSI displays

Reviewers: romangg, davidedmundson

Reviewed By: davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27806
parent 65585290
......@@ -25,7 +25,8 @@ KScreen::Output::Type Utils::guessOutputType(const QString &type, const QString
static const auto embedded = { QLatin1String("LVDS"),
QLatin1String("IDP"),
QLatin1String("EDP"),
QLatin1String("LCD") };
QLatin1String("LCD"),
QLatin1String("DSI") };
for (const QLatin1String &pre : embedded) {
if (name.startsWith(pre, Qt::CaseInsensitive)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment