Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2024 08:35:45 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Andre Albsmeier <Andre.Albsmeier@siemens.com>
Cc:        Ed Maste <emaste@freebsd.org>, Mark Johnston <markj@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: removing the agp(4) driver
Message-ID:  <20240906083545.bedaf9ce050b7eae1baa8c63@bidouilliste.com>
In-Reply-To: <ZtqVuaGedxmtfQDE@bali.c4ef04bb578971607fc6a73f3188a722>
References:  <Ztm1i2B7zZMacX0-@nuc> <CAPyFy2DuvA2cPZxcfPMoo2XpJ9cErDa5H1uHYVzw%2Bvoid0P5jQ@mail.gmail.com> <ZtqVuaGedxmtfQDE@bali.c4ef04bb578971607fc6a73f3188a722>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Sep 2024 07:40:09 +0200
Andre Albsmeier <Andre.Albsmeier@siemens.com> wrote:

> On Thu, 05-Sep-2024 at 12:34:20 -0400, Ed Maste wrote:
> > On Thu, 5 Sept 2024 at 09:43, Mark Johnston <markj@freebsd.org> wrote:
> > >
> > > I'd like to propose removing the agp(4) driver in FreeBSD 15.0.
> > 
> > It looks like there are some recent NYC*BUG dmesgd submissions showing
> > currently supported versions of FreeBSD running on agp hardware. Most
> > are i386 but there's at least one amd64 case.
> > 
> > Despite that I think it makes sense to remove agp for FreeBSD 15. The
> > hardware was already being phased out of mainstream systems two
> > decades ago and is now obsolete. I don't imagine the development
> > effort to move the driver out from Giant is worth the cost and folks
> > with old hardware who need agp graphics can continue to use FreeBSD
> > 14.x. It's supported through 2028.
> 
> Hmm, probably I am missing something but I tried a kernel without agp and
> i915kms.ko complained with:
> 
> KLD i915kms.ko: depends on agp - not available or version mismatch
> 
> I recompiled drm-61-kmod but this didn't change anything. This is on
> 14.1-STABLE / amd64 (25 machines, some only 3-4 years old).
> 

 This is due to
https://github.com/freebsd/drm-kmod/blob/master/drivers/gpu/drm/i915/i915_module.c#L156
 This should be under an #ifdef _i386_ as we only set CONFIG_AGP for
this arch, I'll commit something later today in all supported branches.

 Cheers,

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240906083545.bedaf9ce050b7eae1baa8c63>