diff options
author | Lukasz Anaczkowski <lukasz.anaczkowski@intel.com> | 2011-09-28 15:30:07 +0200 |
---|---|---|
committer | Andrew Boie <andrew.p.boie@intel.com> | 2012-07-23 16:08:17 -0700 |
commit | e6f8d45da8c61d67dc9fdc1cec53f40594043817 (patch) | |
tree | c1560a1daefa9f66a01a61ca37d6d37830d113d7 | |
parent | ec7d9dc713322bd41b1e348c0ea3b1304a13dba9 (diff) | |
download | system_core-e6f8d45da8c61d67dc9fdc1cec53f40594043817.zip system_core-e6f8d45da8c61d67dc9fdc1cec53f40594043817.tar.gz system_core-e6f8d45da8c61d67dc9fdc1cec53f40594043817.tar.bz2 |
Char device /dev/dri/card0 was not created during startup.
This device is required by libdrm for GPUs like IvyBridge.
Change-Id: I0ac47056a9cec2100f3e6eaa5591571fe6bbc145
Signed-off-by: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com>
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
-rw-r--r-- | init/devices.c | 3 | ||||
-rw-r--r-- | rootdir/ueventd.rc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/init/devices.c b/init/devices.c index 125f981..1e050bd 100644 --- a/init/devices.c +++ b/init/devices.c @@ -624,6 +624,9 @@ static void handle_generic_device_event(struct uevent *uevent) } else if (!strncmp(uevent->subsystem, "graphics", 8)) { base = "/dev/graphics/"; make_dir(base, 0755); + } else if (!strncmp(uevent->subsystem, "drm", 3)) { + base = "/dev/dri/"; + make_dir(base, 0755); } else if (!strncmp(uevent->subsystem, "oncrpc", 6)) { base = "/dev/oncrpc/"; make_dir(base, 0755); diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc index 07624c4..c1fca00 100644 --- a/rootdir/ueventd.rc +++ b/rootdir/ueventd.rc @@ -18,6 +18,9 @@ # gpu driver for adreno200 is globally accessible /dev/kgsl 0666 root root +# kms driver for drm based gpu +/dev/dri/* 0666 root graphics + # these should not be world writable /dev/diag 0660 radio radio /dev/diag_arm9 0660 radio radio |