Skip to content
Snippets Groups Projects
Commit a915fe5e authored by Tvrtko Ursulin's avatar Tvrtko Ursulin Committed by Jani Nikula
Browse files

drm/i915/overlay: Fix active retire callback alignment


__i915_active_call annotation is required on the retire callback to ensure
correct function alignment.

Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: a21ce8ad ("drm/i915/overlay: Switch to using i915_active tracking")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210429083530.849546-1-tvrtko.ursulin@linux.intel.com


(cherry picked from commit d8e44e4d)
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 402be8a1
No related branches found
No related tags found
No related merge requests found
...@@ -383,7 +383,7 @@ static void intel_overlay_off_tail(struct intel_overlay *overlay) ...@@ -383,7 +383,7 @@ static void intel_overlay_off_tail(struct intel_overlay *overlay)
i830_overlay_clock_gating(dev_priv, true); i830_overlay_clock_gating(dev_priv, true);
} }
static void __i915_active_call static void
intel_overlay_last_flip_retire(struct i915_active *active) intel_overlay_last_flip_retire(struct i915_active *active)
{ {
struct intel_overlay *overlay = struct intel_overlay *overlay =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment