|
@@ -3215,6 +3215,8 @@ static void ironlake_crtc_enable(struct drm_crtc *crtc)
|
|
u32 temp;
|
|
u32 temp;
|
|
bool is_pch_port;
|
|
bool is_pch_port;
|
|
|
|
|
|
|
|
+ WARN_ON(!crtc->enabled);
|
|
|
|
+
|
|
/* XXX: For compatability with the crtc helper code, call the encoder's
|
|
/* XXX: For compatability with the crtc helper code, call the encoder's
|
|
* enable function unconditionally for now. */
|
|
* enable function unconditionally for now. */
|
|
if (intel_crtc->active)
|
|
if (intel_crtc->active)
|
|
@@ -3391,6 +3393,8 @@ static void i9xx_crtc_enable(struct drm_crtc *crtc)
|
|
int pipe = intel_crtc->pipe;
|
|
int pipe = intel_crtc->pipe;
|
|
int plane = intel_crtc->plane;
|
|
int plane = intel_crtc->plane;
|
|
|
|
|
|
|
|
+ WARN_ON(!crtc->enabled);
|
|
|
|
+
|
|
/* XXX: For compatability with the crtc helper code, call the encoder's
|
|
/* XXX: For compatability with the crtc helper code, call the encoder's
|
|
* enable function unconditionally for now. */
|
|
* enable function unconditionally for now. */
|
|
if (intel_crtc->active)
|
|
if (intel_crtc->active)
|