mirror of
https://github.com/systemd/systemd.git
synced 2026-06-24 08:47:49 +00:00
udev: tag kfd devices for xaccess-render (#40888)
The kfd device is used for running compute workloads on AMD GPUs. Users that are logged in should be able to run compute so tag them like other DRM and ACCEL devices are.
This commit is contained in:
committed by
GitHub
parent
63fbe36d27
commit
9d3b73d9bf
@@ -49,6 +49,8 @@ SUBSYSTEM=="drm", KERNEL=="card*", TAG+="uaccess"
|
||||
SUBSYSTEM=="drm", KERNEL=="renderD*", TAG+="uaccess", TAG+="xaccess-render"
|
||||
# DRI accel nodes
|
||||
SUBSYSTEM=="accel", KERNEL=="accel*", TAG+="uaccess", TAG+="xaccess-accel"
|
||||
# AMD KFD nodes
|
||||
SUBSYSTEM=="kfd", KERNEL=="kfd", TAG+="uaccess", TAG+="xaccess-render"
|
||||
{% endif %}
|
||||
{% if DEV_KVM_UACCESS %}
|
||||
# KVM
|
||||
|
||||
Reference in New Issue
Block a user