[Intel-gfx] [PATCH 0/2] drm/i915/selftests: Align igt_spinner_create_request with hangcheck
Jonathan Cavitt
jonathan.cavitt at intel.com
Tue Aug 15 16:53:43 UTC 2023
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 at intel.com>
CC: Chris Wilson <chris.p.wilson at linux.intel.com>
CC: Saurabhg Gupta <saurabhg.gupta at intel.com>
CC: Andi Shyti <andi.shyti at intel.com>
CC: Stuart Summers <stuart.summers at intel.com>
CC: Nirmoy Das <nirmoy.das at intel.com>
CC: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
CC: Michal Winiarski <michal.winiarski at intel.com>
CC: Matt Roper <matthew.d.roper at 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
More information about the Intel-gfx
mailing list