Here taken out calls to i915_inject_probe_failure and changed to use
ALLOW_ERROR_INJECTION for the same functions.
intel_gvt_init and intel_wopcm_init are dropped from testing since
I couldn't hit those at module load time, testing these would just
fail the tests.

wip once seen what different platforms in ci say about this
to take out related i915_inject_probe_failure infra.

/Juha-Pekka

Test-with: [email protected]

Juha-Pekka Heikkila (1):
  drm/i915: switch to use kernel standard error injection

 drivers/gpu/drm/i915/display/intel_connector.c     | 14 ++------------
 .../gpu/drm/i915/display/intel_display_driver.c    |  5 +----
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  4 +---
 drivers/gpu/drm/i915/gt/intel_wopcm.c              |  3 ---
 drivers/gpu/drm/i915/gt/intel_wopcm.h              |  1 +
 drivers/gpu/drm/i915/gt/uc/intel_uc.c              |  4 +---
 drivers/gpu/drm/i915/i915_driver.c                 | 12 +++---------
 drivers/gpu/drm/i915/i915_pci.c                    |  6 +-----
 drivers/gpu/drm/i915/intel_gvt.c                   |  3 ---
 drivers/gpu/drm/i915/intel_uncore.c                |  4 +---
 10 files changed, 11 insertions(+), 45 deletions(-)

-- 
2.43.0

Reply via email to