From owner-freebsd-x11@freebsd.org Sat May 19 18:38:24 2018 Return-Path: Delivered-To: freebsd-x11@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 A39B2EDDB5E; Sat, 19 May 2018 18:38:24 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E2B579E6B; Sat, 19 May 2018 18:38:24 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 3CC999D75; Sat, 19 May 2018 18:38:24 +0000 (UTC) From: Jan Beich To: Slawa Olhovchenkov Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: [RFC] Deprecation and removal of the drm2 driver References: <3a5edc5c-3caa-830b-4bd9-53ff52feb8a7@freebsd.org> <20180519122817.GA1954@zxy.spb.ru> Date: Sat, 19 May 2018 20:38:20 +0200 In-Reply-To: <20180519122817.GA1954@zxy.spb.ru> (Slawa Olhovchenkov's message of "Sat, 19 May 2018 15:28:17 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2018 18:38:24 -0000 Slawa Olhovchenkov writes: > On Fri, May 18, 2018 at 07:58:10PM +0200, Niclas Zeising wrote: > >> [ Cross posted to freebsd-current@ and freebsd-x11@. Please respect=20 >> reply-to and send all replies to freebsd-x11@. Thanks! ] >>=20 >>=20 >> 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: >>=20 >> 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 = to match=20 >> what's in Linux 3.8. This included unstable support from Haswell, but=20 >> nothing newer than that. >>=20 >> 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 > > What about old graphics card? I am have notebook w/ i945 chipset, is > this supported by graphics/drm-*? > > And what about nvidia? > (sorry, I am not developer this drivers, I am just user, I am don't > know what need for nvidia work etc) NVIDIA dropped 32bit driver since 396.* series. None of x11/nvidia-driver* currently depend on either drm.ko or drm2.ko. However, Linux driver appears to depend on DRM/KMS since 364.12.