kwin/plugins/platforms
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
..
drm [platforms/drm] introduce env var to select GPU 2019-09-19 15:01:15 +05:30
fbdev Replace Wayland/XDG outputs checks with enablement checks 2019-09-05 17:29:08 +02:00
hwcomposer Undo some recent cmake changes 2019-09-18 13:50:52 +03:00
virtual Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
wayland Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
x11 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