From mboxrd@z Thu Jan 1 00:00:00 1970 From: Archit Taneja Subject: Re: Synchronization between a crtc mode_set and page_flip? Date: Thu, 3 Apr 2014 14:28:32 +0530 Message-ID: <533D22B8.7040908@ti.com> References: <533BDDEF.1050900@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by gabe.freedesktop.org (Postfix) with ESMTP id AF3E56ECF1 for ; Thu, 3 Apr 2014 01:59:20 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Rob Clark Cc: "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org On Wednesday 02 April 2014 06:41 PM, Rob Clark wrote: > On Wed, Apr 2, 2014 at 5:52 AM, Archit Taneja wrote: >> Hi, >> >> I was trying to figure out how we are supposed to manage synchronization >> between a mode_set and a page_flip called on a crtc. >> >> Say, if a mode_set is immediately followed by a page_flip. The driver can't >> process the page_flip straight away since the hardware is still completing >> the mode_set. > > I guess setcrtc is expected to be synchronous(ish).. so a lot of > userspace won't expect the first pageflip to fail with -EBUSY. Okay, thanks. I guess having setcrtc synchronous isn't that bad. Archit