Bug 69056

Summary: Doesn't compile with --disable-dri
Product: xorg Reporter: Ross Burton <ross>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Compile log none

Description Ross Burton 2013-09-06 22:02:42 UTC
Created attachment 85381 [details]
Compile log

If xf86-video-intel (2.21.13 here) is compiled with --disable-dri (and no mesa is present) then it fails to compile very rapidly due to an unguarded #include "dri2.h" in intel.h.  Guarding that produces lots of errors, see log attached.

Is building the Intel driver without DRI still a supported configuration?
Comment 1 Chris Wilson 2013-09-06 23:01:45 UTC
I see the problem, you were trying to build UXA...

Oh well, that has been broken for ages.

commit ea30967245707ca4825de154e589a83dc605dae0
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Sep 6 22:54:48 2013 +0000

    configure: Disable UXA build without DRI2
    
    DRI2 is interwoven into the UXA structs, so simply disable building UXA
    if DRI2 is not available.
    
    Reported-by: Ross Burton <ross@burtonini.com>
    Bugzilla:  https://bugs.freedesktop.org/show_bug.cgi?id=69056
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

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.