From: Chris Wilson Subject: Re: [PATCH 29/35] drm/i915: Pass crtc to intel_update_watermarks() and call it in one place during modeset Date: Fri, 5 Jul 2013 10:32:49 +0100 Message-ID: <20130705093249.GE8451@cantiga.alporthouse.com> References: <1373014667-19484-1-git-send-email-ville.syrjala@linux.intel.com> <1373014667-19484-30-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from fireflyinternet.com (unknown [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 43AD8E65E1 for ; Fri, 5 Jul 2013 02:32:56 -0700 (PDT) Received: from fireflyinternet.com (unverified [87.106.93.118]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP id 129467796-1500050 for ; Fri, 05 Jul 2013 10:32:51 +0100 Content-Disposition: inline In-Reply-To: <1373014667-19484-30-git-send-email-ville.syrjala@linux.intel.com> 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: ville.syrjala@linux.intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Jul 05, 2013 at 11:57:41AM +0300, ville.syrjala@linux.intel.com wro= te: > From: Ville Syrj=E4l=E4 > = > Passing the appropriate crtc to intel_update_watermarks() should help > in avoiding needless work in the future. > = > Also make the call intel_update_watermarks() just once during the > modeset. Ideally it should happen independently when each plane gets > enabled/disabled, but for now it seems better to keep it in one place. > We can improve things when we get all the planes sorted out in a better > way. Two patches in one here. I'd like to have the change in calling semantics from set_base as a separate patch. -Chris -- = Chris Wilson, Intel Open Source Technology Centre