linux-stable/drivers/gpu/drm/i915/gt
Chris Wilson 45b9c968c5 drm/i915: Move the engine->destroy() vfunc onto the engine
Make the engine responsible for cleaning itself up!

This removes the i915->gt.cleanup vfunc that has been annoying the
casual reader and myself for the last several years, and helps keep a
future patch to add more cleanup tidy.

v2: Assert that engine->destroy is set after the backend starts
allocating its own state.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190501103204.18632-1-chris@chris-wilson.co.uk
2019-05-01 12:13:57 +01:00
..
intel_breadcrumbs.c
intel_context.c drm/i915: Remove intel_context.active_link 2019-04-26 18:32:17 +01:00
intel_context.h drm/i915: Switch back to an array of logical per-engine HW contexts 2019-04-26 18:32:11 +01:00
intel_context_types.h drm/i915: Remove intel_context.active_link 2019-04-26 18:32:17 +01:00
intel_engine.h drm/i915: Move the engine->destroy() vfunc onto the engine 2019-05-01 12:13:57 +01:00
intel_engine_cs.c drm/i915: Move the engine->destroy() vfunc onto the engine 2019-05-01 12:13:57 +01:00
intel_engine_pm.c drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_engine_pm.h drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_engine_types.h drm/i915: Move the engine->destroy() vfunc onto the engine 2019-05-01 12:13:57 +01:00
intel_gpu_commands.h
intel_gt_pm.c drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_gt_pm.h drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_hangcheck.c drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_lrc.c drm/i915: Move the engine->destroy() vfunc onto the engine 2019-05-01 12:13:57 +01:00
intel_lrc.h drm/i915: Split engine setup/init into two phases 2019-04-26 18:32:07 +01:00
intel_lrc_reg.h
intel_mocs.c
intel_mocs.h
intel_reset.c drm/i915: extract intel_overlay.h from intel_drv.h and i915_drv.h 2019-04-30 15:04:41 +03:00
intel_reset.h drm/i915: Invert the GEM wakeref hierarchy 2019-04-24 22:26:49 +01:00
intel_ringbuffer.c drm/i915: Move the engine->destroy() vfunc onto the engine 2019-05-01 12:13:57 +01:00
intel_sseu.c
intel_sseu.h
intel_workarounds.c drm/i915/icl: Whitelist GEN9_SLICE_COMMON_ECO_CHICKEN1 2019-04-30 07:50:58 +01:00
intel_workarounds.h
intel_workarounds_types.h
Makefile
Makefile.header-test
mock_engine.c drm/i915: Switch back to an array of logical per-engine HW contexts 2019-04-26 18:32:11 +01:00
mock_engine.h drm/i915: Split engine setup/init into two phases 2019-04-26 18:32:07 +01:00
selftest_engine_cs.c
selftest_hangcheck.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
selftest_lrc.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00
selftest_workarounds.c drm/i915: Move i915_request_alloc into selftests/ 2019-04-26 18:32:20 +01:00