kwin/plugins
Bhushan Shah 6b610927f4 [platforms/drm] introduce env var to select GPU
Summary:
In some environemnts it is possible that udev detection of primary GPU
fails and it picks the first available card (normally card0). But it is
not desired, and it would be required to use different card (card1).

Introduce environment variable, which when used, will make it possible
to use different card node then one selected by udev.

You can use it like KWIN_DRM_DEVICE_NODE=/dev/dri/card1 kwin_wayland

Test Plan: Tested on the device where card0 was not usable for kms, but card1

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D24051
2019-09-19 15:01:15 +05:30
..
idletime Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
kdecorations Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
kglobalaccel Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
kpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2019-08-30 05:26:49 +02:00
platforms [platforms/drm] introduce env var to select GPU 2019-09-19 15:01:15 +05:30
qpa Fix a link error when building kwin. 2019-09-18 11:45:23 +02:00
scenes Undo some recent cmake changes 2019-09-18 13:50:52 +03:00
windowsystem Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
CMakeLists.txt Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00