[Mesa-dev] [PATCH 1/2] renderonly: close transfer prime_fd

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 28 10:19:39 UTC 2017


On 27 April 2017 at 17:44, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> prime_fd is only used to transfer the scanout buffer to the GPU inside
> renderonly_create_kms_dumb_buffer_for_resource. It should be closed
> immediately to avoid leaking the DMA-BUF file handle.
>
> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
Fixes: 848b49b288f ("gallium: add renderonly library")
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

-Emil


More information about the mesa-dev mailing list