From owner-freebsd-x11@freebsd.org Sun May 20 19:10:30 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 096ECEECAA0 for ; Sun, 20 May 2018 19:10:30 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 966D06BFFE for ; Sun, 20 May 2018 19:10:29 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yw0-x230.google.com with SMTP id g16-v6so3910693ywk.0 for ; Sun, 20 May 2018 12:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pQDB7yEDy1e7vBYVbc692HnYBMdq3Z4OR+mPXH6Mnic=; b=mN+Rokj+OtNe65hUYqTLpJX0em9yiFPlzToNoLwtf8oQlDRhaEfFLS+PR72jsqufdt WaK8e10Z3PRr4i7hCxONeLCs99hMCRZhjjA7Ysibr7bu9VpB/Cudd5zfitE1iDKT88WH 6v5NjJ1Z8FOYpY0BI3rnhUXG+pPPOhqzE43g89lpRCpTOLp5A4B/hUvCoTri77lzkGJ0 2bukIzqPVocnNjVNSYaUgiAz2qFy+r0cn+sVu63Ap35v5lrKO/XiIgJQ0jjP7DF0xj88 1folF8ZYbLVjVlo34dMVaD33cWuYi6ZgPRxZ7Zc1jiDGsfyS6aZ89LCYdG7JzKqgVQ21 IMVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pQDB7yEDy1e7vBYVbc692HnYBMdq3Z4OR+mPXH6Mnic=; b=HfIjE8+Zz+STDt1aIPJUzNgG8xPbEOau9Mds2UlqNdiVZAl5dO5doT28uqTQRQcLH6 KgKde6zJi15ryDzCFKUs3z0H3rg4VHfiqzeZXVoG2VGNp4kKQQp++ffxp+KM51Cq7Eu4 sHU69qgwrQq/lCJ2XryFVgvZPRUrIaY/qcP9qkEtlOjNqo6wlqkoTNuu/jmzb1Kz4ssj nIVzrwY5iiz/GhTJpxTkz6ulB3uPLhzUd/3XXSFOy9jrxWh85HQHas3emnke1SDnS+cA mDue7ZNr+n1vrk0Djy+5aYN95dUaM/qwiGT5liCl4+PIhV8v1G8K58AeWQg+Gs97iHVt uZDQ== X-Gm-Message-State: ALKqPwelxfAUxtD2POaOMxtphGewNtIUJBuH51dIIdggCpGN1FSKXV+v zPYJ/wUxpgiuaShs3w1cVn7K308yguYM9lVWuDPdtA== X-Google-Smtp-Source: AB8JxZq4Xj6jjI9LbFnetHrT4Np9cZc3POo2176K/0Isoq0Rc+aphia5yfL0xBsPGVeGAOaMMdOFmH+Mer1AhPtjEqo= X-Received: by 2002:a81:6905:: with SMTP id e5-v6mr8710791ywc.265.1526843428889; Sun, 20 May 2018 12:10:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:3894:0:0:0:0:0 with HTTP; Sun, 20 May 2018 12:10:28 -0700 (PDT) In-Reply-To: <88843bfb-34de-382c-9409-83f9ad54c8c4@daemonic.se> References: <3a5edc5c-3caa-830b-4bd9-53ff52feb8a7@freebsd.org> <20180518193009.GA88432@troutmask.apl.washington.edu> <20180520164011.GA6276@troutmask.apl.washington.edu> <88843bfb-34de-382c-9409-83f9ad54c8c4@daemonic.se> From: Oliver Pinter Date: Sun, 20 May 2018 21:10:28 +0200 Message-ID: Subject: Re: [RFC] Deprecation and removal of the drm2 driver To: Niclas Zeising Cc: "sgk@troutmask.apl.washington.edu" , Warner Losh , FreeBSD X11 mailing list , Current FreeBSD Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 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 19:10:30 -0000 On Sunday, May 20, 2018, Niclas Zeising wrote: > On 05/20/18 18:40, Steve Kargl wrote: > >> 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 >> >> > One of the reasons for the deprecation and removal of the drm2 bits is > that they prevent us from automatically loading the drm-next/stable-kmod > kernel modules, since the two collide. > Regards Then it wold be better to resolve this problem, rather then removing a working solution. What's about module versioning what in other cases works? > -- > Niclas > _______________________________________________ > 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" >