mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
8989c42d40
Virtual Kernel Mode Setting (vkms) is a virtual /dev/dri/card* device not backed by any actual hardware. It's intended for testing purposes, e.g. to run tests suites with a reproducable setup, or in continuous integration pipelines. Currently mutter don't have any tests that can run on top of vkms, but will eventually get that. To prepare for the ability to do that, and having said kernel module loaded without causing wierd issues with any active session, add an udev rule that tells mutter to ignore any vkms device. Otherwise, when vkms is loaded, mutter would detect it, assume it's a regular monitor, configure it as such, thus add a region of the stage that ends up nowhere, which isn't very helpful. It might also conflict with running actual tests that need to interact with vkms if the active session has taken control of it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1740>
5 lines
306 B
Plaintext
5 lines
306 B
Plaintext
DRIVERS=="i915", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
|
|
DRIVERS=="nouveau", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
|
|
DRIVERS=="amdgpu", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
|
|
DRIVER=="vkms", SUBSYSTEM=="platform", TAG+="mutter-device-ignore"
|