[PATCH 9/9] Revert "debug"

José Roberto de Souza jose.souza at intel.com
Thu Dec 19 15:12:09 UTC 2019


This reverts commit 312806d7e7cce85afdb3ab8dfd0ac5924c809b1e.
---
 drivers/gpu/drm/i915/display/intel_display.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 808da76e211a..8c86ca80517f 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -14121,13 +14121,8 @@ static int intel_atomic_check(struct drm_device *dev,
 
 	for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state,
 					    new_crtc_state, i) {
-		if (needs_modeset(new_crtc_state)) {
-			if (!new_crtc_state->update_pipe) {
-				DRM_DEBUG_KMS("new_crtc_state->update_pipe pipe%c\n", pipe_name(crtc->pipe));
-				WARN_ON(!new_crtc_state->update_pipe);
-			}
+		if (needs_modeset(new_crtc_state))
 			continue;
-		}
 
 		/*
 		 * If we're not doing the full modeset we want to
-- 
2.24.1



More information about the Intel-gfx-trybot mailing list