Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 16:37:01 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Niclas Zeising <zeising@freebsd.org>
Cc:        meloun.michal@gmail.com, 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:  <20200901163701.112d951b9df563e31cf682b3@bidouilliste.com>
In-Reply-To: <588309ba-8387-f3b7-0381-f80bdfef7e6d@freebsd.org>
References:  <202008242253.07OMrNO2016612@repo.freebsd.org> <790db2ea-0877-671e-e48f-ec6da42c7437@gmail.com> <20200901151635.91c121acb2bf58e9282aa6ae@bidouilliste.com> <235f7f25-4e38-9154-e990-11aa6f8464d4@freebsd.org> <20200901161904.16e1ea156f622989df3d261a@bidouilliste.com> <588309ba-8387-f3b7-0381-f80bdfef7e6d@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Sep 2020 16:31:58 +0200
Niclas Zeising <zeising@freebsd.org> wrote:

> On 2020-09-01 16:19, Emmanuel Vadot wrote:
> > On Tue, 1 Sep 2020 15:32:18 +0200
> > Niclas Zeising <zeising@freebsd.org> wrote:
> > 
> >> On 2020-09-01 15:16, Emmanuel Vadot wrote:
> >>> On Tue, 1 Sep 2020 15:13:53 +0200
> >>> Michal Meloun <meloun.michal@gmail.com> 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.
> >>>
> >>
> >> No, the change is correct.
> >> drm-legacy-kmod (the port) is going away, especially on FreeBSD 13,
> >> since it is preventing updates to the FreeBSD VM subsystem.  I sent
> >> an-email about this to a variety of lists about a week ago.
> >> I do know that there are a few special users of drm2 in FreeBSD current,
> >> I do not know how those are affected.  Since, on FreeBSD current, most
> >> architectures can use drm-kmod, I believe it is good to point everyone
> >> towards that ports, instead of pointing everyone except amd64 users to
> >> drm-legacy-kmod.
> >> Regards
> >> -- 
> >> Niclas Zeising
> > 
> >   drm2 in src is only used for arm, so as Michal wrote in another email
> > the warning will be seen only for tegra users, the mfc'ed commit will
> > be seen by intel/amd ones though.
> > 
> 
> I still have to make a general change that can be MFCd. 

 I think that for this case a direct commit to 12 would have been ok.

> And pointing  arm tegra users to drm-legacy-kmod is equally wrong.

 True, pointing them to any port is wrong anyway, none of them will
work, it would be better to remove the warning now.

> Regards
> -- 
> Niclas Zeising


-- 
Emmanuel Vadot <manu@bidouilliste.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200901163701.112d951b9df563e31cf682b3>