From: Philipp Zabel <p.zabel@pengutronix.de>
To: Michael Olbrich <m.olbrich@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2] mesalib: version bump 24.2.2 -> 24.2.3
Date: Thu, 26 Sep 2024 10:39:06 +0200 [thread overview]
Message-ID: <2ea6dda2934aef3b597e42058bc4be85a61f905d.camel@pengutronix.de> (raw)
In-Reply-To: <ZvUKu_5QQ95spxFp@pengutronix.de>
On Do, 2024-09-26 at 09:18 +0200, Michael Olbrich wrote:
> On Fri, Sep 20, 2024 at 10:21:26AM +0200, Philipp Zabel wrote:
> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > ---
> > v2: don't install libgallium_drv_video.so, link VA drivers to ../libgallium-24.2.3.so
> > ---
> > rules/mesalib.make | 8 +++-----
> > 1 file changed, 3 insertions(+), 5 deletions(-)
> >
> > diff --git a/rules/mesalib.make b/rules/mesalib.make
> > index c18056a97db7..379bbdf1173c 100644
> > --- a/rules/mesalib.make
> > +++ b/rules/mesalib.make
> > @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_MESALIB) += mesalib
> > #
> > # Paths and names
> > #
> > -MESALIB_VERSION := 24.2.2
> > -MESALIB_MD5 := 2efcf055c7d48b12cd2c9df2fc41f1b0
> > +MESALIB_VERSION := 24.2.3
> > +MESALIB_MD5 := e3a195842c5cfbfb7234ed45f70af787
> > MESALIB := mesa-$(MESALIB_VERSION)
> > MESALIB_SUFFIX := tar.xz
> > MESALIB_URL := \
> > @@ -294,12 +294,10 @@ ifdef PTXCONF_MESALIB_EGL_X11
> > endif
> > endif
> > ifneq ($(strip $(MESALIB_DRI_VA_LIBS-y)),)
> > - @$(call install_copy, mesalib, 0, 0, 0644, -, /usr/lib/dri/libgallium_drv_video.so)
> > -
> > @$(foreach lib, $(MESALIB_DRI_VA_LIBS-y), \
> > test -f $(MESALIB_PKGDIR)/usr/lib/dri/$(lib)_drv_video.so || \
> > ptxd_bailout "missing va driver $(lib)_drv_video.so"$(ptx/nl) \
> > - $(call install_link, mesalib, libgallium_drv_video.so, \
> > + $(call install_link, mesalib, ../libgallium-$(MESALIB_LIBGALLIUM_VERSION).so, \
>
> I'm pretty sure that this is not quite correct. _If_
> libgallium-$(MESALIB_LIBGALLIUM_VERSION).so ist installed, then this works.
> But if it is not built, then libgallium_drv_video.so is still created and
> used. At least, that's what the upstream commit suggests.
In practice, only the PTXCONF_MESALIB_DRI_R600/RADEONSI/NOUVEAU options
enable VA drivers. All of them also enable a gallium driver that causes
libgallium to be installed.
regards
Philipp
next prev parent reply other threads:[~2024-09-26 8:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-20 8:21 Philipp Zabel
2024-09-26 7:18 ` Michael Olbrich
2024-09-26 8:39 ` Philipp Zabel [this message]
2024-09-26 13:19 ` [ptxdist] [APPLIED] " Michael Olbrich
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=2ea6dda2934aef3b597e42058bc4be85a61f905d.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox