[Mesa-dev] [PATCH] meson: Print a message about why a libdrm version was selected
Eric Engestrom
eric.engestrom at intel.com
Wed Sep 5 10:44:29 UTC 2018
On Wednesday, 2018-09-05 11:25:06 +0100, Emil Velikov wrote:
> On 4 September 2018 at 22:47, Dylan Baker <dylan at pnwbakers.com> wrote:
> > We require a single version of libdrm for all of our libdrm
> > dependencies (core and driver), but the way this is structured can make
> > the error message less than helpful, as one driver might be the one
> > setting the libdrm requirement, while another might be the one that
> > generates the version failure.
> >
> > This adds a simple message to the output announcing which libdrm module
> > set the version, which might be more helpful.
> >
> Recently when libdrm_amdgpu was bumped, I noticed that it's version
> was still imposed, even though I was building only classic i965.
> Both gallium and vulkan drivers were explicitly disabled.
>
> Can you please look into that, if you haven't already.
If you're talking about meson, I just did, and the only way
_drm_amdgpu_ver is checked is if you have radv or radeonsi enabled.
(Note that freedreno currently depends on the same version as amdgpu)
I also noticed a bug with the vc4 libdrm check, but that's unrelated.
I'll send a patch once I figure out what the right fix is.
More information about the mesa-dev
mailing list