From owner-freebsd-x11@freebsd.org Sun May 20 14:36:32 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 44C79EE2C88; Sun, 20 May 2018 14:36:32 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8ED06818E3; Sun, 20 May 2018 14:36:31 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id KPRjfmibuuYopKPRkfa7Wu; Sun, 20 May 2018 08:36:30 -0600 X-Authority-Analysis: v=2.3 cv=GopsBH9C c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=8nJEP1OIZ-IA:10 a=VUJBJC2UJ8kA:10 a=6I5d2MoRAAAA:8 a=KawIFhhbAAAA:8 a=YxBL1-UpAAAA:8 a=RUNfwU-bpJRdli9djJwA:9 a=wPNLvfGTeEIA:10 a=7G_cc3ZGiqMA:10 a=IjZwj45LgO3ly-622nXo:22 a=sDZbbUVwIjaXAAecbMhh:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 5E668D7C; Sun, 20 May 2018 07:36:27 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w4KEaR5K003855; Sun, 20 May 2018 07:36:27 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w4KEaPmq003852; Sun, 20 May 2018 07:36:25 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201805201436.w4KEaPmq003852@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Jan Beich cc: Slawa Olhovchenkov , freebsd-x11@freebsd.org, freebsd-current@freebsd.org Subject: Re: [RFC] Deprecation and removal of the drm2 driver In-Reply-To: Message from Jan Beich of "Sat, 19 May 2018 20:38:20 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 20 May 2018 07:36:25 -0700 X-CMAE-Envelope: MS4wfIvZUT6F+KvAv8TJXl3z9r5XEBsR2vM+SdEcNt//MZPqF10QTl0kykoYP6o3F0mgm6rCSC1E3Wa3t0EMdNeHMg65uJFvyAq+pEtbrrIEuABRhzo0G9WX QOK1OfLdEZJZUKBKzlhLimdSS0W0Qouu5ecHG0VMxJzk8Up1UX4okkiJDoCv32gIq+ck9AUq47XZAp34MyNxNAOUsTDkrPmOTBsh+Lmbd3Cy5MUYp9+Oo/GP Lxd7XxgxqGFv50HwLeMlfw== 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: Sun, 20 May 2018 14:36:32 -0000 In message , Jan Beich writes: > 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. I think that if we want to still keep i386 viable, maybe some effort needs to be put into 915resolution to help VESA look somewhat reasonable. IIRC, as it's been a long time since I've looked at this, a person will need a custom xorg.conf. However IIRC that model breaks if person switches between a laptop monitor and an external monitor. The problem is fixable however I didn't have a open evening to look at it when I did. The 915resolution option isn't exactly available to those unwilling or unable to tinker a little. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.