From: Jesse Barnes Subject: Re: [PATCH] drm/i915: handle shared framebuffers when flipping Date: Mon, 26 Jul 2010 10:21:44 -0700 Message-ID: <20100726102144.048cc1d5@virtuousgeek.org> References: <20100723120337.67a6fb9b@virtuousgeek.org> <20100723121307.0396b89d@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cpoproxy3-pub.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by gabe.freedesktop.org (Postfix) with SMTP id 60F9F9E7B1 for ; Mon, 26 Jul 2010 10:21:47 -0700 (PDT) Received: from [75.110.194.140] (helo=localhost) by box514.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1OdRN4-00056j-KW for intel-gfx@lists.freedesktop.org; Mon, 26 Jul 2010 11:21:46 -0600 In-Reply-To: <20100723121307.0396b89d@virtuousgeek.org> 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 Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, 23 Jul 2010 12:13:07 -0700 Jesse Barnes wrote: > On Fri, 23 Jul 2010 12:03:37 -0700 > Jesse Barnes wrote: > > > If a framebuffer is shared across CRTCs, the x,y position of one of them > > is likely to be something other than the origin (e.g. for extended > > desktop configs). So calculate the offset at flip time so such > > configurations can work. > > > > Fixes https://bugs.freedesktop.org/show_bug.cgi?id=28518. > > > > Signed-off-by: Jesse Barnes > > This needs a > > Cc: stable@kernel.org > > too. thanks. And some tested bys: Tested-by: Thomas M. Tested-by: fangxun -- Jesse Barnes, Intel Open Source Technology Center