Commit b39d2c62 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915/fbc: Call intel_fbc_activate() directly from frontbuffer flush

Remove the pointless detour via __intel_fbc_post_update() during
frontbuffer flush.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220315140001.1172-8-ville.syrjala@linux.intel.comReviewed-by: default avatarMika Kahola <mika.kahola@intel.com>
parent b65cbb98
......@@ -1379,7 +1379,7 @@ static void __intel_fbc_flush(struct intel_fbc *fbc,
if (fbc->active)
intel_fbc_nuke(fbc);
else
__intel_fbc_post_update(fbc);
intel_fbc_activate(fbc);
out:
mutex_unlock(&fbc->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment