[PATCH 3/3] drm/virtio: implement prime export

Noralf Trønnes noralf at tronnes.org
Wed Feb 27 17:11:47 UTC 2019



Den 27.02.2019 15.44, skrev Gerd Hoffmann:
> Just run drm_prime_pages_to_sg() on the ttm pages list to get an
> sg_table for export.  The pages list is created at object initialization
> time, so there should be no need to handle an unpopulated page list.
> Add a sanity check nevertheless.
> 
> Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

Acked-by: Noralf Trønnes <noralf at tronnes.org>


More information about the dri-devel mailing list