diff mbox series

[SRU,J:raspi] UBUNTU: [Packaging] raspi: Exclude unlikely DRM modules from linux-modules

Message ID 20231002142012.81817-1-juerg.haefliger@canonical.com
State New
Headers show
Series [SRU,J:raspi] UBUNTU: [Packaging] raspi: Exclude unlikely DRM modules from linux-modules | expand

Commit Message

Juerg Haefliger Oct. 2, 2023, 2:20 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2037936

DRM drivers and their firmwares end up in the initrd. In order to reduce
the size of the initrd, move DRM modules that are very unlikely to be used
in combination with a Raspberry Pi to the linux-modules-extra package.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 debian.raspi/control.d/raspi.inclusion-list | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

Comments

Tim Gardner Oct. 2, 2023, 2:50 p.m. UTC | #1
On 10/2/23 8:20 AM, Juerg Haefliger wrote:
> BugLink: https://bugs.launchpad.net/bugs/2037936
> 
> DRM drivers and their firmwares end up in the initrd. In order to reduce
> the size of the initrd, move DRM modules that are very unlikely to be used
> in combination with a Raspberry Pi to the linux-modules-extra package.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
> ---
>   debian.raspi/control.d/raspi.inclusion-list | 14 +++++++++++++-
>   1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.raspi/control.d/raspi.inclusion-list b/debian.raspi/control.d/raspi.inclusion-list
> index 24085b4b8f4e..947fa00494c3 100644
> --- a/debian.raspi/control.d/raspi.inclusion-list
> +++ b/debian.raspi/control.d/raspi.inclusion-list
> @@ -7,7 +7,19 @@ drivers/char/broadcom/*
>   drivers/char/tpm/*
>   drivers/clk/*
>   drivers/gpio/*
> -drivers/gpu/drm/*
> +drivers/gpu/drm/bridge/*
> +drivers/gpu/drm/display/*
> +drivers/gpu/drm/drm*
> +drivers/gpu/drm/gud/*
> +drivers/gpu/drm/i2c/*
> +drivers/gpu/drm/qxl/*
> +drivers/gpu/drm/panel/*
> +drivers/gpu/drm/rp1/*
> +drivers/gpu/drm/tiny/*
> +drivers/gpu/drm/udl/*
> +drivers/gpu/drm/v3d/*
> +drivers/gpu/drm/vc4/*
> +drivers/gpu/drm/virtio/*
>   drivers/hid/*
>   drivers/hwmon/*
>   drivers/i2c/*
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Manuel Diewald Oct. 4, 2023, 10:48 a.m. UTC | #2
On Mon, Oct 02, 2023 at 04:20:12PM +0200, Juerg Haefliger wrote:
> BugLink: https://bugs.launchpad.net/bugs/2037936
> 
> DRM drivers and their firmwares end up in the initrd. In order to reduce
> the size of the initrd, move DRM modules that are very unlikely to be used
> in combination with a Raspberry Pi to the linux-modules-extra package.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
> ---
>  debian.raspi/control.d/raspi.inclusion-list | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.raspi/control.d/raspi.inclusion-list b/debian.raspi/control.d/raspi.inclusion-list
> index 24085b4b8f4e..947fa00494c3 100644
> --- a/debian.raspi/control.d/raspi.inclusion-list
> +++ b/debian.raspi/control.d/raspi.inclusion-list
> @@ -7,7 +7,19 @@ drivers/char/broadcom/*
>  drivers/char/tpm/*
>  drivers/clk/*
>  drivers/gpio/*
> -drivers/gpu/drm/*
> +drivers/gpu/drm/bridge/*
> +drivers/gpu/drm/display/*
> +drivers/gpu/drm/drm*
> +drivers/gpu/drm/gud/*
> +drivers/gpu/drm/i2c/*
> +drivers/gpu/drm/qxl/*
> +drivers/gpu/drm/panel/*
> +drivers/gpu/drm/rp1/*
> +drivers/gpu/drm/tiny/*
> +drivers/gpu/drm/udl/*
> +drivers/gpu/drm/v3d/*
> +drivers/gpu/drm/vc4/*
> +drivers/gpu/drm/virtio/*
>  drivers/hid/*
>  drivers/hwmon/*
>  drivers/i2c/*
> -- 
> 2.39.2
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Manuel Diewald <manuel.diewald@canonical.com>
Juerg Haefliger Oct. 4, 2023, 1:06 p.m. UTC | #3
Applied to Jammy and Lunar linux-raspi master-next branch . Mantic has it
already.

...Juerg


> BugLink: https://bugs.launchpad.net/bugs/2037936
> 
> DRM drivers and their firmwares end up in the initrd. In order to reduce
> the size of the initrd, move DRM modules that are very unlikely to be used
> in combination with a Raspberry Pi to the linux-modules-extra package.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
> ---
>  debian.raspi/control.d/raspi.inclusion-list | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.raspi/control.d/raspi.inclusion-list b/debian.raspi/control.d/raspi.inclusion-list
> index 24085b4b8f4e..947fa00494c3 100644
> --- a/debian.raspi/control.d/raspi.inclusion-list
> +++ b/debian.raspi/control.d/raspi.inclusion-list
> @@ -7,7 +7,19 @@ drivers/char/broadcom/*
>  drivers/char/tpm/*
>  drivers/clk/*
>  drivers/gpio/*
> -drivers/gpu/drm/*
> +drivers/gpu/drm/bridge/*
> +drivers/gpu/drm/display/*
> +drivers/gpu/drm/drm*
> +drivers/gpu/drm/gud/*
> +drivers/gpu/drm/i2c/*
> +drivers/gpu/drm/qxl/*
> +drivers/gpu/drm/panel/*
> +drivers/gpu/drm/rp1/*
> +drivers/gpu/drm/tiny/*
> +drivers/gpu/drm/udl/*
> +drivers/gpu/drm/v3d/*
> +drivers/gpu/drm/vc4/*
> +drivers/gpu/drm/virtio/*
>  drivers/hid/*
>  drivers/hwmon/*
>  drivers/i2c/*
diff mbox series

Patch

diff --git a/debian.raspi/control.d/raspi.inclusion-list b/debian.raspi/control.d/raspi.inclusion-list
index 24085b4b8f4e..947fa00494c3 100644
--- a/debian.raspi/control.d/raspi.inclusion-list
+++ b/debian.raspi/control.d/raspi.inclusion-list
@@ -7,7 +7,19 @@  drivers/char/broadcom/*
 drivers/char/tpm/*
 drivers/clk/*
 drivers/gpio/*
-drivers/gpu/drm/*
+drivers/gpu/drm/bridge/*
+drivers/gpu/drm/display/*
+drivers/gpu/drm/drm*
+drivers/gpu/drm/gud/*
+drivers/gpu/drm/i2c/*
+drivers/gpu/drm/qxl/*
+drivers/gpu/drm/panel/*
+drivers/gpu/drm/rp1/*
+drivers/gpu/drm/tiny/*
+drivers/gpu/drm/udl/*
+drivers/gpu/drm/v3d/*
+drivers/gpu/drm/vc4/*
+drivers/gpu/drm/virtio/*
 drivers/hid/*
 drivers/hwmon/*
 drivers/i2c/*