Bug 19591 - intel driver doesn't build against 2.6.28 drm headers
Summary: intel driver doesn't build against 2.6.28 drm headers
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: General (show other bugs)
Version: XOrg git
Hardware: Other Linux (All)
: high critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 11:14 UTC by Timo Aaltonen
Modified: 2009-03-23 15:42 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:


Attachments
modified patch (17.12 KB, patch)
2009-01-17 01:57 UTC, Timo Aaltonen
no flags Details | Splinter Review

Description Timo Aaltonen 2009-01-15 11:14:00 UTC
Forwarded from 19542: "Please open another one, hope Jesse could sort out."

../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../src -I..   -I/usr/include/xorg
-I/usr/include/pixman-1    -I/usr/include/drm   -Wall -Wpointer-arith
-Wstrict-prototypes         -Wmissing-prototypes -Wmissing-declarations    
-Wnested-externs -fno-strict-aliasing -I/usr/include/xorg
-I/usr/include/pixman-1   -I/usr/include/drm   -I/usr/include/X11/dri
-I../../uxa -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -Wall -g -O2 -MT
i830_dri.lo -MD -MP -MF .deps/i830_dri.Tpo -c -o i830_dri.lo
../../src/i830_dri.c
../../src/i830_dri.c: In function 'I830DRISwapContext':
../../src/i830_dri.c:1168: error: 'drm_i915_flip_t' undeclared (first use in
this function)
../../src/i830_dri.c:1168: error: (Each undeclared identifier is reported only
once
../../src/i830_dri.c:1168: error: for each function it appears in.)
../../src/i830_dri.c:1168: error: expected ';' before 'flip'
../../src/i830_dri.c:1174: error: 'flip' undeclared (first use in this
function)
make[5]: *** [i830_dri.lo] Error 1

same kind of an error trying to build mesa (no log nearby though).
Comment 1 qwang13 2009-01-16 00:58:29 UTC
Jesse,

Any comment for that? Zhenyu suggests you to make it resolved. I am not make sure if upstream come across such problem. Since Q4 is released, should not come across such problem. 
Comment 2 Timo Aaltonen 2009-01-16 07:16:34 UTC
There's a patch on intel-gfx@ which should fix this by removing the pageflipping support from the driver?
Comment 3 Jesse Barnes 2009-01-16 09:28:34 UTC
Yeah, applying the page flipping removal is probably the simplest way to solve this.  The kernel doesn't support these interfaces anymore anyway, so...
Comment 4 Timo Aaltonen 2009-01-17 01:57:16 UTC
Created attachment 22047 [details] [review]
modified patch

the patch by Owain doesn't apply against 2.6.0, so I had to modify it a bit.
Comment 5 Timo Aaltonen 2009-01-20 11:02:11 UTC
the original one has been committed, so this can be closed.
Comment 6 Sérgio M. Basto 2009-03-23 15:42:35 UTC

I still need this patch for xf86-video-intel-2.6.3 and drm headers of  
kernel-2.6.29-0.258.rc8.git2.fc11.i586. 

(In reply to comment #5)
> the original one has been committed, so this can be closed.
> 

but just committed in 2.7 branch ? 


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.