All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: [PATCH 7/8] Move encoder enable around
Date: Thu, 18 Apr 2013 10:46:14 +0200	[thread overview]
Message-ID: <1366274775-10733-7-git-send-email-daniel.vetter@ffwll.ch> (raw)
In-Reply-To: <1366274775-10733-1-git-send-email-daniel.vetter@ffwll.ch>

-> Will break everything else.
---
 drivers/gpu/drm/i915/intel_display.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index df3132c..7042b2f 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3866,6 +3866,9 @@ static void i9xx_crtc_enable(struct drm_crtc *crtc)
 		if (encoder->pre_enable)
 			encoder->pre_enable(encoder);
 
+	for_each_encoder_on_crtc(dev, crtc, encoder)
+		encoder->enable(encoder);
+
 	if (IS_VALLEYVIEW(dev)) {
 		char port;
 
@@ -3894,9 +3897,6 @@ static void i9xx_crtc_enable(struct drm_crtc *crtc)
 	/* Give the overlay scaler a chance to enable if it's on this pipe */
 	intel_crtc_dpms_overlay(intel_crtc, true);
 	intel_crtc_update_cursor(crtc, true);
-
-	for_each_encoder_on_crtc(dev, crtc, encoder)
-		encoder->enable(encoder);
 }
 
 static void i9xx_pfit_disable(struct intel_crtc *crtc)
-- 
1.7.10.4

  parent reply	other threads:[~2013-04-18  8:43 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17 22:54 Rebase v42 of the outstanding VLV patches Jesse Barnes
2013-04-17 22:54 ` [PATCH 1/5] drm/i915: VLV GPU frequency to opcode functions Jesse Barnes
2013-04-17 22:54 ` [PATCH 2/5] drm/i915: turbo & RC6 support for VLV v7 Jesse Barnes
2013-04-18  5:44   ` Ben Widawsky
2013-04-17 22:54 ` [PATCH 3/5] drm/i915/dp: program VSwing and Preemphasis control settings on VLV Jesse Barnes
2013-04-18  8:03   ` Daniel Vetter
2013-04-18 19:31     ` Daniel Vetter
2013-04-17 22:55 ` [PATCH 4/5] drm/i915: fix VLV limits and m/n/p calculations v2 Jesse Barnes
2013-04-18  8:10   ` Daniel Vetter
2013-04-18  8:51     ` Daniel Vetter
2013-04-18 19:15   ` Daniel Vetter
2013-04-17 22:55 ` [PATCH 5/5] drm/i915: update VLV PLL and DPIO code v10 Jesse Barnes
2013-04-18  8:17   ` Daniel Vetter
2013-04-18  8:46     ` [PATCH 1/8] " Daniel Vetter
2013-04-18  8:46       ` [PATCH 2/8] Review comments Daniel Vetter
2013-04-18 15:30         ` Jesse Barnes
2013-04-18  8:46       ` [PATCH 3/8] Port ready checks for vlv Daniel Vetter
2013-04-18 19:35         ` Daniel Vetter
2013-04-18 22:00           ` Jesse Barnes
2013-04-18  8:46       ` [PATCH 4/8] Fixup bpc vs. bpp confusion Daniel Vetter
2013-04-18  8:46       ` [PATCH 5/8] Random whitespace change Daniel Vetter
2013-04-18  8:46       ` [PATCH 6/8] Move vlv_init_dpio around Daniel Vetter
2013-04-18 15:13         ` Jesse Barnes
2013-04-18  8:46       ` Daniel Vetter [this message]
2013-04-18 15:14         ` [PATCH 7/8] Move encoder enable around Jesse Barnes
2013-04-18 15:27           ` Daniel Vetter
2013-04-18  8:46       ` [PATCH 8/8] More pll limits fixes for vlv Daniel Vetter
2013-04-18 15:42       ` [PATCH 1/8] drm/i915: update VLV PLL and DPIO code v10 Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1366274775-10733-7-git-send-email-daniel.vetter@ffwll.ch \
    --to=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.