diff options
| author | Mike Christie <[email protected]> | 2023-06-26 18:23:03 -0500 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2023-07-03 12:15:14 -0400 |
| commit | cef25866f41c45a01a933adb032b0dcfb25b847a (patch) | |
| tree | 5ebd6f1ab550d2285c52b660229114b378b32999 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | 27eca189114235fde84980b8ee044f42c1d59519 (diff) | |
vhost: add helper to parse userspace vring state/file
The next patches add new vhost worker ioctls which will need to get a
vhost_virtqueue from a userspace struct which specifies the vq's index.
This moves the vhost_vring_ioctl code to do this to a helper so it can
be shared.
Signed-off-by: Mike Christie <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions