Loading
drm/amdkfd: Export DMABufs from KFD using GEM handles
mainline inclusion from mainline-v6.8-rc1 commit 1819200166ce511ac298dc96b9b17eb655a9edc4 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9TM7F CVE: CVE-2024-36022 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1819200166ce511ac298dc96b9b17eb655a9edc4 -------------------------------- Create GEM handles for exporting DMABufs using GEM-Prime APIs. The GEM handles are created in a drm_client_dev context to avoid exposing them in user mode contexts through a DMABuf import. Signed-off-by:Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by:
Ramesh Errabolu <Ramesh.Errabolu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Conflicts: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c [Due to not merge commit 0e2e7c5b3d71 drm/amdgpu: Attach eviction fence on alloc] Signed-off-by:
Liu Chuang <liuchuang40@huawei.com>