[RFC PATCH 08/22] drm/i915/display: Remove frontbuffer tracking calls from atomic commit
Jouni Högander
jouni.hogander at intel.com
Fri Mar 24 08:59:53 UTC 2023
Remove all references to frontbuffer tracking from atomic
commit. We are targeting to remove frontbuffer tracking and these can
be safely removed.
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_display.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 1cd82604c032..67c30acbcd89 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -1093,8 +1093,6 @@ static void intel_post_plane_update(struct intel_atomic_state *state,
intel_atomic_get_new_crtc_state(state, crtc);
enum pipe pipe = crtc->pipe;
- intel_frontbuffer_flip(dev_priv, new_crtc_state->fb_bits);
-
if (new_crtc_state->update_wm_post && new_crtc_state->hw.active)
intel_update_watermarks(dev_priv);
@@ -1295,7 +1293,6 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
static void intel_crtc_disable_planes(struct intel_atomic_state *state,
struct intel_crtc *crtc)
{
- struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
const struct intel_crtc_state *new_crtc_state =
intel_atomic_get_new_crtc_state(state, crtc);
unsigned int update_mask = new_crtc_state->update_planes;
@@ -1316,8 +1313,6 @@ static void intel_crtc_disable_planes(struct intel_atomic_state *state,
if (old_plane_state->uapi.visible)
fb_bits |= plane->frontbuffer_bit;
}
-
- intel_frontbuffer_flip(dev_priv, fb_bits);
}
/*
--
2.34.1
More information about the Intel-gfx-trybot
mailing list