On Thu, Nov 29, 2018 at 11:23 AM Koenig, Christian <christian.koe...@amd.com>
wrote:

> Hi Marek,
>
> you stumbled over a pretty fundamental bug in the memory management here.
> Essentially we where leaking BOs when we ran into an OOM situation. Patch
> to fix this is on the mailing list.
>
> A second problem is that eviction doesn't seem to work when GDS BOs aren't
> idle. In other words when two applications try to use GDS at the same time
> they don't wait for each other, but rather one looses with an OOM message.
>

FYI, the OOM message is the last issue with GDS. Everything else is good.

I have a workaround in Mesa that re-submits the CS ioctl if it has failed
with -ENOMEM. I guess there is no downside to it other than the OOM spam in
dmesg.

Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to