Bug 21662 - drm compile fail on 2.6.30-rc kernels
Summary: drm compile fail on 2.6.30-rc kernels
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-10 12:24 UTC by Robin Johnson
Modified: 2009-08-28 04:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Robin Johnson 2009-05-10 12:24:49 UTC
Trying to build the tip of the Git drm code (master branch plus against 2.6.30-rc5, I get some compile failures.

1.
=====
In file included from drm/linux-core/drmP.h:84, 
                 from drm/linux-core/drm_drawable.c:38: 
drm/linux-core/drm_os_linux.h:36: error: conflicting types for 'irqreturn_t'
include/linux/irqreturn.h:16: error: previous declaration of 'irqreturn_t' was here
make[2]: *** [drm/linux-core/drm_drawable.o] Error 1
=====
I trivially commented it out, but probably need a better detection algorithm for older kernels where it might still be needed.

2.
=====
  CC [M]  drm/linux-core/drm_sysfs.o
drm/linux-core/drm_sysfs.c: In function 'drm_sysfs_device_add':
drm/linux-core/drm_sysfs.c:172: error: 'struct device' has no member named 'bus_id'
=====
The bus_id member is totally gone. The drm_sysfs.c code in 2.6.30-rc5 has it fixed up,
Comment 1 Adam Jackson 2009-08-24 12:32:11 UTC
Mass version move, cvs -> git
Comment 2 Jerome Glisse 2009-08-28 04:17:22 UTC
drm git is not anymore used, development happen upstream now (Linux kernel).


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.