Fresh DRM repository - make fails ->error: conflicting types for ‘irqreturn_t’
Matthias, all, Over the weekend, I had some time to work on the radeonhd driver. So far, I'm stumped. A few months ago, radeonhd would not build on Arch Linux. ( See 1/23 - "[radeonhd] latest git update will not build on Arch Linux??" ) Matthias suggested that drm was the issue. So this time I grabbed a fresh copy of drm with git. Then I moved to the r6xx-r7xx-support branch with: git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support The I did the normal cd drm/linux/core and then 'make' Make exited with the following error: 13:57 alchemy:~/apps/drm/linux-core> make sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt make -C /lib/modules/2.6.33-ARCH/build SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules make[1]: Entering directory `/usr/src/linux-2.6.33-ARCH' CC [M] /home/david/apps/drm/linux-core/drm_auth.o In file included from /home/david/apps/drm/linux-core/drmP.h:84:0, from /home/david/apps/drm/linux-core/drm_auth.c:36: /home/david/apps/drm/linux-core/drm_os_linux.h:36:14: error: conflicting types for ‘irqreturn_t’ include/linux/irqreturn.h:16:24: note: previous declaration of ‘irqreturn_t’ was here make[2]: *** [/home/david/apps/drm/linux-core/drm_auth.o] Error 1 make[1]: *** [_module_/home/david/apps/drm/linux-core] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.33-ARCH' make: *** [modules] Error 2 I guess I need help understanding whether installing the new drm objects is still a requirement, and (2) if so, how do I fix the error above? I'm anxious to test the radeonhd driver. Whatever kernel changes have been made in the past several kernels has really done wonders for the old 'radeon' driver operation (I works nicely) and the changes have also helped with the heat issues (gpu chipset powerdown when idle). If the radeon driver function has been helped that much, I can't wait to try the radeonhd driver. I might finally be able to move completely to an opensource driver. It's still not as fast as the fglrx driver, but the speed is acceptable -- even with compiz. The heating is the last real issue -- and I know you guys have done more work on the downclocking issue than has ever been done with the radeon driver, so If the tests go good -- bye bye suse 11.0, I can finally upgrade :p Let me know what you think about the drm make issue and thank you for all your continued work! -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On 05/30/2010 02:12 PM, David C. Rankin wrote:
A few months ago, radeonhd would not build on Arch Linux. ( See 1/23 - "[radeonhd] latest git update will not build on Arch Linux??" ) Matthias suggested that drm was the issue.
As a followup, radeonhd now builds without issue on Arch Linux, but configure does no enable DRI. Here is the last 2 messages from the ./autogen.sh process: config.status: executing libtool commands NOTE: DRI support is disabled What does the Note: mean as far a the driver working? Does this mean the speed will be hurt? Compositing? Is this was Mattias was talking about when he said I needed DRM? I guess what I'm asking is what do I need to do to enable DRM? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
Am 30.05.2010 21:32, schrieb David C. Rankin:
On 05/30/2010 02:12 PM, David C. Rankin wrote:
A few months ago, radeonhd would not build on Arch Linux. ( See 1/23 - "[radeonhd] latest git update will not build on Arch Linux??" ) Matthias suggested that drm was the issue.
As a followup, radeonhd now builds without issue on Arch Linux, but configure does no enable DRI. Here is the last 2 messages from the ./autogen.sh process:
config.status: executing libtool commands
NOTE: DRI support is disabled
What does the Note: mean as far a the driver working? Does this mean the speed will be hurt? Compositing?
Is this was Mattias was talking about when he said I needed DRM? I guess what I'm asking is what do I need to do to enable DRM?
Hi David, which version of pkg-config do you use ? pkg-config --version one version (I'm not sure if 0.23 or 0.24) has issues with escaping "=" and ":" . That leads to several declarations not found (e.g."XSERVER_LIBPCIACCESS") and to the DRI not enabled-message. The error I had when I tried to compile was not the same as yours. if I remember right, but compiling failed. The update to pkg-config 0.25 in debian unstable fixed this issue. Jens -- Jens Lody Unofficial debian-repository for Code::Blocks: http://apt.jenslody.de/ |\ _,,,---,,_ /,`.-'`' -. ;-;;,_ <|,4- ) )-,_..;\ ( `'-' '---''(_/--' `-'\_) -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On 05/30/2010 03:06 PM, Jens Lody wrote:
Am 30.05.2010 21:32, schrieb David C. Rankin:
On 05/30/2010 02:12 PM, David C. Rankin wrote:
A few months ago, radeonhd would not build on Arch Linux. ( See 1/23 - "[radeonhd] latest git update will not build on Arch Linux??" ) Matthias suggested that drm was the issue.
As a followup, radeonhd now builds without issue on Arch Linux, but configure does no enable DRI. Here is the last 2 messages from the ./autogen.sh process:
config.status: executing libtool commands
NOTE: DRI support is disabled
What does the Note: mean as far a the driver working? Does this mean the speed will be hurt? Compositing?
Is this was Mattias was talking about when he said I needed DRM? I guess what I'm asking is what do I need to do to enable DRM?
Hi David, which version of pkg-config do you use ?
pkg-config --version
Jens, Thanks for your help! 17:42 nirvana:~> pkg-config --version 0.25
The update to pkg-config 0.25 in debian unstable fixed this issue.
I hope Arch Linux will do :p I'll give building another shot tonight when I swap drives in my laptop. I sure hope I can get radeonhd to build correctly and no to black-screen this time. I'll let you know. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On 30 May 2010 12:12, David C. Rankin
A few months ago, radeonhd would not build on Arch Linux. ( See 1/23 - "[radeonhd] latest git update will not build on Arch Linux??" ) Matthias suggested that drm was the issue. So this time I grabbed a fresh copy of drm with git. Then I moved to the r6xx-r7xx-support branch with:
IIRC r6xx-r7xx-support branch was merged with master months and months ago, and I don't recall it ever being resurrected. Don't use it. DRM development for radeon in general has moved off of the separate repo as well. All the new work are now done as part of the mainline kernel.
I'm anxious to test the radeonhd driver. Whatever kernel changes have been made in the past several kernels has really done wonders for the old 'radeon' driver operation (I works nicely) and the changes have also helped with the heat issues (gpu chipset powerdown when idle).
These changes were made in KMS, and are not available for radeonhd. -- Yang Zhao http://yangman.ca -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (3)
-
David C. Rankin
-
Jens Lody
-
Yang Zhao