diff options
| author | Thomas Zimmermann <[email protected]> | 2023-06-13 16:51:33 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2023-06-19 13:56:40 +0200 |
| commit | 0adec22702d497385dbdc52abb165f379a00efba (patch) | |
| tree | a9f34a922c354670898fb3716eef7f9f5ee94db4 /drivers/accel | |
| parent | 734458b7620161c07acb801a396d0a4837bcdbd9 (diff) | |
drm: Remove struct drm_driver.gem_prime_mmap
All drivers initialize this field with drm_gem_prime_mmap(). Call
the function directly and remove the field. Simplifies the code and
resolves a long-standing TODO item.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/accel')
| -rw-r--r-- | drivers/accel/ivpu/ivpu_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/accel/ivpu/ivpu_drv.c b/drivers/accel/ivpu/ivpu_drv.c index 2df7643b843d..9f2b9fdcc549 100644 --- a/drivers/accel/ivpu/ivpu_drv.c +++ b/drivers/accel/ivpu/ivpu_drv.c @@ -376,7 +376,6 @@ static const struct drm_driver driver = { .prime_handle_to_fd = drm_gem_prime_handle_to_fd, .prime_fd_to_handle = drm_gem_prime_fd_to_handle, .gem_prime_import = ivpu_gem_prime_import, - .gem_prime_mmap = drm_gem_prime_mmap, .ioctls = ivpu_drm_ioctls, .num_ioctls = ARRAY_SIZE(ivpu_drm_ioctls), |