https://bugs.freedesktop.org/show_bug.cgi?id=104082
--- Comment #25 from Christian König ckoenig.leichtzumerken@gmail.com --- (In reply to Andreas Kilgus from comment #24)
(In reply to Christian König from comment #23)
Take a look at /proc/pagetypeinfo. There must at least be pages at order 9 or higher for an 2MB swiotlb allocation to succeed.
OK, I had a look and if I got it right: memory fragmentation lets the malloc fail. <nitpick>I still would not call that to "run out of memory" - there is enough memory available, its current layout is just not in the desired shape.</nitpick> ;)
Yeah, correct.
One interesting point is that this only seems to happen when DC is enabled, so that points to a possible memory leak there.
Would be interesting to monitor amdgpu_gem_info if there are an increasing number of buffers around when DC is enabled.