Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] RFC: drm-uapi/xe: add exec_queue_id member to drm_xe_wait_user_fence structure
@ 2023-12-12  5:10 Bommu Krishnaiah
  2023-12-12  5:10 ` [PATCH v5 1/2] " Bommu Krishnaiah
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Bommu Krishnaiah @ 2023-12-12  5:10 UTC (permalink / raw)
  To: igt-dev; +Cc: Bommu Krishnaiah

Remove the num_engines/instances members from drm_xe_wait_user_fence structure
and add a exec_queue_id member

exec_queue-reset-wait subtest to excess behaviour when exec_queue reset happen

about test
Don't wait till timeout on user fence when exec_queue reset is detected
and return return  proper error code

I am able to see exec_queue reset was happened and xe_wait_user_fence_ioctl returned EIO 

test result
below igt tests are passing
xe_exec_balancer.c
xe_exec_compute_mode.c
xe_exec_fault_mode.c
xe_exec_reset.c
xe_exec_threads.c
xe_waitfence.c


Bommu Krishnaiah (2):
  drm-uapi/xe: add exec_queue_id member to drm_xe_wait_user_fence
    structure
  drm-uapi/xe: Don't wait on user_fence during exec queue reset

 include/drm-uapi/xe_drm.h          |  28 ++++----
 lib/xe/xe_ioctl.c                  |  29 ++++----
 lib/xe/xe_ioctl.h                  |  11 ++-
 tests/intel/xe_evict.c             |   4 +-
 tests/intel/xe_exec_balancer.c     |  15 ++--
 tests/intel/xe_exec_compute_mode.c |  18 ++---
 tests/intel/xe_exec_fault_mode.c   |  21 +++---
 tests/intel/xe_exec_reset.c        |   6 +-
 tests/intel/xe_exec_threads.c      |  15 ++--
 tests/intel/xe_waitfence.c         | 111 +++++++++++++++++++++++++----
 10 files changed, 169 insertions(+), 89 deletions(-)

-- 
2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-12 12:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12  5:10 [PATCH v5 0/2] RFC: drm-uapi/xe: add exec_queue_id member to drm_xe_wait_user_fence structure Bommu Krishnaiah
2023-12-12  5:10 ` [PATCH v5 1/2] " Bommu Krishnaiah
2023-12-12  5:39   ` Rodrigo Vivi
2023-12-12  5:10 ` [PATCH v5 2/2] drm-uapi/xe: Don't wait on user_fence during exec queue reset Bommu Krishnaiah
2023-12-12 12:07   ` Francois Dugast
2023-12-12 12:16     ` Bommu, Krishnaiah
2023-12-12  5:35 ` ✗ Fi.CI.BUILD: failure for RFC: drm-uapi/xe: add exec_queue_id member to drm_xe_wait_user_fence structure (rev7) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox