Skip to content
Snippets Groups Projects
Commit 6d03af7d authored by Kenny Ho's avatar Kenny Ho
Browse files

Reduce the scope of device exposure on allocation

At the start of this prototype, all DRM/DRI devices are exposed on
allocation because ROCm/HSA/compute applications always access the
hardware via /dev/kfd and there are no isolation between GPUs via
/dev/kfd.  This patch reduces the scope of /dev/dri to only requested
card(s) such that, for non-compute applications (applications that only
uses /dev/dri/card# and /dev/dri/renderD###), access to other GPUs are
blocked.
parent 5efb4cbe
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment