Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936458AbcJTPzr convert rfc822-to-8bit (ORCPT ); Thu, 20 Oct 2016 11:55:47 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:34174 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753391AbcJTPzp (ORCPT ); Thu, 20 Oct 2016 11:55:45 -0400 Date: Thu, 20 Oct 2016 13:55:38 -0200 From: Gustavo Padovan To: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Cc: Gustavo Padovan , dri-devel@lists.freedesktop.org, marcheu@google.com, Daniel Stone , seanpaul@google.com, Daniel Vetter , linux-kernel@vger.kernel.org, laurent.pinchart@ideasonboard.com, Gustavo Padovan , John Harrison , m.chehab@samsung.com Subject: Re: [PATCH v5 4/4] drm/fence: add out-fences support Message-ID: <20161020155538.GA10205@joana> References: <1476975005-30441-1-git-send-email-gustavo@padovan.org> <1476975005-30441-5-git-send-email-gustavo@padovan.org> <20161020153518.GX4329@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20161020153518.GX4329@intel.com> User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 18 2016-10-20 Ville Syrj?l? : > On Thu, Oct 20, 2016 at 12:50:05PM -0200, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Support DRM out-fences by creating a sync_file with a fence for each CRTC > > that sets the OUT_FENCE_PTR property. > > I still maintain the out fence should also be per fb (well, per plane > since we can't add it to fbs). Otherwise it's not going to be at all > useful if you do fps>vrefresh and don't include the same set of planes > in every atomic ioctl, eg. if you only ever include ones that are > somehow dirty. How would the kernel signal these dirty planes then? Right now we signal at the vblank. Gustavo