diff options
author | Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> | 2023-05-25 11:44:00 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-25 21:17:22 +0200 |
commit | 3d1e78e36274dc410713f4aa66ecd543d8000ebb (patch) | |
tree | 945136ac313ead46034a6c797debf75bc0d0103a /rules.d | |
parent | gpt-auto-generator: also honor systemd.swap=no (diff) | |
download | systemd-3d1e78e36274dc410713f4aa66ecd543d8000ebb.tar.xz systemd-3d1e78e36274dc410713f4aa66ecd543d8000ebb.zip |
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 <stanislaw.gruszka@linux.intel.com>
Diffstat (limited to 'rules.d')
-rw-r--r-- | rules.d/50-udev-default.rules.in | 1 |
1 files changed, 1 insertions, 0 deletions
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" |