From: Daniel Vetter Subject: Re: [PATCH 11/12] drm/i915: Add explicit pipe src size to pipe config Date: Tue, 3 Sep 2013 09:52:40 +0200 Message-ID: <20130903075240.GB5767@phenom.ffwll.local> References: <1378145619-22655-1-git-send-email-ville.syrjala@linux.intel.com> <1378145619-22655-12-git-send-email-ville.syrjala@linux.intel.com> <20130902184619.GE9374@phenom.ffwll.local> <20130902191143.GY11428@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-f170.google.com (mail-ea0-f170.google.com [209.85.215.170]) by gabe.freedesktop.org (Postfix) with ESMTP id EECCCE5C5B for ; Tue, 3 Sep 2013 00:52:25 -0700 (PDT) Received: by mail-ea0-f170.google.com with SMTP id h14so2800049eak.15 for ; Tue, 03 Sep 2013 00:52:25 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130902191143.GY11428@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 =?iso-8859-1?Q?Syrj=E4l=E4?= Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Mon, Sep 02, 2013 at 10:11:43PM +0300, Ville Syrj=E4l=E4 wrote: > On Mon, Sep 02, 2013 at 08:46:19PM +0200, Daniel Vetter wrote: > > On Mon, Sep 02, 2013 at 09:13:38PM +0300, ville.syrjala@linux.intel.com= wrote: > > > From: Ville Syrj=E4l=E4 > > > = > > > Rather that mess about with hdisplay/vdisplay from requested_mode, add > > > explicit pipe src size information to pipe config. > > > = > > > Now requested_mode is only really relevant for dvo/sdvo output timing= s. > > > For everything else either adjusted_mode or pipe src size should be > > > used. > > > = > > > Signed-off-by: Ville Syrj=E4l=E4 > > = > > Not sold on this - imo it makes more sense to keep track of this in a n= ew > > plane config structure or something similar which ties the fb + metadata > > to the crtc. Then we could move a bunch of things we currently have in = the > > pipe config or someplaces else even (fbc, ips, ...) over there. > = > This size isn't the plane size. It's the pipe size. Two different things. Oops, I guess I'm confused about this. In that case this makes tons of sense. Now just one of our residential watermarks experts (definitely not me) needs to double-check that we're always using the right thing ... -Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch