Bug 107502

Summary: Newest libdrm is required by amdgpu, but drm_intel error is emitted
Product: Mesa Reporter: mirh <mirh>
Component: OtherAssignee: Dylan Baker <baker.dylan.c>
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: minor    
Priority: lowest CC: baker.dylan.c
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: meson build log

Description mirh 2018-08-06 22:30:47 UTC
Created attachment 140986 [details]
meson build log

Build options can be seen here
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mesa-git#n44

And build log is of course attached. 

If I change _drm_amdgpu_ver to some fictional version number, drm_intel is promptly required to be that - so I hypothesize there must be some problem with the check.
Comment 1 Dylan Baker 2018-08-06 22:57:00 UTC
This is just a bug with the error message. It's not supported to mix and match different libdrm_<vendor> and libdrm core versions, so what meson does is checks each vendor's libdrm requirements based on the mesa drivers being built, then searches for the libdrm version that matches that. I guess we should probably fix the error message, although that might be no-trivial
Comment 2 mirh 2018-08-06 23:18:34 UTC
Sure, I can see that in the comment. 
But that would make for a hell of headbanging, was I to decide to just disable X vendor instead of upgrading the whole libdrm.
Comment 3 Dylan Baker 2018-10-23 16:07:12 UTC
I think this has been addressed, we now emit a message telling you which driver bumped the drm version.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.