From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97594] [amdgpu SI] "drm/amd/amdgpu: Add GRBM lock to various SI functions" breaks amdgpu support for SI Date: Wed, 07 Sep 2016 12:05:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0660132957==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 682C06E9F7 for ; Wed, 7 Sep 2016 12:05:18 +0000 (UTC) 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: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0660132957== Content-Type: multipart/alternative; boundary="14732499182.F947AA9A.9635"; charset="UTF-8" --14732499182.F947AA9A.9635 Date: Wed, 7 Sep 2016 12:05:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97594 --- Comment #7 from Tom St Denis --- The problem is a double lock. The grbm_idx_mutex lock is taken in gfx_v6_0_get_cu_info() which then calls gfx_v6_0_get_cu_active_bitmap() whi= ch also takes the lock. The fix is to remove the lock and the select from the parent function. I'll attach a patch momentarily. --=20 You are receiving this mail because: You are the assignee for the bug.= --14732499182.F947AA9A.9635 Date: Wed, 7 Sep 2016 12:05:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 7 on bug 97594<= /a> from Tom St Denis
The problem is a double lock.  The grbm_idx_mutex lock is take=
n in
gfx_v6_0_get_cu_info() which then calls gfx_v6_0_get_cu_active_bitmap() whi=
ch
also takes the lock.

The fix is to remove the lock and the select from the parent function.  I'll
attach a patch momentarily.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14732499182.F947AA9A.9635-- --===============0660132957== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0660132957==--