Disclaimer - compile tested only.

Please see if there are interesting changes in here and let me know how to test
user queues. After that I will probably have some other ideas on what to improve
and/or fix in there. For starters I only looked at this single file while I was
trying to understand how it all works.

Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>

Tvrtko Ursulin (12):
  drm/amdgpu/userq: Fix reference leak in amdgpu_userq_wait_ioctl
  drm/amdgpu/userq: Do not allow userspace to trivially triger kernel
    warnings
  drm/amdgpu/userq: Consolidate wait ioctl exit path
  drm/amdgpu/userq: Use drm_gem_objects_lookup in
    amdgpu_userq_signal_ioctl
  drm/amdgpu/userq: Use drm_gem_objects_lookup in
    amdgpu_userq_wait_ioctl
  drm/amdgpu/userq: Use memdup_array_user in amdgpu_userq_wait_ioctl
  drm/amdgpu/userq: Use memdup_array_user in amdgpu_userq_signal_ioctl
  drm/amdgpu/userq: Consolidate fence lookup in amdgpu_userq_wait_ioctl
  drm/amdgpu/userq: No need to xa_erase before destroying the xarray
  drm/amdgpu/userq: Use more appropriate lock in
    amdgpu_userq_fence_driver_alloc
  drm/amdgpu/userq: Stop looking after finding ourselves
  drm/amdgpu/userq: Drop redundant conditional from the irq path

 .../gpu/drm/amd/amdgpu/amdgpu_userq_fence.c   | 597 +++++++-----------
 1 file changed, 245 insertions(+), 352 deletions(-)

-- 
2.51.1

Reply via email to