-
- Downloads
drm-uapi/xe: add exec_queue_id member to drm_xe_wait_user_fence structure
remove the num_engines/instances members from drm_xe_wait_user_fence structure and add a exec_queue_id member Right now this is only checking if the engine list is sane and nothing else. In the end every operation with this IOCTL is a soft check. So, let's formalize that and only use this IOCTL to wait on the fence. exec_queue_id member will help to user space to get proper error code from kernel while in exec_queue reset v2: Also fix test invalid_flag (Francois Dugast) v3: Replace -ETIME with -EIO in test_compute_mode (Brian Welty) Signed-off-by:Bommu Krishnaiah <krishnaiah.bommu@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Francois Dugast <francois.dugast@intel.com> Reviewed-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
Showing
- include/drm-uapi/xe_drm.h 5 additions, 12 deletionsinclude/drm-uapi/xe_drm.h
- lib/xe/xe_ioctl.c 13 additions, 16 deletionslib/xe/xe_ioctl.c
- lib/xe/xe_ioctl.h 4 additions, 7 deletionslib/xe/xe_ioctl.h
- tests/intel/xe_evict.c 2 additions, 2 deletionstests/intel/xe_evict.c
- tests/intel/xe_exec_balancer.c 8 additions, 7 deletionstests/intel/xe_exec_balancer.c
- tests/intel/xe_exec_compute_mode.c 9 additions, 9 deletionstests/intel/xe_exec_compute_mode.c
- tests/intel/xe_exec_fault_mode.c 12 additions, 9 deletionstests/intel/xe_exec_fault_mode.c
- tests/intel/xe_exec_reset.c 5 additions, 5 deletionstests/intel/xe_exec_reset.c
- tests/intel/xe_exec_threads.c 8 additions, 7 deletionstests/intel/xe_exec_threads.c
- tests/intel/xe_waitfence.c 15 additions, 17 deletionstests/intel/xe_waitfence.c
Loading
Please register or sign in to comment