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>
This commit is contained in:
parent
ec7d9dc713
commit
e6f8d45da8
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue