https://bugs.freedesktop.org/show_bug.cgi?id=106872

--- Comment #2 from Christian König <ckoenig.leichtzumer...@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.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to