On 2017-05-02 15:32, Emil Velikov wrote:

Carlos, care to throw a comment why it's using nmem and not something
else - say is_dmabuf_mem?

Hm, I do see a potential problem now. The code that maps/unmaps the buffer and calls buf_to_fd() should also set nmems to 1. Then the close() loop is correct.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to