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
Showing
- drivers/gpu/drm/Makefile 3 additions, 3 deletionsdrivers/gpu/drm/Makefile
- drivers/gpu/drm/drm_hashtab.c 2 additions, 8 deletionsdrivers/gpu/drm/drm_hashtab.c
- drivers/gpu/drm/drm_legacy.h 39 additions, 1 deletiondrivers/gpu/drm/drm_legacy.h
- include/drm/drm_device.h 1 addition, 4 deletionsinclude/drm/drm_device.h
- include/drm/drm_hashtab.h 0 additions, 79 deletionsinclude/drm/drm_hashtab.h
- include/drm/drm_legacy.h 14 additions, 1 deletioninclude/drm/drm_legacy.h
Please register or sign in to comment