提交 b39d2c62 编写于 作者: V 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: NVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220315140001.1172-8-ville.syrjala@linux.intel.comReviewed-by: NMika Kahola <mika.kahola@intel.com>
上级 b65cbb98
...@@ -1379,7 +1379,7 @@ static void __intel_fbc_flush(struct intel_fbc *fbc, ...@@ -1379,7 +1379,7 @@ static void __intel_fbc_flush(struct intel_fbc *fbc,
if (fbc->active) if (fbc->active)
intel_fbc_nuke(fbc); intel_fbc_nuke(fbc);
else else
__intel_fbc_post_update(fbc); intel_fbc_activate(fbc);
out: out:
mutex_unlock(&fbc->lock); mutex_unlock(&fbc->lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册