Commit Graph

3 Commits

Author SHA1 Message Date
Ben Hutchings 9235dbdde8 udeb: Add fb-modules and include drm and drm_kms_helper on most architecures
The previous version failed to build on alpha:

debian/virtio-modules-4.19.0-3-alpha-generic-di lib/modules/4.19.0-3-alpha-generic/kernel/drivers/i2c/i2c-core.ko
debian/i2c-modules-4.19.0-3-alpha-generic-di lib/modules/4.19.0-3-alpha-generic/kernel/drivers/i2c/i2c-core.ko

and sparc64:

debian/virtio-modules-4.19.0-3-sparc64-di lib/modules/4.19.0-3-sparc64/kernel/drivers/i2c/i2c-core.ko
debian/nic-modules-4.19.0-3-sparc64-di lib/modules/4.19.0-3-sparc64/kernel/drivers/i2c/i2c-core.ko

sparc64 was missing a i2c-modules package, but adding that just gets
it to the same state as alpha.  On both architectures drm_kms_helper
is included in the virtio-modules package as a dependency of
virtio-gpu, and then i2c-core is included as a dependency of
drm_kms_helper.

I don't think it makes sense to make virtio-modules directly depend on
i2c-modules.  (In fact I think virtio-modules was a mistake entirely.)
Instead, for all configurations that enable both DRM and virtio:

1. Add an fb-modules package if it doesn't already exist
2. Include drm and drm_kms_helper in it
2019-02-13 01:23:11 +00:00
YunQiang Su d31776d28d Enable FB_SM750 and DRM_AST for Loongson-3
Some new Loongson servers are using Aspeed BMC, which has an GPU.
Some other Loongson servers are using SM750 GPU instead of AMD's.

Since MIPS doesn't have a generic display driver like VESA, we need
to install sm750fb and (drm_)ast into Loongson's fb-moduels udeb package.

(cherry picked from commit 6fbe9f4e363b32a70adf391e6d74ae21c52f16b6)
2019-01-08 07:03:29 +00:00
Ben Hutchings cbebd8c763 udeb: Merge configuration directories and files across architectures
Merge the configuration and default-configuration directories,
using per-architecture overrides in package-list.

This requires a newer version of kernel-wedge to support
Depends_<arch> properly.

The only immediate change to debian/control is to remove the
different description for nic-modules on sparc64.
2018-09-03 18:01:21 +01:00