[PATCH] drm/vram-helper: turn on PRIME import/export
Simon Ser
contact at emersion.fr
Thu Mar 2 11:14:57 UTC 2023
On Thursday, March 2nd, 2023 at 09:07, Thomas Zimmermann <tzimmermann at suse.de> wrote:
> Am 01.03.23 um 23:29 schrieb Simon Ser:
>
> > We don't populate gem_prime_import_sg_table so only DMA-BUFs
> > exported from our own device can be imported. Still, this is useful
> > to user-space.
>
> VRAM helpers don't really offer much flexibility or control in where to
> place a BO.
That's fine. The goal here is purely export/import to the exact same
device.
> What happens if the BO is located in device video ram and cannot be
> used by the other participant? A blank screen?
A failure at import-time should happen. But maybe this patch isn't
enough to make this happen?
More information about the dri-devel
mailing list