[Bug 106872] vram sizes reported by the kernel totally off
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jun 12 06:59:07 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106872
--- Comment #2 from Christian König <ckoenig.leichtzumerken at gmail.com> ---
(In reply to Michel Dänzer 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 like
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180612/161151b6/attachment-0001.html>
More information about the dri-devel
mailing list