From owner-freebsd-x11@freebsd.org Fri May 18 20:28:43 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 636C3EDAEA8; Fri, 18 May 2018 20:28:43 +0000 (UTC) (envelope-from ben@bwidawsk.net) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "orsmga106.jf.intel.com", Issuer "COMODO RSA Organization Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCEA7688A4; Fri, 18 May 2018 20:28:42 +0000 (UTC) (envelope-from ben@bwidawsk.net) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 May 2018 13:27:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,415,1520924400"; d="scan'208";a="225431872" Received: from gmoli3-mobl.amr.corp.intel.com (HELO mail.bwidawsk.net) ([10.252.128.225]) by orsmga005.jf.intel.com with ESMTP; 18 May 2018 13:27:31 -0700 Date: Fri, 18 May 2018 13:27:31 -0700 From: Ben Widawsky To: Warner Losh Cc: Johannes Lundberg , Steve Kargl , Andreas Nilsson , FreeBSD X11 mailing list , Current FreeBSD Subject: Re: [RFC] Deprecation and removal of the drm2 driver Message-ID: <20180518202730.ldhhe3ekdcgncyaw@mail.bwidawsk.net> References: <3a5edc5c-3caa-830b-4bd9-53ff52feb8a7@freebsd.org> <20180518193009.GA88432@troutmask.apl.washington.edu> <20180518202200.dks3twrlfyhmcgbb@mail.bwidawsk.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180518202200.dks3twrlfyhmcgbb@mail.bwidawsk.net> User-Agent: NeoMutt/20180323 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: Fri, 18 May 2018 20:28:43 -0000 On 18-05-18 13:22:01, Ben Widawsky wrote: > On 18-05-18 14:15:03, Warner Losh wrote: > > On Fri, May 18, 2018 at 2:12 PM, Johannes Lundberg > > wrote: > > > > > > > > > > > On Fri, May 18, 2018 at 9:03 PM, 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: > > >> > > > > > >> > > > 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 > > >> > > > made it significantly easier to port and update our graphics > > >> drivers. > > >> > > > 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 > > >> > > > driver on 12-CURRENT? If so, what is preventing you from switching > > >> to > > >> > > > the port? > > >> > > > > > >> > > > Thank you > > >> > > > Regards > > >> > > > -- > > >> > > > Niclas Zeising > > >> > > > FreeBSD x11/graphics team > > >> > > > _______________________________________________ > > >> > > > freebsd-current@freebsd.org mailing list > > >> > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > >> > > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@ > > >> > freebsd.org" > > >> > > > > > >> > > > > >> > > 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? > > >> > > > > > > Yeah I was wondering the same.. If you're running i386, do you need drm > > > drivers? Will scfb work an i386? (probably has legacy bios and if I > > > remember correctly, scfb is UEFI only) > > > I do feel sorry for anyone who would have to revert back to VESA... > > > > > > Would it be too much trouble to move it to a port? > > > > > > > If there's someone who needs it for i386, and wants to do the work and > > maintain it, we should allow it. But the drm2 maintainers have said its > > likely totally broken anyway. > > > > Warner > > As a long time developer in drm/i915, and newly interested in FreeBSD (ie. no > history on the matter), is there some upside and/or desire to have native > support, or is the drm-next-kmod solution good enough? Aside from lack of 32b support... -- Ben Widawsky, Intel Open Source Technology Center