From: bugzilla-daemon@freedesktop.org Subject: [Bug 91704] Tonga startx fails since mesa/drm 56d8dd6 amdgpu: make vamgr per device v2 Date: Sat, 22 Aug 2015 13:31:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0375767103==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C4A6C6E142 for ; Sat, 22 Aug 2015 06:31:23 -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 --===============0375767103== Content-Type: multipart/alternative; boundary="1440250283.2C431.26502"; charset="UTF-8" --1440250283.2C431.26502 Date: Sat, 22 Aug 2015 13:31:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91704 --- Comment #8 from Jammy Zhou --- Thanks for the information. But it seems not expected. Even if amdgpu_device_initialize is called multiple times with different fds (returned by opening the device nodes) in one single process, only one amdgpu_device should be created, since a hash table is maitained for the created devices. In this case, the per-device vamgr should only be initialized as well in one process.I wrote a simple test application (see attached), and it worked for me quite well. Could you try it on your failing system? -- You are receiving this mail because: You are the assignee for the bug. --1440250283.2C431.26502 Date: Sat, 22 Aug 2015 13:31:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 8 on bug 91704 from
Thanks for the information. But it seems not expected. Even if
amdgpu_device_initialize is called multiple times with different fds (returned
by opening the device nodes) in one single process, only one amdgpu_device
should be created, since a hash table is maitained for the created devices. In
this case, the per-device vamgr should only be initialized as well in one
process.I wrote a simple test application (see attached), and it worked for me
quite well. Could you try it on your failing system?


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