[PATCH V3] accel/amdxdna: Add BO import and export
Jeff Hugo
jeff.hugo at oss.qualcomm.com
Fri Mar 28 16:16:34 UTC 2025
On 3/25/2025 2:01 PM, Lizhi Hou wrote:
> Add amdxdna_gem_prime_export() and amdxdna_gem_prime_import() for BO
> import and export. Register mmu notifier for imported BO as well. When
> MMU_NOTIFIER_UNMAP event is received, queue work to remove the notifier.
>
> The same BO could be mapped multiple times if it is exported and imported
> by an application. Use a link list to track VMAs the BO been mapped.
>
> Signed-off-by: Lizhi Hou <lizhi.hou at amd.com>
Reviewed-by: Jeff Hugo <jeff.hugo at oss.qualcomm.com>
I think this was just a one time glitch, but please remember to include
a changelog for v2+.
More information about the dri-devel
mailing list