From owner-freebsd-current@freebsd.org Sun May 20 16:40:20 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 87A22EE62EA; Sun, 20 May 2018 16:40:20 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1967C8584A; Sun, 20 May 2018 16:40:20 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id w4KGeBQf006363 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 20 May 2018 09:40:11 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id w4KGeBQ7006362; Sun, 20 May 2018 09:40:11 -0700 (PDT) (envelope-from sgk) Date: Sun, 20 May 2018 09:40:11 -0700 From: Steve Kargl To: Warner Losh Cc: Andreas Nilsson , FreeBSD X11 mailing list , Current FreeBSD Subject: Re: [RFC] Deprecation and removal of the drm2 driver Message-ID: <20180520164011.GA6276@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <3a5edc5c-3caa-830b-4bd9-53ff52feb8a7@freebsd.org> <20180518193009.GA88432@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) 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: Sun, 20 May 2018 16:40:20 -0000 On Fri, May 18, 2018 at 02:03:32PM -0600, Warner Losh wrote: > On Fri, May 18, 2018 at 1:30 PM, Steve Kargl < > sgk@troutmask.apl.washington.edu> wrote: > > > On Fri, May 18, 2018 at 09:14:24PM +0200, Andreas Nilsson wrote: > > > On Fri, May 18, 2018, 20:00 Niclas Zeising wrote: > > > > > > > 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: > > > > > > > > > > Sounds good ( deprecate resp remove ). It causes more confusion and > > > problems and it solves nothing. > > > > > > > Check the Makefiles > > > > % more /usr/ports/graphics/drm-next-kmod/Makefile > > > > ONLY_FOR_ARCHS= amd64 > > ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 > > > > Not to ia32 friendly. > > > > So do people use i386 for desktop? And need the latest KMS stuff? > Just a data point. I had to replace the dead disk in my laptop, and after 2 days of doing a re-install and update of -current on a shiny new SSD. Before loading Xorg. % kldstat Id Refs Address Size Name 1 7 0x800000 1ac31d4 kernel 2 1 0x1e9ae000 5000 ums.ko 3 1 0x1e9b9000 4000 uhid.ko After starting Xorg without an xorg.conf in /etc/X11. Id Refs Address Size Name 1 27 0x800000 1ac31d4 kernel 2 1 0x1e9ae000 5000 ums.ko 3 1 0x1e9b9000 4000 uhid.ko 4 1 0x1eaa9000 96000 i915kms.ko 5 1 0x1eb40000 4a000 drm2.ko 6 4 0x1eb8b000 5000 iicbus.ko 7 1 0x1ebc9000 3000 iic.ko 8 1 0x1ebcf000 4000 iicbb.ko So, drm2.ko and i915kms.ko are loaded automatically. It is unclear why functionality that works should be removed. xwininfo shows Width: 1400 Height: 1050 Depth: 24 Visual: 0x21 -- Steve