aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-03-25 13:01:05 -0700
committerLizhi Hou <lizhi.hou@amd.com>2025-03-28 11:14:06 -0700
commite486147c912f653ef4b60a6c7dbd4168a4c56a9f (patch)
tree7dece24dba2368506ce48a03ab21e72fde3293b8 /drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c
parentdrm/nouveau/outp: Avoid -Wflex-array-member-not-at-end warning (diff)
downloadlinux-e486147c912f653ef4b60a6c7dbd4168a4c56a9f.tar.gz
linux-e486147c912f653ef4b60a6c7dbd4168a4c56a9f.zip
accel/amdxdna: Add BO import and export
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. v2: Rebased and call get_dma_buf() before dma_buf_attach() v3: Removed import_attach usage Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://lore.kernel.org/r/20250325200105.2744079-1-lizhi.hou@amd.com
Diffstat (limited to 'drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c')
0 files changed, 0 insertions, 0 deletions