All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Clark <robdclark@gmail.com>
To: John Stultz <john.stultz@linaro.org>
Cc: Rob Clark <robdclark@chromium.org>,
	Jiyong Park <jiyong@google.com>,
	Robert Foss <robert.foss@collabora.com>,
	Mauro Rossi <issor.oruam@gmail.com>,
	Alistair Strachan <astrachan@google.com>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	Eric Anholt <anholt@google.com>,
	Sean Paul <seanpaul@chromium.org>,
	Dan Willemsen <dwillemsen@google.com>,
	Vishal Bhoj <vishal.bhoj@linaro.org>,
	Emil Velikov <emil.velikov@collabora.com>
Subject: Re: [PATCH] libdrm: Convert to Android.mk to Android.bp
Date: Wed, 25 Sep 2019 09:04:20 -0700	[thread overview]
Message-ID: <CAF6AEGtLpq-TKC-Cf=G-fauYTOA2diFAjfEKz+EgFwJMsC7kZg@mail.gmail.com> (raw)
In-Reply-To: <CALAqxLWHrCKogRqe2ZQZT3dK57+8AmxKfZjKXxztvw6CFobdkg@mail.gmail.com>

On Tue, Sep 24, 2019 at 11:09 PM John Stultz <john.stultz@linaro.org> wrote:
>
> On Tue, Sep 24, 2019 at 4:30 PM John Stultz <john.stultz@linaro.org> wrote:
> > On Tue, Sep 24, 2019 at 3:24 PM Rob Herring <robh@kernel.org> wrote:
> > > Trying to maintain something that works across more than 3 releases or
> > > so is painful. I don't think android-x86 folks have the bandwidth to
> > > maintain things older than that *and* update to newer versions. So I
> > > think only supporting the n latest releases is good.
> > >
> > > Are .bp files for master/Q compatible back to N (or O)? IIRC, at least
> > > for the first couple of releases with .bp files, they seemed to have
> > > incompatible changes.
> >
> > I think there have possibly been some incompatible changes, as I know
> > early w/ bp files things were more in flux. That said, there haven't
> > been many changes to the libdrm bp files since the conversion was
> > first done in 2017 (so Android O). I'll checkout N and validate so I
> > can provide a more concrete assurance.
>
> Ah. Crud. You're right. The bp syntax has shifted enough over time to
> cause problems w/ the current file when building against older Android
> releases.   N falls over pretty hard, and O and even P have issues w/
> "recovery_available: ", and "prebuilt_etc" syntax.  So my proposed
> commit message mischaracterizes the state of older builds. Apologies!

The CrOS/arc++ approach to build mesa using meson as an android vendor
blob, more decoupled from android build system, seems nicer every day
;-)

Side note, unless you are also caring about new libdrm + old mesa, you
can drop libdrm_freedreno from Android.mk/Android.bp.. we've pulled it
in to $mesa/src/freedreno/drm, an old version only remains in libdrm
for older mesa and for a couple dev/test tools that I use.

BR,
-R

> I'll try to reach out to the android devs to see if there's any sort
> of compat magic that can be done to keep things working on older
> versions. That said, I'm still torn, as without this the current
> libdrm/master code is broken with AOSP/master and Q.  Its frustrating
> we have to have this seemingly exclusive trade off.
>
> I'm curious if folks might be willing to consider something like an
> upstream branch to preserve the build bits that work with prior
> Android releases? Or any other ideas?
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

      parent reply	other threads:[~2019-09-25 16:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-24 21:29 [PATCH] libdrm: Convert to Android.mk to Android.bp John Stultz
2019-09-24 21:51 ` Robert Foss
2019-09-24 22:24 ` Rob Herring
2019-09-24 23:30   ` John Stultz
2019-09-25  6:09     ` John Stultz
2019-09-25 10:39       ` Eric Engestrom
2019-09-25 15:00         ` Mauro Rossi
2019-09-25 16:17         ` John Stultz
2019-09-25 18:00           ` Mauro Rossi
2019-09-25 16:04       ` Rob Clark [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF6AEGtLpq-TKC-Cf=G-fauYTOA2diFAjfEKz+EgFwJMsC7kZg@mail.gmail.com' \
    --to=robdclark@gmail.com \
    --cc=anholt@google.com \
    --cc=astrachan@google.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=dwillemsen@google.com \
    --cc=emil.velikov@collabora.com \
    --cc=issor.oruam@gmail.com \
    --cc=jiyong@google.com \
    --cc=john.stultz@linaro.org \
    --cc=robdclark@chromium.org \
    --cc=robert.foss@collabora.com \
    --cc=seanpaul@chromium.org \
    --cc=vishal.bhoj@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.