From nobody Fri Sep 06 06:35:45 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X0RNH1FHSz5W6cd for ; Fri, 06 Sep 2024 06:37:03 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0RNG3HPtz4Br9; Fri, 6 Sep 2024 06:37:02 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1725604614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ENFczQCuFE81NhXixfF30fKScOLC9IcMxx+qHfD/oqA=; b=gr9X49Kn3k1w9jOhpP6StVcJz2PBlszI3EH5iJyAZ9EgpUwol+knmqfnbYgsQVunzuYZoT N4Ar7X0dDd2OROl179vS8ps9y0XFTnPfszY5OKThFpR2PRgAieiDXUo1R3ayzPcuG/Uq/6 YHlmpJHzSkW9yAaUwg8Y6UV+EK1POfw= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id e13e7c78 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 6 Sep 2024 06:36:54 +0000 (UTC) Date: Fri, 6 Sep 2024 08:35:45 +0200 From: Emmanuel Vadot To: Andre Albsmeier Cc: Ed Maste , Mark Johnston , freebsd-stable@freebsd.org Subject: Re: removing the agp(4) driver Message-Id: <20240906083545.bedaf9ce050b7eae1baa8c63@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4X0RNG3HPtz4Br9 On Fri, 6 Sep 2024 07:40:09 +0200 Andre Albsmeier wrote: > On Thu, 05-Sep-2024 at 12:34:20 -0400, Ed Maste wrote: > > On Thu, 5 Sept 2024 at 09:43, Mark Johnston 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