From: Daniel Vetter Subject: Re: [PATCH 11/11] drm/i915: Drop explicit plane restoration during resume Date: Sat, 21 Sep 2013 14:50:29 +0200 Message-ID: <20130921125029.GX32145@phenom.ffwll.local> References: <1379342317-27690-1-git-send-email-ville.syrjala@linux.intel.com> <1379342317-27690-12-git-send-email-ville.syrjala@linux.intel.com> <20130920074110.GN4531@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by gabe.freedesktop.org (Postfix) with ESMTP id 51A3FE5F79 for ; Sat, 21 Sep 2013 05:50:15 -0700 (PDT) Received: by mail-ea0-f169.google.com with SMTP id k11so795160eaj.0 for ; Sat, 21 Sep 2013 05:50:14 -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: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Fri, Sep 20, 2013 at 03:21:03PM -0300, Paulo Zanoni wrote: > 2013/9/20 Paulo Zanoni : > > 2013/9/20 Ville Syrj=E4l=E4 : > >> On Thu, Sep 19, 2013 at 07:24:19PM -0300, Paulo Zanoni wrote: > >>> 2013/9/16 : > >>> > From: Ville Syrj=E4l=E4 > >>> > > >>> > We already restore planes during the modeset operation, so no need = to do > >>> > another loop over the planes and try to restore them again. > >>> > >>> What about the call from intel_lid_notify()? It helps if you explain > >>> on the commit message why/how we already restore things. > >> > >> Sorry, I figured it's more or less obvious: > >> > >> for each crtc > >> -> __intel_set_mode > >> -> .crtc_enable > >> -> intel_enable_planes > >> -> for each plane on crtc > >> -> intel_plane_restore > > > > But that still doesn't explain the case where intel_lid_notify calls > > setup_hw_state directly. > > Perhaps maybe I'm just confused. > = > Yeah, I was totally confused. > = > Now that you resent patch 6, for patches 6-11: Reviewed-by: Paulo > Zanoni Merged them all, thanks for patches&review. > (Daniel will have to rebase some things) wiggle took care of everything ;-) Cheers, Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch