[Mesa-dev] [PATCH 2/2] renderonly: drop resources on destroy

Philipp Zabel p.zabel at pengutronix.de
Fri Apr 28 11:12:00 UTC 2017


On Fri, 2017-04-28 at 11:19 +0100, Emil Velikov wrote:
> 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.

Thanks, I'll send a follow-up.

regards
Philipp



More information about the mesa-dev mailing list