aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_drv.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-06-20 07:59:58 +0000
committerThomas Zimmermann <[email protected]>2023-06-26 09:08:41 +0000
commit71e801b9b44f86ce8c816b06960c705f901c50e5 (patch)
treeeacd611dcea430a70c8cfe493b32d72f90d07366 /drivers/gpu/drm/lima/lima_drv.c
parentdrm: Enable PRIME import/export for all drivers (diff)
downloadkernel-71e801b9b44f86ce8c816b06960c705f901c50e5.tar.gz
kernel-71e801b9b44f86ce8c816b06960c705f901c50e5.zip
drm: Clear fd/handle callbacks in struct drm_driver
Clear all assignments of struct drm_driver's fd/handle callbacks to drm_gem_prime_fd_to_handle() and drm_gem_prime_handle_to_fd(). These functions are called by default. Add a TODO item to convert vmwgfx to the defaults as well. v2: * remove TODO item (Zack) * also update amdgpu's amdgpu_partition_driver Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Simon Ser <[email protected]> Acked-by: Alex Deucher <[email protected]> Acked-by: Jeffrey Hugo <[email protected]> # qaic Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_drv.c')
-rw-r--r--drivers/gpu/drm/lima/lima_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/lima/lima_drv.c b/drivers/gpu/drm/lima/lima_drv.c
index 65c31dc38049..3dd078f443bb 100644
--- a/drivers/gpu/drm/lima/lima_drv.c
+++ b/drivers/gpu/drm/lima/lima_drv.c
@@ -276,9 +276,7 @@ static const struct drm_driver lima_drm_driver = {
.patchlevel = 0,
.gem_create_object = lima_gem_create_object,
- .prime_fd_to_handle = drm_gem_prime_fd_to_handle,
.gem_prime_import_sg_table = drm_gem_shmem_prime_import_sg_table,
- .prime_handle_to_fd = drm_gem_prime_handle_to_fd,
};
struct lima_block_reader {