public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] HAX: WARN_ON(crtc->crc.opened during disable)
@ 2017-11-08 11:11 Maarten Lankhorst
  2017-11-08 11:20 ` Ville Syrjälä
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Maarten Lankhorst @ 2017-11-08 11:11 UTC (permalink / raw)
  To: intel-gfx

---
 drivers/gpu/drm/i915/intel_display.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 39d1f30cd0c4..436374b08b69 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -12176,6 +12176,7 @@ static void intel_atomic_commit_tail(struct drm_atomic_state *state)
 
 		if (old_crtc_state->active) {
 			intel_crtc_disable_planes(crtc, old_crtc_state->plane_mask);
+			WARN_ON(crtc->crc.opened);
 			dev_priv->display.crtc_disable(to_intel_crtc_state(old_crtc_state), state);
 			intel_crtc->active = false;
 			intel_fbc_disable(intel_crtc);
-- 
2.15.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-11-09  9:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-08 11:11 [PATCH] HAX: WARN_ON(crtc->crc.opened during disable) Maarten Lankhorst
2017-11-08 11:20 ` Ville Syrjälä
2017-11-08 13:06 ` Jani Nikula
2017-11-08 14:59   ` Chris Wilson
2017-11-08 15:27     ` Jani Nikula
2017-11-08 15:38       ` Tomi Sarvela
2017-11-08 15:59         ` Jani Nikula
2017-11-08 16:15           ` Martin Peres
2017-11-09  9:09             ` Jani Nikula
2017-11-09  8:39           ` Tomi Sarvela
2017-11-08 14:39 ` ✗ Fi.CI.BAT: warning for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox