summary refs log tree commit diff
path: root/img
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-07-21 18:00:11 +0000
committerAlyssa Ross <hi@alyssa.is>2023-07-28 12:09:06 +0000
commit99421ee2a14cd1f3e249f5e8928a34c6a8bff11d (patch)
treebd2f63f56cdc30a90edaea8bf5534bed35781a98 /img
parent13bb6394205346d161fa6f1467b7c6ba81196fb0 (diff)
downloadspectrum-99421ee2a14cd1f3e249f5e8928a34c6a8bff11d.tar
spectrum-99421ee2a14cd1f3e249f5e8928a34c6a8bff11d.tar.gz
spectrum-99421ee2a14cd1f3e249f5e8928a34c6a8bff11d.tar.bz2
spectrum-99421ee2a14cd1f3e249f5e8928a34c6a8bff11d.tar.lz
spectrum-99421ee2a14cd1f3e249f5e8928a34c6a8bff11d.tar.xz
spectrum-99421ee2a14cd1f3e249f5e8928a34c6a8bff11d.tar.zst
spectrum-99421ee2a14cd1f3e249f5e8928a34c6a8bff11d.zip
img/app: allow waiting for GPU to appear
This will be important for Wayland applications.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Message-Id: <20230721180015.597099-2-hi@alyssa.is>
Diffstat (limited to 'img')
-rw-r--r--img/app/etc/mdev.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/img/app/etc/mdev.conf b/img/app/etc/mdev.conf
index e370da8..2a3882b 100644
--- a/img/app/etc/mdev.conf
+++ b/img/app/etc/mdev.conf
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: EUPL-1.2+
-# SPDX-FileCopyrightText: 2021-2022 Alyssa Ross <hi@alyssa.is>
+# SPDX-FileCopyrightText: 2021-2023 Alyssa Ross <hi@alyssa.is>
 
 -$MODALIAS=.* 0:0 660 +importas -iu MODALIAS MODALIAS modprobe -q $MODALIAS
 $INTERFACE=.* 0:0 660 ! +/etc/mdev/iface
 $MODALIAS=virtio:d0000001Av.* 0:0 660 ! +/etc/mdev/virtiofs
+dri/card0 0:0 660 +background { /etc/mdev/listen card0 }