Re: Please add options to graphics/gpu-firmware-kmod

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Sun, 08 May 2022 10:16:14 UTC
On Wed, 4 May 2022 16:53:55 -0700
Kevin Oberman <rkoberman@gmail.com> wrote:

> On Wed, May 4, 2022 at 6:25 AM Emmanuel Vadot <manu@bidouilliste.com> wrote:
> 
> > On Wed, 4 May 2022 12:43:40 +0300
> > Sergey Dyatko <sergey.dyatko@gmail.com> wrote:
> >
> > > Hi,
> > > After changes in drm ports we've got the ability not to bloat systems
> > with
> > > useless tons of bytes. Thanks, Emmanuel!
> > > I suggest to go further and add options to  graphics/gpu-firmware-kmod
> > > (because metaport graphics/drm-kmod still require
> > > graphics/gpu-firmware-kmod and installs '200MB+ of useless things' (C))
> > >
> >
> >  I don't see the point.
> >  If you don't want all the firmware don't install the metaport ?
> >
> > --
> > Emmanuel Vadot <manu@bidouilliste.com> <manu@FreeBSD.org>
> >
> > This would be similar to the xorg-drivers meta-port. It simply provides a
> list of available drivers for x11 and the desired drivers may be selected
> as required. While that one is approaching obsolescence as video drivers
> have mostly moved to drm-kmod, mouse and keyboard to evdev and libinput,
> the concept is still good and would be appropriate  for
> graphics/gpu-firmware-kmod.

 It's not similar at all, xorg-drivers contain mandatory things while
the gpu firmware aren't needed for all platform.
 If you build your own package just add the firmwares that you want in
your poudriere list or just add all of them to be built and just pkg
install the one you want. Firmware selection is done via flavors and
will never be via options.

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@FreeBSD.org>