[PATCH] drm/vkms: prime import support

Daniel Vetter daniel at ffwll.ch
Wed Jul 10 16:39:06 UTC 2019


On Wed, Jul 10, 2019 at 03:38:13PM +0000, Vasilev, Oleg wrote:
> On Wed, 2019-07-10 at 18:35 +0300, Oleg Vasilev wrote:
> > On Wed, 2019-07-10 at 17:31 +0200, Daniel Vetter wrote:
> > > On Thu, Jul 04, 2019 at 11:54:10AM +0300, Oleg Vasilev wrote:
> > > > Bring dmabuf sharing through implementing prime_import_sg_table
> > > > callback.
> > > > This will help to validate userspace conformance in prime
> > > > configurations
> > > > without using any actual hardware (e.g. in the cloud).
> > > > 
> > > > Cc: Rodrigo Siqueira <rodrigosiqueiramelo at gmail.com>
> > > > Cc: Haneen Mohammed <hamohammed.sa at gmail.com>
> > > > Cc: Daniel Vetter <daniel at ffwll.ch>
> > > > Signed-off-by: Oleg Vasilev <oleg.vasilev at intel.com>
> > > 
> > > Btw which igt testcases does this enable? Are the igt patches
> > > already
> > > merged (I think as-is the igt prime tests won't run on vkms).
> > > 
> > > Imo for vkms we really want to make sure there's tests for
> > > everything,
> > > otherwise a fake driver for testing/validation is kinda pointless
> > > ...
> > > -Daniel
> > 
> > I've submitted a patch to IGT, but it is not merged yet:
> > https://patchwork.freedesktop.org/series/63213/
> 
> Oops, this one: 
> https://patchwork.freedesktop.org/patch/315659/?series=63216&rev=1

Ah, replied there. Let's polish the testcase first, then land the kernel
side.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list