From owner-freebsd-x11@freebsd.org Sat May 19 18:43:59 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 51B98EDE21F; Sat, 19 May 2018 18:43:59 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 DDA677A60B; Sat, 19 May 2018 18:43:58 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1fK6pf-0009Vr-NO; Sat, 19 May 2018 21:43:55 +0300 Date: Sat, 19 May 2018 21:43:55 +0300 From: Slawa Olhovchenkov To: Jan Beich Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: [RFC] Deprecation and removal of the drm2 driver Message-ID: <20180519184355.GD1926@zxy.spb.ru> References: <3a5edc5c-3caa-830b-4bd9-53ff52feb8a7@freebsd.org> <20180519122817.GA1954@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false 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:43:59 -0000 On Sat, May 19, 2018 at 08:38:20PM +0200, Jan Beich wrote: > 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 > >> reply-to and send all replies to freebsd-x11@. Thanks! ] > >> > >> > >> Hi! > >> I propose that we remove the old drm2 driver (sys/dev/drm2) from > >> FreeBSD. I suggest the driver is marked as deprecated in 11.x and > >> removed from 12.0, as was done for other drivers recently. Some > >> background and rationale: > >> > >> The drm2 driver was the original port of a KMS driver to FreeBSD. It > >> was done by Konstantin Belousov to support Intel graphics cards, and > >> later extended by Jean-Sébastien Pédron as well as Konstantin to match > >> what's in Linux 3.8. This included unstable support from Haswell, but > >> nothing newer than that. > >> > >> For quite some time now we have had the graphics/drm-stable-kmod and > >> graphics/drm-next-kmods which provides support for modern AMD and Intel > >> graphics cards. These ports, together with the linuxkpi, or lkpi, has > > > > 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. Some of my hardware supported only by nvidia 340.106.