All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm: Move several files from DRM core into modules
@ 2021-10-20 13:19 Thomas Zimmermann
  2021-10-20 13:19 ` [PATCH 1/3] drm: Build drm_irq.o only if CONFIG_DRM_LEGACY has been set Thomas Zimmermann
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Thomas Zimmermann @ 2021-10-20 13:19 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, airlied, daniel; +Cc: dri-devel, Thomas Zimmermann

Move a number of files into modules and behind config options.

So far, early boot graphics was provided by fbdev. With simpledrm, and
possibly other generic DRM drivers, it's now possible to have general
early-boot output with DRM. This requires the DRM core to be linked into
the kernel binary image.

The reduction in size here is only ~1%, but the patchset is part of a
larger effort to reduce the size of the DRM core module.

Thomas Zimmermann (3):
  drm: Build drm_irq.o only if CONFIG_DRM_LEGACY has been set
  drm: Link several object files into drm_kms_helper.ko
  drm: Move GEM memory managers into modules

 drivers/gpu/drm/Kconfig                |  4 ++--
 drivers/gpu/drm/Makefile               | 26 +++++++++++++++-----------
 drivers/gpu/drm/drm_gem_cma_helper.c   |  4 ++++
 drivers/gpu/drm/drm_gem_shmem_helper.c |  4 ++++
 drivers/gpu/drm/drm_irq.c              |  2 --
 5 files changed, 25 insertions(+), 15 deletions(-)

--
2.33.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-10-21 16:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-20 13:19 [PATCH 0/3] drm: Move several files from DRM core into modules Thomas Zimmermann
2021-10-20 13:19 ` [PATCH 1/3] drm: Build drm_irq.o only if CONFIG_DRM_LEGACY has been set Thomas Zimmermann
2021-10-20 13:19 ` [PATCH 2/3] drm: Link several object files into drm_kms_helper.ko Thomas Zimmermann
2021-10-20 13:19 ` [PATCH 3/3] drm: Move GEM memory managers into modules Thomas Zimmermann
2021-10-21 11:52 ` [PATCH 0/3] drm: Move several files from DRM core " Daniel Vetter
2021-10-21 12:21   ` Thomas Zimmermann
2021-10-21 12:38 ` Jani Nikula
2021-10-21 13:34   ` Thomas Zimmermann
2021-10-21 16:51   ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.