aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_device.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2021-11-29 10:48:41 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2021-11-30 09:41:28 +0100
commita21800bced7cbaf7bb8f5281db17a5d7ef6e197a (patch)
treeb71a940ac6f0db01084d74f22a17f1ddf5418975 /include/drm/drm_device.h
parentdrm/vmwgfx: Copy DRM hash-table code into driver (diff)
downloadlinux-dev-a21800bced7cbaf7bb8f5281db17a5d7ef6e197a.tar.xz
linux-dev-a21800bced7cbaf7bb8f5281db17a5d7ef6e197a.zip
drm: Declare hashtable as legacy
The DRM hashtable code is only used by internal functions for legacy UMS drivers. Move the implementation behind CONFIG_DRM_LEGACY and the declarations into legacy header files. Unexport the symbols. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211129094841.22499-4-tzimmermann@suse.de
Diffstat (limited to 'include/drm/drm_device.h')
-rw-r--r--include/drm/drm_device.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h
index 604b1d1b2d72..9923c7a6885e 100644
--- a/include/drm/drm_device.h
+++ b/include/drm/drm_device.h
@@ -6,16 +6,13 @@
#include <linux/mutex.h>
#include <linux/idr.h>
-#include <drm/drm_hashtab.h>
+#include <drm/drm_legacy.h>
#include <drm/drm_mode_config.h>
struct drm_driver;
struct drm_minor;
struct drm_master;
-struct drm_device_dma;
struct drm_vblank_crtc;
-struct drm_sg_mem;
-struct drm_local_map;
struct drm_vma_offset_manager;
struct drm_vram_mm;
struct drm_fb_helper;