[PATCH] Revert "drm/virtio: drop prime import/export callbacks"

Dave Airlie airlied at gmail.com
Wed Apr 24 00:54:55 UTC 2019


On Wed, 24 Apr 2019 at 02:18, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>
> On Tue, 23 Apr 2019 at 15:06, Gerd Hoffmann <kraxel at redhat.com> wrote:
> >
> > On Tue, Apr 23, 2019 at 12:55:07PM +0100, Emil Velikov wrote:
> > > On Tue, 23 Apr 2019 at 09:05, Gerd Hoffmann <kraxel at redhat.com> wrote:
> > > >
> > > >   Hi,
> > > >
> > > > > > The DRI3 code extensively uses prime_handle_to_fd and
> > > > > > prime_fd_to_handle for self-import.
> > > >
> > > > The callbacks are not used for self-import.

Btw for drm-fixes I'm reverting this as it is a userspace regression.

I've dropped the warn prints in the revert, I think userspace should
be fixed, and/or kernel space but without regression behaviour.

Dave.


More information about the dri-devel mailing list