Mailinglist Archive: radeonhd (31 mails)

< Previous Next >
[radeonhd] Fresh DRM repository - make fails - >error: conflicting types for ‘irqreturn_ t’
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Sun, 30 May 2010 14:12:17 -0500
  • Message-id: <4C02B891.5090202@xxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >