[platforms/drm] Make Atomic Mode Setting the new default
With the recent patches AMS should be stable enough for daily use. It was tested by several people in the last week without reporting back any problems. So make it the new default on master. Leave an env variable for now to deactivate it, in case something bad happens. Reviewers: #kwin, graesslin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D5934
This commit is contained in:
parent
b3247539e4
commit
2f8cc2aa75
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ void DrmBackend::openDrm()
|
|||
m_drmId = device->sysNum();
|
||||
|
||||
// trying to activate Atomic Mode Setting (this means also Universal Planes)
|
||||
if (qEnvironmentVariableIsSet("KWIN_DRM_AMS")) {
|
||||
if (!qEnvironmentVariableIsSet("KWIN_DRM_NO_AMS")) {
|
||||
if (drmSetClientCap(m_fd, DRM_CLIENT_CAP_ATOMIC, 1) == 0) {
|
||||
qCDebug(KWIN_DRM) << "Using Atomic Mode Setting.";
|
||||
m_atomicModeSetting = true;
|
||||
|
|
Loading…
Reference in a new issue