From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106872] vram sizes reported by the kernel totally off
Date: Tue, 12 Jun 2018 06:59:07 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0774331997=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 52C2789E65
for ; Tue, 12 Jun 2018 06:59:07 +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
--===============0774331997==
Content-Type: multipart/alternative; boundary="15287867470.cEfbc131a.12185"
Content-Transfer-Encoding: 7bit
--15287867470.cEfbc131a.12185
Date: Tue, 12 Jun 2018 06:59:07 +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=3D106872
--- Comment #2 from Christian K=C3=B6nig =
---
(In reply to Michel D=C3=A4nzer from comment #1)
> One possible solution for this would be for amdgpu_bo_pin_restricted and
> amdgpu_bo_unpin to walk the list of memory nodes and calculate exactly how
> much of each of them lies in visible or invisible VRAM.
We actually have a helper for that in amdgpu_vram_mgr_vis_size().
Apart from that if the problem only occurse after a certain time it looks l=
ike
we have a mismatch between adding the pinned size and subtracting it again.=
Or
alternatively some sort of memory corruption.
Have you tried running it with KASAN enabled for a while?
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15287867470.cEfbc131a.12185
Date: Tue, 12 Jun 2018 06:59:07 +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
Commen=
t # 2
on bug 10687=
2
from Christian K=C3=
=B6nig
(In reply to Michel D=C3=A4nzer from comment #1)
> One possible solution for this would be for amdg=
pu_bo_pin_restricted and
> amdgpu_bo_unpin to walk the list of memory nodes and calculate exactly=
how
> much of each of them lies in visible or invisible VRAM.
We actually have a helper for that in amdgpu_vram_mgr_vis_size().
Apart from that if the problem only occurse after a certain time it looks l=
ike
we have a mismatch between adding the pinned size and subtracting it again.=
Or
alternatively some sort of memory corruption.
Have you tried running it with KASAN enabled for a while?
You are receiving this mail because:
- You are the assignee for the bug.
=
--15287867470.cEfbc131a.12185--
--===============0774331997==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0774331997==--