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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Thu May 12 20:50:27 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 a6edfea5da27..06bf86f787e7 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -12500,7 +12500,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