Skip to content

Commit 72071be

Browse files
committed
drm: Link several object files into drm_kms_helper.ko
Several core DRM functions are not used by the DRM core. Link the object files into the KMS helper library. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20211020131941.15367-3-tzimmermann@suse.de
1 parent 9d27478 commit 72071be

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/gpu/drm/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@ drm-y := drm_aperture.o drm_auth.o drm_cache.o \
88
drm_drv.o \
99
drm_sysfs.o drm_hashtab.o drm_mm.o \
1010
drm_crtc.o drm_fourcc.o drm_modes.o drm_edid.o drm_displayid.o \
11-
drm_encoder_slave.o \
1211
drm_trace_points.o drm_prime.o \
13-
drm_rect.o drm_vma_manager.o drm_flip_work.o \
12+
drm_vma_manager.o \
1413
drm_modeset_lock.o drm_atomic.o drm_bridge.o \
1514
drm_framebuffer.o drm_connector.o drm_blend.o \
1615
drm_encoder.o drm_mode_object.o drm_property.o \
1716
drm_plane.o drm_color_mgmt.o drm_print.o \
1817
drm_dumb_buffers.o drm_mode_config.o drm_vblank.o \
1918
drm_syncobj.o drm_lease.o drm_writeback.o drm_client.o \
20-
drm_client_modeset.o drm_atomic_uapi.o drm_hdcp.o \
19+
drm_client_modeset.o drm_atomic_uapi.o \
2120
drm_managed.o drm_vblank_work.o
2221

2322
drm-$(CONFIG_DRM_LEGACY) += drm_agpsupport.o drm_bufs.o drm_context.o drm_dma.o \
@@ -43,14 +42,15 @@ drm_ttm_helper-y := drm_gem_ttm_helper.o
4342
obj-$(CONFIG_DRM_TTM_HELPER) += drm_ttm_helper.o
4443

4544
drm_kms_helper-y := drm_bridge_connector.o drm_crtc_helper.o drm_dp_helper.o \
46-
drm_dsc.o drm_probe_helper.o \
45+
drm_dsc.o drm_encoder_slave.o drm_flip_work.o drm_hdcp.o \
46+
drm_probe_helper.o \
4747
drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \
4848
drm_kms_helper_common.o drm_dp_dual_mode_helper.o \
4949
drm_simple_kms_helper.o drm_modeset_helper.o \
5050
drm_scdc_helper.o drm_gem_atomic_helper.o \
5151
drm_gem_framebuffer_helper.o \
5252
drm_atomic_state_helper.o drm_damage_helper.o \
53-
drm_format_helper.o drm_self_refresh_helper.o
53+
drm_format_helper.o drm_self_refresh_helper.o drm_rect.o
5454

5555
drm_kms_helper-$(CONFIG_DRM_PANEL_BRIDGE) += bridge/panel.o
5656
drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o

0 commit comments

Comments
 (0)