From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/1] tests/gem_seqno_wrap: dont sync when crossing half of seqno space Date: Thu, 13 Dec 2012 12:53:12 +0100 Message-ID: <20121213115312.GA5737@phenom.ffwll.local> References: <1355395415-19722-1-git-send-email-mika.kuoppala@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id E3456E69A3 for ; Thu, 13 Dec 2012 03:59:32 -0800 (PST) Received: by mail-ee0-f49.google.com with SMTP id c4so1169615eek.36 for ; Thu, 13 Dec 2012 03:59:32 -0800 (PST) Content-Disposition: inline In-Reply-To: <1355395415-19722-1-git-send-email-mika.kuoppala@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: Mika Kuoppala Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Dec 13, 2012 at 12:43:35PM +0200, Mika Kuoppala wrote: > For seqno comparison to work they have to be less than UINT32_MAX/2 > apart. So when crossing the half way of seqno space, be careful not > to sync anything as this causes gpu hangs. Do real test with > syncing only when we are about to wrap. > > v2: Don't spam if no rendercopy was found, only warn once Applied, thanks. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch