From: bugzilla-daemon@freedesktop.org Subject: [Bug 90537] radeonsi bo/va conflict on RADEON_GEM_VA (rscreen->ws->buffer_from_handle returns NULL) Date: Thu, 21 May 2015 19:19:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0237389351==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E26126E3AB for ; Thu, 21 May 2015 12:19:38 -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: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0237389351== Content-Type: multipart/alternative; boundary="1432235978.0Bcd5510.13400"; charset="UTF-8" --1432235978.0Bcd5510.13400 Date: Thu, 21 May 2015 19:19:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D90537 --- Comment #4 from Christian K=C3=B6nig --- Watch out for memory leaks as well. When mesa drops the last reference to the BO by closing it's handle the VA mapping should go away automatically. That's the reason why it works for X = and EGL. What you see here is that you manually need to remove the VA mapping because there is still a reference to the BO outside of mesa. Could be intentional, but could be a bug as well. Anyway Michels patch is clearly a good idea. --=20 You are receiving this mail because: You are the assignee for the bug. --1432235978.0Bcd5510.13400 Date: Thu, 21 May 2015 19:19:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 90537<= /a> from Christian K=C3=B6nig
Watch out for memory leaks as well.

When mesa drops the last reference to the BO by closing it's handle the VA
mapping should go away automatically. That's the reason why it works for X =
and
EGL.

What you see here is that you manually need to remove the VA mapping because
there is still a reference to the BO outside of mesa.

Could be intentional, but could be a bug as well.

Anyway Michels patch is clearly a good idea.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1432235978.0Bcd5510.13400-- --===============0237389351== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0237389351==--