[PATCH 22/26] drm/i915: Always set mode_changed when changing cdclk.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Thu May 12 14:34:05 UTC 2016


All crtc's need to be disabled when changing the cdclk.
The next patch will run the cdclk update async, which requires
even disabled crtc's to block until cdclk is updated.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 1a1af2451e1e..6b4966714cc3 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -12583,7 +12583,7 @@ static int intel_modeset_all_pipes(struct drm_atomic_state *state)
 		if (IS_ERR(crtc_state))
 			return PTR_ERR(crtc_state);
 
-		if (!crtc_state->active || needs_modeset(crtc_state))
+		if (needs_modeset(crtc_state))
 			continue;
 
 		crtc_state->mode_changed = true;
-- 
2.5.5



More information about the Intel-gfx-trybot mailing list