From owner-freebsd-current@freebsd.org Fri May 18 17:58:12 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 587B2EB0472 for ; Fri, 18 May 2018 17:58:12 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBBEB8201A for ; Fri, 18 May 2018 17:58:11 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 40nbW70t3kzDhSq for ; Fri, 18 May 2018 17:58:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id OOoVz_lKIRAE for ; Fri, 18 May 2018 17:58:10 +0000 (UTC) Received: from celes.daemonic.se (celes.daemonic.se [IPv6:2001:470:dca9:2::3]) by mail.daemonic.se (Postfix) with ESMTPSA id 40nbW64xCMzDhBg for ; Fri, 18 May 2018 17:58:10 +0000 (UTC) From: Niclas Zeising Subject: [RFC] Deprecation and removal of the drm2 driver To: freebsd-current@freebsd.org Reply-To: freebsd-x11@freebsd.org Followup-To: freebsd-x11@freebsd.org Message-ID: <3a5edc5c-3caa-830b-4bd9-53ff52feb8a7@freebsd.org> Date: Fri, 18 May 2018 19:58:10 +0200 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2018 17:58:12 -0000 [ Cross posted to freebsd-current@ and freebsd-x11@. Please respect=20 reply-to and send all replies to freebsd-x11@. Thanks! ] Hi! I propose that we remove the old drm2 driver (sys/dev/drm2) from=20 FreeBSD. I suggest the driver is marked as deprecated in 11.x and=20 removed from 12.0, as was done for other drivers recently. Some=20 background and rationale: The drm2 driver was the original port of a KMS driver to FreeBSD. It=20 was done by Konstantin Belousov to support Intel graphics cards, and=20 later extended by Jean-S=C3=A9bastien P=C3=A9dron as well as Konstantin t= o match=20 what's in Linux 3.8. This included unstable support from Haswell, but=20 nothing newer than that. For quite some time now we have had the graphics/drm-stable-kmod and=20 graphics/drm-next-kmods which provides support for modern AMD and Intel=20 graphics cards. These ports, together with the linuxkpi, or lkpi, has=20 made it significantly easier to port and update our graphics drivers.=20 Further, these new drivers cover the same drivers as the old drm2 driver. What does the community think? Is there anyone still using the drm2=20 driver on 12-CURRENT? If so, what is preventing you from switching to=20 the port? Thank you Regards --=20 Niclas Zeising FreeBSD x11/graphics team