On 27 April 2017 at 17:44, Philipp Zabel <[email protected]> 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 <[email protected]>
Fixes: 848b49b288f ("gallium: add renderonly library")
Reviewed-by: Emil Velikov <[email protected]>

> +      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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to