[PATCH 0/3] drm: Move several files from DRM core into modules
Daniel Vetter
daniel at ffwll.ch
Thu Oct 21 11:52:27 UTC 2021
On Wed, Oct 20, 2021 at 03:19:38PM +0200, Thomas Zimmermann wrote:
> 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
Assuming it all compiles still in all combos, on the series:
Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> 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
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dri-devel
mailing list