- 05 Nov, 2017 1 commit
-
-
Martin Flöser authored
Summary: When KWin successfully presents a new mode, it stores the current state as the last working mode. If a new modeset is requested and the atomic test fails, all is undone and reverted to this last knowing mode. Currently included are: * the mode * global position * transformation This is only done on a modeset not when going to DPMS. Test Plan: Selected the not working vertical rotation and nothing bad happened. Reviewers: #kwin, #plasma, subdiff Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8602
-
- 02 Nov, 2017 1 commit
-
-
Martin Flöser authored
Summary: A preparation step to support rotation of outputs. The idea is to rotate using DRM directly and not add it to the compositors. With this change and a small hack to try it, I was able to rotate the screen. Reviewers: #kwin, #plasma, subdiff Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8582
-
- 09 May, 2017 1 commit
-
-
Roman Gilg authored
This patch makes the AMS execution path work with the new DrmCrtc and DrmBuffer structure and solves major issues about: * VT switching * DPMS * Hot plugging * Logout * Memory leaks Test Plan: Tested with Gl and QPainter. Reviewers: #kwin Subscribers: kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D5191
-
- 31 Aug, 2016 1 commit
-
-
Roman Gilg authored
This is Milestone 1 of full support of Atomic Mode Setting (AMS) and Universal Planes in the KWin DRM backend. With Milestone 1 we can use the primary plane of a DRM output and do an AMS commit (this means mode setting aswell as page flipping), if the driver supports it. Until now the functionality is only tested on Intel graphics. You need the drm-next kernel for most recent DRM kernel developments. As boot option set "i915.nuclear_pageflip". Additionally at the moment AMS is still hidden behind the environment variable KWIN_DRM_AMS. Set it, if you want to try out AMS. What needs to be done next: Make it possible to transfer EGL buffers directly to planes and implement logic for deciding about using a plane or not for a specific buffer. You can read more about it on LWN: https://lwn.net/Articles/653071 And on Martin's blog: https://blog.martin-graesslin.com/blog/2015/08/layered-compositing/ I used as model previous work by Daniel Stone for Weston: https://git.collabora.com/cgit/user/daniels/weston.git Reviewed-by: mgraesslin Tags: #kwin Differential Revision: https://phabricator.kde.org/D2370
-