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

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.com


Reviewed-by: default avatarMika Kahola <mika.kahola@intel.com>
parent b65cbb98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);