]> Git Repo - linux.git/commitdiff
drm/i915/overlay: Fix active retire callback alignment
authorTvrtko Ursulin <[email protected]>
Thu, 29 Apr 2021 08:35:29 +0000 (09:35 +0100)
committerJani Nikula <[email protected]>
Wed, 12 May 2021 17:52:59 +0000 (20:52 +0300)
__i915_active_call annotation is required on the retire callback to ensure
correct function alignment.

Signed-off-by: Tvrtko Ursulin <[email protected]>
Fixes: a21ce8ad12d2 ("drm/i915/overlay: Switch to using i915_active tracking")
Cc: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit d8e44e4dd221ee283ea60a6fb87bca08807aa0ab)
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/i915/display/intel_overlay.c

index e5dadde422f74eb04b35859a491284a3ccea3b1a..bbaf05515e88379a9d055511106da30cfe043a88 100644 (file)
@@ -383,7 +383,7 @@ static void intel_overlay_off_tail(struct intel_overlay *overlay)
                i830_overlay_clock_gating(dev_priv, true);
 }
 
-static void
+__i915_active_call static void
 intel_overlay_last_flip_retire(struct i915_active *active)
 {
        struct intel_overlay *overlay =
This page took 0.065544 seconds and 4 git commands to generate.