[PATCH V2 1/5] drm/vkms: Add dumb operations

Daniel Vetter daniel at ffwll.ch
Fri Jul 6 08:57:56 UTC 2018


On Fri, Jul 6, 2018 at 9:27 AM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Quoting Rodrigo Siqueira (2018-06-21 13:16:13)
>> VKMS currently does not handle dumb data, and as a consequence, it does
>> not provide mechanisms for handling gem. This commit adds the necessary
>> support for gem object/handler and the dumb functions.
>
> I may have been naive, but I didn't think vkms would have need for even the
> dumb GEM object API as it would be a paired with vgem (or any other GEM
> driver) and use dmabuf to import backing storage.

dumb buffers is a part of the kms api. Userspace expects it to be
there, like for all other kms drivers.

But yes eventually I think we should also have some nice prime tests
using vgem. Using crcs it should be possible to check that the fences
are used correctly for flips using only generic kms interfaces, and so
write a purely generic kms + vgem prime testcase.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list