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


Groups > linux.debian.kernel > #66988 > unrolled thread

Bug#959734: Build AGP driver as module

Started byPaul Menzel <pmenzel@molgen.mpg.de>
First post2020-05-04 19:30 +0200
Last post2020-05-05 13:10 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  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

#66988 — Bug#959734: Build AGP driver as module

FromPaul Menzel <pmenzel@molgen.mpg.de>
Date2020-05-04 19:30 +0200
SubjectBug#959734: Build AGP driver as module
Message-ID<A2N4J-5Wz-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#67000 — Bug#959734: marked as done (Build AGP driver as module)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-05-05 12:40 +0200
SubjectBug#959734: marked as done (Build AGP driver as module)
Message-ID<A339w-7dp-15@gated-at.bofh.it>
In reply to#66988

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 05 May 2020 11:35:44 +0100
with message-id <e0eb2e08d69c8238e88b175a667d1256f9ecd602.camel@decadent.org.uk>
and subject line Re: Bug#959734: Build AGP driver as module
has caused the Debian Bug report #959734,
regarding Build AGP driver as module
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
959734: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959734
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#67002 — Bug#959734: Re: Bug#959734: Build AGP driver as module

FromPaul Menzel <pmenzel@molgen.mpg.de>
Date2020-05-05 13:00 +0200
SubjectBug#959734: Re: Bug#959734: Build AGP driver as module
Message-ID<A33sR-7jZ-1@gated-at.bofh.it>
In reply to#66988
Dear Ben,


Am 05.05.20 um 12:35 schrieb Ben Hutchings:
> On Mon, 2020-05-04 at 19:24 +0200, Paul Menzel wrote:
>> Package: src:linux
>> Version: 5.6.7-1
>> Severiy: minor

>> 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.
> [...]
> 
> It is (or was); see the changelog entry for version 2.6.32-10.

Sorry, for being unclear. At least I am able to build Linux 5.6 and 
5.7-rcX with AGP and the drivers built as modules.


Kind regards,

Paul

[toc] | [prev] | [next] | [standalone]


#67005 — Bug#959734: Re: Bug#959734: Build AGP driver as module

FromBen Hutchings <ben@decadent.org.uk>
Date2020-05-05 13:10 +0200
SubjectBug#959734: Re: Bug#959734: Build AGP driver as module
Message-ID<A33Cx-7CN-5@gated-at.bofh.it>
In reply to#67002

[Multipart message — attachments visible in raw view] — view raw

On Tue, 2020-05-05 at 12:47 +0200, Paul Menzel wrote:
> Dear Ben,
> 
> 
> Am 05.05.20 um 12:35 schrieb Ben Hutchings:
> > On Mon, 2020-05-04 at 19:24 +0200, Paul Menzel wrote:
> > > Package: src:linux
> > > Version: 5.6.7-1
> > > Severiy: minor
> > > 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.
> > [...]
> > 
> > It is (or was); see the changelog entry for version 2.6.32-10.
> 
> Sorry, for being unclear. At least I am able to build Linux 5.6 and 
> 5.7-rcX with AGP and the drivers built as modules.

Sure you can build it.  That doesn't mean it works reliably.

Ben.

-- 
Ben Hutchings
It's easier to fight for one's principles than to live up to them.


[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web