Now as Selective Fetch is performing full frame update on async flip and
vblank evasion is done as needed we can allow async flip even when
Selective Fetch is enabled.

Signed-off-by: Jouni Högander <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_display.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c 
b/drivers/gpu/drm/i915/display/intel_display.c
index e5ce47efc809..b262c033f24e 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -6017,14 +6017,6 @@ static int intel_async_flip_check_uapi(struct 
intel_atomic_state *state,
                return -EINVAL;
        }
 
-       /* FIXME: selective fetch should be disabled for async flips */
-       if (new_crtc_state->enable_psr2_sel_fetch) {
-               drm_dbg_kms(display->drm,
-                           "[CRTC:%d:%s] async flip disallowed with PSR2 
selective fetch\n",
-                           crtc->base.base.id, crtc->base.name);
-               return -EINVAL;
-       }
-
        for_each_oldnew_intel_plane_in_state(state, plane, old_plane_state,
                                             new_plane_state, i) {
                if (plane->pipe != crtc->pipe)
-- 
2.43.0

Reply via email to