kwin/plugins/platforms/drm
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
..
CMakeLists.txt Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
drm.json SVN_SILENT made messages (.desktop file) - always resolve ours 2019-07-23 05:20:30 +02:00
drm_backend.cpp [platforms/drm] introduce env var to select GPU 2019-09-19 15:01:15 +05:30
drm_backend.h [platforms/drm] Rework enablement and dpms switching 2019-09-05 17:36:21 +02:00
drm_buffer.cpp Port away from deprecated headers 2019-07-09 23:59:07 +03:00
drm_buffer.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
drm_buffer_gbm.cpp Port away from deprecated headers 2019-07-09 23:59:07 +03:00
drm_buffer_gbm.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
drm_inputeventfilter.cpp Be consistent about touch point id type: use qint32 2019-08-11 22:15:05 +02:00
drm_inputeventfilter.h Be consistent about touch point id type: use qint32 2019-08-11 22:15:05 +02:00
drm_object.cpp [platforms/drm] Rework ScopedDrmPointer 2019-04-09 14:09:19 +03:00
drm_object.h Fix minor EBN issues 2018-08-29 21:02:16 +03:00
drm_object_connector.cpp [platforms/drm] Rework ScopedDrmPointer 2019-04-09 14:09:19 +03:00
drm_object_connector.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
drm_object_crtc.cpp Backport Night Color feature to X11 2019-06-17 12:09:04 +03:00
drm_object_crtc.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
drm_object_plane.cpp [platforms/drm] Rework ScopedDrmPointer 2019-04-09 14:09:19 +03:00
drm_object_plane.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
drm_output.cpp [platforms/drm] Rework enablement and dpms switching 2019-09-05 17:36:21 +02:00
drm_output.h [platforms/drm] Rework enablement and dpms switching 2019-09-05 17:36:21 +02:00
drm_pointer.h [platforms/drm] Rework ScopedDrmPointer 2019-04-09 14:09:19 +03:00
edid.cpp [platforms/drm] Refactor out Edid class 2019-07-02 20:45:55 +03:00
edid.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
egl_gbm_backend.cpp Introduce generic Output class 2018-08-31 11:53:12 +02:00
egl_gbm_backend.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
egl_stream_backend.cpp [platforms/drm] EGLStream DRM Backend Initial Implementation 2019-04-15 07:26:22 -07:00
egl_stream_backend.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
gbm_surface.cpp [platforms/drm] Use a shared pointer for gbm_surface 2017-10-05 21:32:46 +02:00
gbm_surface.h Port away from deprecated headers 2019-07-09 23:59:07 +03:00
logging.cpp
logging.h
remoteaccess_manager.cpp Port away from deprecated headers 2019-07-09 23:59:07 +03:00
remoteaccess_manager.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
scene_qpainter_drm_backend.cpp Introduce generic Output class 2018-08-31 11:53:12 +02:00
scene_qpainter_drm_backend.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
screens_drm.cpp Move output refresh rate getter into AbstractOutput 2018-11-14 20:04:29 +01:00
screens_drm.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00