From owner-svn-src-head@freebsd.org Tue Sep 1 13:16:45 2020 Return-Path: Delivered-To: svn-src-head@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 67EAF3C77C9; Tue, 1 Sep 2020 13:16:45 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bgnf40BVgz4VRM; Tue, 1 Sep 2020 13:16:43 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1598966195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GLtXsUkoaqDkQnY+WFvCrYwMohRz/4zCJfka8Uu+yrc=; b=p6wkyoJNdu5P0RtX85Flne8EQgmdUkkrzhmXfNZx0RdP06RqHQizOes4iZSaGwR7vrRMYt gJBSpzfTqsd3I8KtFr3uoYV05l3wjmf2eCbtbpeaO47bUpWtiCKUqw7MywPuONz31Vomkf cuAcCiJofRAX4QZlzQv7e9aF1s0Cdng= Received: from amy.home (lfbn-idf2-1-1138-237.w90-92.abo.wanadoo.fr [90.92.20.237]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 80f13350 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 1 Sep 2020 13:16:35 +0000 (UTC) Date: Tue, 1 Sep 2020 15:16:35 +0200 From: Emmanuel Vadot To: meloun.michal@gmail.com Cc: Niclas Zeising , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r364737 - head/sys/dev/drm2 Message-Id: <20200901151635.91c121acb2bf58e9282aa6ae@bidouilliste.com> In-Reply-To: <790db2ea-0877-671e-e48f-ec6da42c7437@gmail.com> References: <202008242253.07OMrNO2016612@repo.freebsd.org> <790db2ea-0877-671e-e48f-ec6da42c7437@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bgnf40BVgz4VRM X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=p6wkyoJN; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.64 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[bidouilliste.com:+]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-0.57)[-0.574]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.03)[-1.029]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.04)[-1.040]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; MAILMAN_DEST(0.00)[svn-src-head,svn-src-all] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 13:16:45 -0000 On Tue, 1 Sep 2020 15:13:53 +0200 Michal Meloun wrote: > > > On 25.08.2020 0:53, Niclas Zeising wrote: > > Author: zeising (doc,ports committer) > > Date: Mon Aug 24 22:53:23 2020 > > New Revision: 364737 > > URL: https://svnweb.freebsd.org/changeset/base/364737 > > > > Log: > > drm2: Update deprecation message > > > > Update the deprecation message in the drm2 (aka legacy drm) drivers to point > > towards the graphics/drm-kmod ports for all architectures, not just amd64. > Only known user of drm2 is arm/tegra124 based boards. How > graphics/drm-kmod can help for these? > Or be more specific - drm2 allows me to hot-plug monitor to tegra based > board an use 2 scaled overlay planes (which is exactly whats I want for > my application). Which alternative can you offer me? > Btw, as you can see, the maintenance cost of drm2 is close to zero and > the dev/drm2 code does not inherit with any of the major architectures. > > Michal I think that the goal was only to mfc this to warn users before 12.2 is branched, maybe a direct commit to 12 would have been better. > > > drm-kmod has support for more architectures these days, and the > > graphics/drm-legacy-kmod port is being deprecated. > > > > > Approved by: imp > > MFC after: 1 week > > Differential Revision: https://reviews.freebsd.org/D26174 > > > > Modified: > > head/sys/dev/drm2/drm_os_freebsd.h > > > > Modified: head/sys/dev/drm2/drm_os_freebsd.h > > ============================================================================== > > --- head/sys/dev/drm2/drm_os_freebsd.h Mon Aug 24 22:48:19 2020 (r364736) > > +++ head/sys/dev/drm2/drm_os_freebsd.h Mon Aug 24 22:53:23 2020 (r364737) > > @@ -154,16 +154,12 @@ typedef void irqreturn_t; > > *(volatile u_int64_t *)(((vm_offset_t)(map)->handle) + \ > > (vm_offset_t)(offset)) = htole64(val) > > > > -#ifdef amd64 > > #define DRM_PORT "graphics/drm-kmod" > > -#else > > -#define DRM_PORT "graphics/drm-legacy-kmod" > > -#endif > > > > #define DRM_OBSOLETE(dev) \ > > do { \ > > device_printf(dev, "=======================================================\n"); \ > > - device_printf(dev, "This code is obsolete abandonware. Install the " DRM_PORT " pkg\n"); \ > > + device_printf(dev, "This code is deprecated. Install the " DRM_PORT " pkg\n"); \ > > device_printf(dev, "=======================================================\n"); \ > > gone_in_dev(dev, 13, "drm2 drivers"); \ > > } while (0) > > -- Emmanuel Vadot