[PATCH] drm/vram-helper: turn on PRIME import/export

Christian König christian.koenig at amd.com
Thu Mar 2 13:21:16 UTC 2023


Am 02.03.23 um 11:14 schrieb Simon Ser:
> On Thursday, March 2nd, 2023 at 08:11, Christian König <christian.koenig at amd.com> 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.
>> But what happens if one of your BOs is imported into another device?
> Is there a way to make this fail, always?

Well you could return an error from the attach callback if I'm not 
completely mistaken.

But that's certainly not a standard function of the DRM helpers.

Regards,
Christian.


More information about the dri-devel mailing list