Commit 84752ad4 authored by Felix Kuehling's avatar Felix Kuehling Committed by Chen Haixiang
Browse files

Revert "drm/prime: Unexport helpers for fd/handle conversion"

mainline inclusion
from mainline-v6.7-rc4
commit 0514f63cfff38a0dcb7ba9c5f245827edc0c5107
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8VGWZ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0514f63cfff38a0dcb7ba9c5f245827edc0c5107



--------------------------------

Revert "drm/prime: Unexport helpers for fd/handle conversion"

This reverts commit 71a7974a.

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: default avatarThomas Zimmermann <tzimmermann@suse.de>
Acked-by: default avatarDaniel Vetter <daniel@ffwll.ch>
Signed-off-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ea6de9f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment