[Mesa-dev] [PATCH 2/2] renderonly: drop resources on destroy
Emil Velikov
emil.l.velikov at gmail.com
Fri Apr 28 10:19:55 UTC 2017
On 27 April 2017 at 17:44, Philipp Zabel <p.zabel at 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.zabel at pengutronix.de>
Fixes: 848b49b288f ("gallium: add renderonly library")
Reviewed-by: Emil Velikov <emil.l.velikov at 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
More information about the mesa-dev
mailing list