diff options
| author | 2019-05-01 11:32:04 +0100 | |
|---|---|---|
| committer | 2019-05-01 12:13:57 +0100 | |
| commit | 45b9c968c5b8a954576038d3cddf9771ebda0a8f (patch) | |
| tree | cf3f4e81db3e3dc91d8786f59ed373ee2ef5d7ac /include | |
| parent | drm/i915: Enable pipe HDR mode on ICL if only HDR planes are used (diff) | |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
