Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/2] drm/i915/selftests: Align igt_spinner_create_request with hangcheck
@ 2023-08-15 16:53 Jonathan Cavitt
  2023-08-15 16:53 ` [Intel-gfx] [PATCH 1/2] " Jonathan Cavitt
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jonathan Cavitt @ 2023-08-15 16:53 UTC (permalink / raw)
  To: intel-gfx
  Cc: andi.shyti, michal.winiarski, matthew.d.roper, jonathan.cavitt,
	saurabhg.gupta, chris.p.wilson, nirmoy.das

Align igt_spinner_create_request with the hang_create_request
implementation in selftest_hangcheck.c, since they perform the same
actions.  Additionally, refactor the hangcheck live selftest to use
igt_spinner functions and structures instead of those internally
declared for the same reason.

v2:
- Refactor hangcheck selftest to use igt_spinner.

Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
CC: Chris Wilson <chris.p.wilson@linux.intel.com>
CC: Saurabhg Gupta <saurabhg.gupta@intel.com>
CC: Andi Shyti <andi.shyti@intel.com>
CC: Stuart Summers <stuart.summers@intel.com>
CC: Nirmoy Das <nirmoy.das@intel.com>
CC: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
CC: Michal Winiarski <michal.winiarski@intel.com>
CC: Matt Roper <matthew.d.roper@intel.com>

Jonathan Cavitt (2):
  drm/i915/selftests: Align igt_spinner_create_request with hangcheck
  drm/i915/gt: Refactor hangcheck selftest to use igt_spinner

 drivers/gpu/drm/i915/gt/selftest_hangcheck.c | 457 ++++++-------------
 drivers/gpu/drm/i915/selftests/igt_spinner.c |  18 +-
 drivers/gpu/drm/i915/selftests/igt_spinner.h |   9 +
 3 files changed, 158 insertions(+), 326 deletions(-)

-- 
2.25.1


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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 16:53 [Intel-gfx] [PATCH 0/2] drm/i915/selftests: Align igt_spinner_create_request with hangcheck Jonathan Cavitt
2023-08-15 16:53 ` [Intel-gfx] [PATCH 1/2] " Jonathan Cavitt
2023-08-15 19:28   ` Matt Roper
2023-08-16 20:33     ` Cavitt, Jonathan
2023-08-16 21:00       ` Matt Roper
2023-08-16 20:56   ` Andi Shyti
2023-08-15 16:53 ` [Intel-gfx] [PATCH 2/2] drm/i915/gt: Refactor hangcheck selftest to use igt_spinner Jonathan Cavitt
2023-08-15 18:41 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Align igt_spinner_create_request with hangcheck Patchwork
2023-08-15 18:41 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-08-15 18:56 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork

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