[PATCH 7/8] debug

José Roberto de Souza jose.souza at intel.com
Thu Dec 19 14:31:03 UTC 2019


---
 drivers/gpu/drm/i915/display/intel_display.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index 7c5ff7bc2ead..84341917d4eb 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -14107,8 +14107,13 @@ 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 (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);
+			}
 			continue;
+		}
 
 		/*
 		 * If we're not doing the full modeset we want to
-- 
2.24.1



More information about the Intel-gfx-trybot mailing list