Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #66988

Bug#959734: Build AGP driver as module

From Paul Menzel <pmenzel@molgen.mpg.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#959734: Build AGP driver as module
Date 2020-05-04 19:30 +0200
Message-ID <A2N4J-5Wz-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#959734: Build AGP driver as module Paul Menzel <pmenzel@molgen.mpg.de> - 2020-05-04 19:30 +0200
  Bug#959734: marked as done (Build AGP driver as module) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-05-05 12:40 +0200
  Bug#959734: Re: Bug#959734: Build AGP driver as module Paul Menzel <pmenzel@molgen.mpg.de> - 2020-05-05 13:00 +0200
    Bug#959734: Re: Bug#959734: Build AGP driver as module Ben Hutchings <ben@decadent.org.uk> - 2020-05-05 13:10 +0200

csiph-web