From: Chris Wilson Subject: Re: [PATCH 12/13] drm/i915: Pass plane and crtc to intel_update_sprite_watermarks Date: Tue, 6 Aug 2013 21:25:49 +0100 Message-ID: <20130806202549.GI8181@cantiga.alporthouse.com> References: <1375817052-32310-1-git-send-email-ville.syrjala@linux.intel.com> <1375817052-32310-13-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 (s16502780.onlinehome-server.info [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id E450CE633C for ; Tue, 6 Aug 2013 13:25:56 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1375817052-32310-13-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 Tue, Aug 06, 2013 at 10:24:11PM +0300, ville.syrjala@linux.intel.com wro= te: > From: Ville Syrj=E4l=E4 > = > We're going to want to know the crtc in the watermark code to avoid > doing more work than we have to. We should also pass the plane we're > disabling so that we know where to stick our watermark parameters > without having to go look the plane up. > = > Signed-off-by: Ville Syrj=E4l=E4 Looks a reasonable cleanup. Reviewed-by: Chris Wilson -Chris -- = Chris Wilson, Intel Open Source Technology Centre