Re: [PATCH 3/3] drm/virtio: implement prime export
From: Noralf TrÃnnes
Date: Wed Feb 27 2019 - 12:11:57 EST
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@xxxxxxxxxx>
Acked-by: Noralf TrÃnnes <noralf@xxxxxxxxxxx>