Revert "drm/prime: Unexport helpers for fd/handle conversion"
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 17 Nov 2023 21:44:17 +0000 (16:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Nov 2023 19:46:04 +0000 (14:46 -0500)
commit0514f63cfff38a0dcb7ba9c5f245827edc0c5107
tree0643e32f40b3a5bc1aa6455f1dcd0eb626c53608
parented6e4f0a27ebafffbd12bf3878ab004787685d8a
Revert "drm/prime: Unexport helpers for fd/handle conversion"

This reverts commit 71a7974ac7019afeec105a54447ae1dc7216cbb3.

These helper functions are needed for KFD to export and import DMABufs
the right way without duplicating the tracking of DMABufs associated with
GEM objects while ensuring that move notifier callbacks are working as
intended.

CC: Christian König <christian.koenig@amd.com>
CC: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_prime.c
include/drm/drm_prime.h