diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-04-30 11:56:39 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-05-03 12:14:09 +0200 |
commit | 2081c6aec0a4f34e1414a6172b88ef3aaebb6120 (patch) | |
tree | 5e311c0998a1de53143a7d1ad441c37b4f0bdd54 /drivers/gpu/drm/i915/display/intel_atomic_plane.c | |
parent | drm/i915: Eliminate extra frame from skl-glk sync->async flip change (diff) | |
download | linux-2081c6aec0a4f34e1414a6172b88ef3aaebb6120.tar.xz linux-2081c6aec0a4f34e1414a6172b88ef3aaebb6120.zip |
drm/i915: s/need_async_flip_disable_wa/need_async_flip_toggle_wa/
Rename need_async_flip_disable_wa to need_async_flip_toggle_wa to
better reflect the fact that we need to deal with the bad
PLANE_CTL_ASYNC_FLIP double buffering behaviour going both
ways.
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240430095639.26390-6-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_atomic_plane.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_atomic_plane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_atomic_plane.c b/drivers/gpu/drm/i915/display/intel_atomic_plane.c index 7098a34a17c8..b083b985d170 100644 --- a/drivers/gpu/drm/i915/display/intel_atomic_plane.c +++ b/drivers/gpu/drm/i915/display/intel_atomic_plane.c @@ -600,7 +600,7 @@ static int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_cr if (intel_plane_do_async_flip(plane, old_crtc_state, new_crtc_state)) { new_crtc_state->do_async_flip = true; new_crtc_state->async_flip_planes |= BIT(plane->id); - } else if (plane->need_async_flip_disable_wa && + } else if (plane->need_async_flip_toggle_wa && new_crtc_state->uapi.async_flip) { /* * On platforms with double buffered async flip bit we |