diff options
author | André Draszik <draszik@google.com> | 2023-10-13 14:35:51 +0100 |
---|---|---|
committer | Will McVicker <willmcvicker@google.com> | 2023-11-03 16:15:30 -0700 |
commit | 4897a479d3b791c0e51dd612c6a4c7cc9b18d082 (patch) | |
tree | bca664326aa33ec9e30e0ffe8eeae4df24281afb | |
parent | 275e1e487c1d6b8b6811163cf40535989aa6e12f (diff) | |
download | display-android-gs-raviole-mainline.tar.gz |
drm: samsung: Clear fd/handle callbacks in struct drm_driverandroid-gs-raviole-mainline
Linux removed the drm_gem_prime_fd_to_handle() and
drm_gem_prime_handle_to_fd() helpers from the public API [1], as it
calls those now by default [2]
We just need to remove the assignments like in [3]
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71a7974ac701
("drm/prime: Unexport helpers for fd/handle conversion")
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6b85aa68d9d5
("drm: Enable PRIME import/export for all drivers")
[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71e801b9b44f
("drm: Clear fd/handle callbacks in struct drm_driver")
Test: TH
Bug: 305202439
Change-Id: Ia627181670bd263cc4b141be078dc8e17834cb37
Signed-off-by: André Draszik <draszik@google.com>
Signed-off-by: Will McVicker <willmcvicker@google.com>
-rw-r--r-- | samsung/exynos_drm_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/samsung/exynos_drm_drv.c b/samsung/exynos_drm_drv.c index 91367f7..13d2d8e 100644 --- a/samsung/exynos_drm_drv.c +++ b/samsung/exynos_drm_drv.c @@ -869,8 +869,6 @@ static struct drm_driver exynos_drm_driver = { .postclose = exynos_drm_postclose, .dumb_create = exynos_drm_gem_dumb_create, .dumb_map_offset = exynos_drm_gem_dumb_map_offset, - .prime_handle_to_fd = drm_gem_prime_handle_to_fd, - .prime_fd_to_handle = drm_gem_prime_fd_to_handle, .gem_prime_import = exynos_drm_gem_prime_import, .gem_prime_import_sg_table = exynos_drm_gem_prime_import_sg_table, .ioctls = exynos_ioctls, |