On 27 April 2017 at 17:44, Philipp Zabel <p.za...@pengutronix.de> wrote:
> The renderonly_scanout holds a reference on its prime pipe resource,
> which should be released when it is destroyed. If it was created by
> renderonly_create_kms_dumb_buffer_for_resource, the dumb BO also has
> to be destroyed.
>
> Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
Fixes: 848b49b288f ("gallium: add renderonly library")
Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com>

> +      ioctl(ro->kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb);
This and there other two instances should be drmIoctl, but that can
happen with a later patch.

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

Reply via email to