From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Christian_K=F6nig?= Subject: Re: [PATCH 14/20] drm/radeon: multiple ring allocator v2 Date: Wed, 09 May 2012 11:53:00 +0200 Message-ID: <4FAA3E7C.50700@vodafone.de> References: <1336390975-30945-1-git-send-email-deathsimple@vodafone.de> <1336390975-30945-15-git-send-email-deathsimple@vodafone.de> <4FA7FC26.7040504@vodafone.de> <4FA832D8.3090205@vodafone.de> <4FA8F40D.5080400@vodafone.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from outgoing.email.vodafone.de (outgoing.email.vodafone.de [139.7.28.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E00E9F011 for ; Wed, 9 May 2012 02:53:03 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jerome Glisse Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On 08.05.2012 16:55, Jerome Glisse wrote: > Still i don't want to loop more than necessary, it's bad, i am ok with : > http://people.freedesktop.org/~glisse/reset5/0001-drm-radeon-multiple-ring-allocator-v3.patch > > If there is fence signaled it will retry 2 times at most, otherwise it > will go to wait and > that way better. Because with your while loop the worst case is > something proportional to > the manager size given it's 1Mo it can loop for a long long time. Yeah, this loop can indeed consume quite some time. Ok then let's at least give every ring a chance to supply some holes, otherwise I fear that we might not even found something worth to wait for after only 2 tries. Going to send that out after figuring out why the patchset still causes texture corruptions on my system. Christian.