From 3d1e78e36274dc410713f4aa66ecd543d8000ebb Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Thu, 25 May 2023 11:44:00 +0200 Subject: rules: add rule for accel devices Accel (Compute Acceleration) are new devices for AI/ML computation: https://docs.kernel.org/accel/introduction.html They are part of DRM subsystem. Add them to 'render' group since no other appropriate group in standard linux systems exist. This can be changed when proper common user-space components will emerge, and new group for acceleration devices access will be established. Signed-off-by: Stanislaw Gruszka --- rules.d/50-udev-default.rules.in | 1 + 1 file changed, 1 insertion(+) diff --git a/rules.d/50-udev-default.rules.in b/rules.d/50-udev-default.rules.in index 843bdaf9ce..50ac005016 100644 --- a/rules.d/50-udev-default.rules.in +++ b/rules.d/50-udev-default.rules.in @@ -42,6 +42,7 @@ SUBSYSTEM=="cec", GROUP="video" SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="render", MODE="{{GROUP_RENDER_MODE}}" SUBSYSTEM=="kfd", GROUP="render", MODE="{{GROUP_RENDER_MODE}}" +SUBSYSTEM=="accel", GROUP="render", MODE="{{GROUP_RENDER_MODE}}" SUBSYSTEM=="misc", KERNEL=="sgx_enclave", GROUP="sgx", MODE="0660" SUBSYSTEM=="misc", KERNEL=="sgx_vepc", GROUP="sgx", MODE="0660" -- cgit v1.2.3