From owner-svn-src-head@freebsd.org Tue Sep 1 13:13:55 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 C4CE03C75E5; Tue, 1 Sep 2020 13:13:55 +0000 (UTC) (envelope-from meloun.michal@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 4BgnZp4LCCz4VN9; Tue, 1 Sep 2020 13:13:54 +0000 (UTC) (envelope-from meloun.michal@gmail.com) Received: by mail-wr1-x429.google.com with SMTP id c15so1462979wrs.11; Tue, 01 Sep 2020 06:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Xd/Lu0OPBX8SE4Os0JMwBcJCetk1WD5ps7GvOhjW6Vs=; b=Su85Ovml8dA38xo96qQXX4OwfrPSdNRAMeIn+Alx+abzwvcE+M0c5by+gk9QcAHXsW 8g6GZmsMJLM0tzjvPpQFpBWvkMSl/B+Dko3JakHT6l6pZe+SFCqfQtLQ0tWo3Eashn5L eNzqKK9ZjxKKFnEqXBGmY5u0/cRkk5K5VQjE5q+haZKw7CoryVIwyakJ6Z6ZZP9rg9s0 xisrZF3SJare9u3VICTyYKKerAOjlD7vksaFjcJmjnPi5uHZYYTyD6H11PcqS3kfd9x6 MlRYmBx9aaDMGF/ThJuECtymSAXGIlprMhbkiGKl1DBkUM2vl0t4cQYCK9lkPrD+hwTX qRBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Xd/Lu0OPBX8SE4Os0JMwBcJCetk1WD5ps7GvOhjW6Vs=; b=OHrGFnGv/WiJCbuWQcMUNuGnpavr8hyJh5opeUzUe86hoUiibe8cHSGg+VuId0a5Ec SC5NhJqaUgCNTerB/m1QC29mvGIgZUPwGfDiofZiTsOTq4EgoTLOvdXVU027ES5l3MH8 btQxsbYeKM3QA+j4S2dmFYomq/z7Gdcj6l5fGaUHzdCW97XJUwV0vLPAoKPsF8G2yxPo U14KUPP74a1Hr66jk7fz0NOWSce6Uw86I2EsXfEkIu9mkXgAJp5pRdXcT3vGM2wpP16/ 13AQk8CN0QK1/HUwM5e+P5PAAoiK9rebTyr2eqjtYwSRhGpF9b5bggi30wTL1dnInjmc 6bew== X-Gm-Message-State: AOAM5332sjmMhvxOddgCU2CCeSyJ5ytgW8InJrnP65+RFS1tZMhEz3sF cTopdwTol+K3kpkr8H2yNfBYikFsN1o= X-Google-Smtp-Source: ABdhPJxE+GSSJv35VbYQZxnJvbayKqsb6ekPprKFkyzYZhS0tQe5Qc+hw5qaRukoGIpKZt1WzEADcA== X-Received: by 2002:adf:f101:: with SMTP id r1mr1885969wro.314.1598966032811; Tue, 01 Sep 2020 06:13:52 -0700 (PDT) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id c4sm2289464wrp.85.2020.09.01.06.13.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Sep 2020 06:13:52 -0700 (PDT) Sender: Michal Meloun Reply-To: meloun.michal@gmail.com Subject: Re: svn commit: r364737 - head/sys/dev/drm2 To: Niclas Zeising , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <202008242253.07OMrNO2016612@repo.freebsd.org> From: Michal Meloun Message-ID: <790db2ea-0877-671e-e48f-ec6da42c7437@gmail.com> Date: Tue, 1 Sep 2020 15:13:53 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <202008242253.07OMrNO2016612@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BgnZp4LCCz4VN9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Su85Ovml; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of melounmichal@gmail.com designates 2a00:1450:4864:20::429 as permitted sender) smtp.mailfrom=melounmichal@gmail.com X-Spamd-Result: default: False [-2.79 / 15.00]; HAS_REPLYTO(0.00)[meloun.michal@gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.015]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; NEURAL_SPAM_SHORT(0.21)[0.208]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::429:from]; RCVD_TLS_ALL(0.00)[]; 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:13:55 -0000 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 > 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) >