[mutter] udev-rules: Use ID_PATH to detect vkms
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] udev-rules: Use ID_PATH to detect vkms
- Date: Wed, 9 Jun 2021 21:06:24 +0000 (UTC)
commit c3feb83529af18b145a5f8bce133101d99b17ee4
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Wed May 26 08:51:48 2021 +0200
udev-rules: Use ID_PATH to detect vkms
Matching against the driver doesn't seem to work, and isn't showing in
udevadm info. Switch to checking ID_PATH; hopefully it won't change too
often.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1892>
data/61-mutter.rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/61-mutter.rules b/data/61-mutter.rules
index 6272f3d69e..edc03e6c1e 100644
--- a/data/61-mutter.rules
+++ b/data/61-mutter.rules
@@ -2,4 +2,4 @@ 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"
DRIVERS=="radeon", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
-DRIVER=="vkms", SUBSYSTEM=="platform", TAG+="mutter-device-ignore"
+ENV{ID_PATH}=="platform-vkms", TAG+="mutter-device-ignore"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]