From c3feb83529af18b145a5f8bce133101d99b17ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 26 May 2021 08:51:48 +0200 Subject: [PATCH] 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: --- 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 6272f3d69..edc03e6c1 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"