]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Remove the drm_get_unmapped_area() helper
authorZack Rusin <zackr@vmware.com>
Mon, 25 Apr 2022 20:31:52 +0000 (16:31 -0400)
committerZack Rusin <zackr@vmware.com>
Thu, 4 Aug 2022 15:39:27 +0000 (11:39 -0400)
commitabfdd2fd912ef1b8850eccaa7decbe7282228184
tree58707354f8e6c77258b08d00a1d8ddb63948896a
parentdbfaba06a0a9b47bf695d2ee796e53cee780efbe
drm: Remove the drm_get_unmapped_area() helper

This has been only used by the vmwgfx driver and vmwgfx over the last
year removed support for transparent hugepages on vram leaving
drm_get_unmapped_area completely unused.

There's no point in keeping unused code in core drm.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220425203152.1314211-2-zack@kde.org
drivers/gpu/drm/drm_file.c
include/drm/drm_file.h