From: =?UTF-8?q?Christian=20K=C3=B6nig?= Subject: RFC: Removal of some mutexes from the radeon driver Date: Fri, 11 May 2012 12:10:24 +0200 Message-ID: <1336731029-30365-1-git-send-email-deathsimple@vodafone.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 DAEA39E7A9 for ; Fri, 11 May 2012 03:10:42 -0700 (PDT) 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: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Hi everybody, well the following patches remove the cs and vram mutex from the radeon driver and so are something very experimental. The first three just move what I know to be still critical into the protection of the ring mutex, and the other two actually remove the mutexs. Interestingly it still survives a couple of hours running the following script: while true do for (( x = 10, y = 45, i = 0; $i < 144; i = $i + 1 )) do glxgears -geometry 100x100+$x+$y > /dev/null 2>&1 & x=$(expr $x + 120) if [ $x -gt 1920 ] then x=10 y=$(expr $y + 110) fi done sleep 30 killall glxgears done So the mutexes doesn't seem to protected something so critical and I'm wondering why we still have them so widely locked. Cheers, Christian. PS: I'm away for the next week or so don't expect any response soon.