diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-03-15 16:00:01 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-04-13 17:20:49 +0300 |
commit | b39d2c6202426b560641e5800c5523851b5db586 (patch) | |
tree | c6c8ab1958d14ab5bf2cea910d858644d85bb8cc | |
parent | b65cbb983f2a0a21f0fcf96eaa5a9c20966f8bd8 (diff) |
drm/i915/fbc: Call intel_fbc_activate() directly from frontbuffer flushdrm-intel-next-2022-04-13-1drm-intel-next-2022-04-13
Remove the pointless detour via __intel_fbc_post_update() during
frontbuffer flush.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220315140001.1172-8-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_fbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c index 040098ef18bc..670835318a1f 100644 --- a/drivers/gpu/drm/i915/display/intel_fbc.c +++ b/drivers/gpu/drm/i915/display/intel_fbc.c @@ -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); |