[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#959734: Build AGP driver as module



Package: src:linux
Version: 5.6.7-1
Severiy: minor


Dear Debian folks,


The Kconfig help text for `AGP` is a little confusing (and maybe outdated?) [1].

You should say Y here if you want to use GLX or DRI.

Although selected in Linux’ default x86 configs

    arch/x86/configs/i386_defconfig
    arch/x86/configs/x86_64_defconfig

I do not think, it’s necessary to build this into the Linux kernel.

    $ grep AGP /boot/config-5.6.0-1-amd64
    CONFIG_AGP=y
    CONFIG_AGP_AMD64=y
    CONFIG_AGP_INTEL=y
    CONFIG_AGP_SIS=y
    CONFIG_AGP_VIA=y

The init functions are unnecessarily called as shown by `initcall_debug`.

So, it’d be great if this driver was built as a module (as DRM is also built as a module). This will reduce the size of `bzImage` a little.


Kind regards,

Paul


[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/char/Kconfig?h=v5.7-rc4


Reply to: