From owner-freebsd-x11@freebsd.org Fri Aug 28 00:07:43 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 192923C79A3 for ; Fri, 28 Aug 2020 00:07:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Bd0KV6FyPz3TsD for ; Fri, 28 Aug 2020 00:07:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.nyi.freebsd.org (Postfix) id D6B973C7922; Fri, 28 Aug 2020 00:07:42 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D67C63C7A80 for ; Fri, 28 Aug 2020 00:07:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bd0KT4qgQz3Tq2 for ; Fri, 28 Aug 2020 00:07:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72f.google.com with SMTP id o196so7339487qke.8 for ; Thu, 27 Aug 2020 17:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oMfIui3lBgEMcidsRs8wonCYLBhz9rYQ2RfblkMPDaI=; b=BU54R/QkJAO9VQCsjfCAdCQRrCGABQeiShcQhcNv0lxs9zGtPsKjfTNC6GYOEBDwpk 6N2uVdcff5nyYiZX+LTiZlIifhbJ48UWnctTb/pdeNbNz85ldmJQZZ52w8HIV8HaX7hW OwcPsn+Yfk8PbYXDfMz9g1Vq0uOqsNR1FIniSBJY3V2WbJSzyxK7bX1zFczzQ2m+73IJ HAJzPbBL9jStV8HpC5ZOq+vTey6IHDj5doZCj2uoim5wp5mJ2MoadCvdsZzoLFOmDdJe JkFuouljcGH+vyQ02U8wPkiro/87NNv9clC3kYWP1SRju4lmqHAmzshJtOJX2ng7ZiGc AJaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oMfIui3lBgEMcidsRs8wonCYLBhz9rYQ2RfblkMPDaI=; b=ET3YjZoSPsxPQmXJJTPwQKgMSsefp44TdK3BdxSsnuFiM2wyS6U05DtHC2nRQ9MvFB Tk7cXGP2fH0tUtL1dMKjtKv6B7AqYSqOxR0NR9VUYN3ENYEOnLmEuE1ChPegkdF0VQsx bQhfUZyGQTytq1qJ2XFR9b5MJHnz3cune064TZDuH/i7pfEyN4fO9txBjIjR3/Ws/D5r r6BEu1cKnJvw+qqL83YnFuHOPptOd/W/7fsSNXF6YNa0loViz/xdc4qcMEUYoT0Nz7Qg C5rPsQLjDBzm2CQg9FEiYLJ6k0dFhGhTqyLs33JlcRkvvGE25TE0ondo3gGywFpQLnCJ TZjg== X-Gm-Message-State: AOAM530jESdZT//Q0QiAhl1HiVVRpkSiKqVisjLUpzPpLUpTXHAFgB8W 4tXSkYIE8MHYKE/aaLdZOF+jaGAklvg2iuKbG/9BeS1qwcc= X-Google-Smtp-Source: ABdhPJxVytqeuQcJrXIv1QvSIW6KFi/WNVAsfYWGcmVuJU6aFplUGKIbIyj/DWKKNwFeRb3VLAZ1whdYA4X2ErrN4+A= X-Received: by 2002:a37:e508:: with SMTP id e8mr20622661qkg.380.1598573260083; Thu, 27 Aug 2020 17:07:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Thu, 27 Aug 2020 18:07:28 -0600 Message-ID: Subject: Re: deprecation of drm-legacy-kmod To: Chris Cc: FreeBSD X11 X-Rspamd-Queue-Id: 4Bd0KT4qgQz3Tq2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=BU54R/Qk; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::72f) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.49 / 15.00]; ARC_NA(0.00)[]; MAILMAN_DEST(0.00)[x11]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.97)[-0.971]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.962]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72f:from]; NEURAL_HAM_SHORT(-0.56)[-0.556]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 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, 28 Aug 2020 00:07:43 -0000 On Thu, Aug 27, 2020 at 11:28 AM Chris wrote: > On 2020-08-24 15:21, Niclas Zeising wrote: > > [ cross posted across several mailing lists, please respect reply-to ] > > > > Hi! > > > > It is time to deprecate drm-legacy-kmod, since it is taking too much > time to > > maintain and are holding off changes in other areas. > > > > drm-legacy-kmod was created to aid in the transition to the LinuxKPI > based > > graphics drivers, at a time when the new drivers only supported amd64. > > Since > > then, the new drivers have been updated to support more architectures > and > > more > > GPUs, and the burden of maintaining drm-legacy-kmod has increased. It > > became > > apparent with the update of xorg-server to 1.20 that drm-legacy-kmod is > too > > old to > > work with certain aspects of the graphics stack, and it is also holding > back > > changes in areas of the FreeBSD base system such as VM scaling and > > optimization. > > The VM locking protocol needs to be changed, and to port those changes > to > > these > > drivers would require extensive reworking of its use of the FreeBSD VM > > subsystem. > > This means it is time for it to go. > > > > The driver will remain for a transition period. For FreeBSD 13-CURRENT, > > this will > > be fairly short, as there are changes to FreeBSD base that breaks the > > drivers. > > For FreeBSD 12, the driver will remain a bit longer, to ease in > transition. > > On > > FreeBSD 12, there is also the option of using the graphics drivers in > base, > > although those are supported on a best-effort basis only. > If this were pulled today. What are the ramifications? IOW what (A)GPUs > would > no longer be available for use on FreeBSD? Does one need to join a Linux > Graphics > list to find out what's currently supported? If so. What version of the > Linux > kernel? > The ramifications are three fold. (1) There's some truly ancient graphics hardware that won't be supported anymore. However they still work on stable 11 and stable 12. (2) Improvements to the scaling of VM system can proceed forward. (3) Efforts can be focused on the 5.4 Linux port that's in progress and testing in -current. For most people, though, this doesn't matter. It's not used by default and you have to specifically opt into using it. Warner