[PATCH V3] accel/amdxdna: Add BO import and export
Lizhi Hou
lizhi.hou at amd.com
Fri Mar 28 20:04:38 UTC 2025
On 3/28/25 09:16, Jeff Hugo wrote:
> 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+.
Thanks a lot. Added log and pushed to drm-misc-next.
Lizhi
More information about the dri-devel
mailing list