[PATCH] drm/vgem: create a render node for vgem

Emil Velikov emil.l.velikov at gmail.com
Mon Oct 29 12:00:17 UTC 2018


On Fri, 26 Oct 2018 at 15:40, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Quoting Daniel Vetter (2018-10-26 14:40:36)
> > On Fri, Oct 26, 2018 at 01:06:47PM +0100, Emil Velikov wrote:
> > > From: Emil Velikov <emil.velikov at collabora.com>
> > >
> > > VGEM doesn't do anything modeset specific, so in a way exposing a
> > > primary node is 'wrong'. At the same time, we extensively use if for
> > > creating dumb buffers, fences, prime fd <> handle imports/exports.
>
> What problem are you solving?
Expose a render node, since only the first instance using the card
node gets auth.

> Now if you suggest a way to only expose a
> render node and not a master node, that might be more interesting.

A couple of years ago, I've proposed a way to have render-only
drivers, yet it got shot down. Don't recall was it Daniel V, Dave or
someone else.
If you fancy going that route, be my guest.

Keep in mind that is orthogonal to the goal here.

Thanks
Emil


More information about the dri-devel mailing list