From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 5/5] drm/i915: disable the cpu edp port after the cpu pipe Date: Thu, 13 Sep 2012 23:12:47 +0200 Message-ID: <20120913211247.GH5693@phenom.ffwll.local> References: <1346962544-7439-1-git-send-email-daniel.vetter@ffwll.ch> <1346962544-7439-6-git-send-email-daniel.vetter@ffwll.ch> <20120913191718.GE5693@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id 9272B9E732 for ; Thu, 13 Sep 2012 14:12:13 -0700 (PDT) Received: by wgbdq11 with SMTP id dq11so75401wgb.12 for ; Thu, 13 Sep 2012 14:12:12 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Paulo Zanoni Cc: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Thu, Sep 13, 2012 at 04:43:57PM -0300, Paulo Zanoni wrote: > 2012/9/13 Daniel Vetter : > > On Thu, Sep 13, 2012 at 04:11:20PM -0300, Paulo Zanoni wrote: > >> Hi > >> > >> 2012/9/6 Daniel Vetter : > >> > See bspec, Vol3 Part2, Section 1.1.3 "Display Mode Set Sequence". This > >> > applies to all platforms where we currently support eDP on, i.e. ilk, > >> > snb & ivb. > >> > > >> > >> Ok, so I looked at BSpec and the conclusion is: shouldn't we do this > >> for eDP _and_ DP instead of just eDP? The only things to disable > >> before the crtc are audio, the panel backlight, and then the panel > >> power. > >> > >> Your patch looks correct, but maybe it could be even more correct by > >> including DP too? Yes, I can help testing. > > > > The dp pll for cpu edp is special, since we set it in the DP_A register. > > The pll for pch dp ports is just the regular pch pll iirc, and that is > > handled by the common code. Also, dp pch seems to wfm, whereas cpu edp was > > definitely broken. > > > > In any case, frobbing the pch dp sequence would be a separate patch imo. > > So can I still have an r-b for this on here? > > Reviewed-by: Paulo Zanoni I've slurped in the other 3 patches, thanks for the review. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch