diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lvds.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_lvds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index 071b96d6e146..24e8730dc189 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c | |||
@@ -509,7 +509,7 @@ static int intel_lvds_set_property(struct drm_connector *connector, | |||
509 | intel_connector->panel.fitting_mode = value; | 509 | intel_connector->panel.fitting_mode = value; |
510 | 510 | ||
511 | crtc = intel_attached_encoder(connector)->base.crtc; | 511 | crtc = intel_attached_encoder(connector)->base.crtc; |
512 | if (crtc && crtc->enabled) { | 512 | if (crtc && crtc->state->enable) { |
513 | /* | 513 | /* |
514 | * If the CRTC is enabled, the display will be changed | 514 | * If the CRTC is enabled, the display will be changed |
515 | * according to the new panel fitting mode. | 515 | * according to the new panel fitting mode. |