Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329409
b: refs/heads/master
c: fa5c73b
h: refs/heads/master
i:
  329407: c9e6e4d
v: v3
  • Loading branch information
Daniel Vetter committed Sep 6, 2012
1 parent 526ec03 commit e42042d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2cabb0e1d205708dab11bd9e1b97fd080537096
refs/heads/master: fa5c73b1b20ffc7e9df83a5e763af1e3b7cc96d3
24 changes: 8 additions & 16 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -3267,10 +3267,8 @@ static void ironlake_crtc_enable(struct drm_crtc *crtc)
intel_crtc_update_cursor(crtc, true);

encoders:
for_each_encoder_on_crtc(dev, crtc, encoder) {
if (encoder->enable)
encoder->enable(encoder);
}
for_each_encoder_on_crtc(dev, crtc, encoder)
encoder->enable(encoder);
}

static void ironlake_crtc_disable(struct drm_crtc *crtc)
Expand All @@ -3285,10 +3283,8 @@ static void ironlake_crtc_disable(struct drm_crtc *crtc)

/* XXX: For compatability with the crtc helper code, call the encoder's
* disable function unconditionally for now. */
for_each_encoder_on_crtc(dev, crtc, encoder) {
if (encoder->disable)
encoder->disable(encoder);
}
for_each_encoder_on_crtc(dev, crtc, encoder)
encoder->disable(encoder);

if (!intel_crtc->active)
return;
Expand Down Expand Up @@ -3412,10 +3408,8 @@ static void i9xx_crtc_enable(struct drm_crtc *crtc)
intel_crtc_update_cursor(crtc, true);

encoders:
for_each_encoder_on_crtc(dev, crtc, encoder) {
if (encoder->enable)
encoder->enable(encoder);
}
for_each_encoder_on_crtc(dev, crtc, encoder)
encoder->enable(encoder);
}

static void i9xx_crtc_disable(struct drm_crtc *crtc)
Expand All @@ -3429,10 +3423,8 @@ static void i9xx_crtc_disable(struct drm_crtc *crtc)

/* XXX: For compatability with the crtc helper code, call the encoder's
* disable function unconditionally for now. */
for_each_encoder_on_crtc(dev, crtc, encoder) {
if (encoder->disable)
encoder->disable(encoder);
}
for_each_encoder_on_crtc(dev, crtc, encoder)
encoder->disable(encoder);

if (!intel_crtc->active)
return;
Expand Down

0 comments on commit e42042d

Please sign in to comment.