[DRM] Is my kernel (SuSE 2.6.5-7.155.29-smp) to old?

2005-09-24 Thread Dieter Nützel
Worked for ages.
What shall I do, since I have a brand new Radeon 9550?
Yes, my system would be updated to SuSE 10.0 (2.6.13+), soon.

-Dieter

drm/linux-core time make radeon.o
make DRM_MODULES=radeon.o modules
make[1]: Entering directory `/opt/drm/linux-core'
make -C /lib/modules/2.6.5-7.155.29-smp/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` 
modules
make[2]: Entering directory `/usr/src/linux-2.6.5-7.155.29'
  CC [M]  /opt/drm/linux-core/drm_sysfs.o
/opt/drm/linux-core/drm_sysfs.c:130: Warnung: implicit declaration of function 
`__ATTR'
/opt/drm/linux-core/drm_sysfs.c:130: error: `dri_library_name' undeclared here 
(not in a function)
/opt/drm/linux-core/drm_sysfs.c:130: Warnung: missing braces around 
initializer
/opt/drm/linux-core/drm_sysfs.c:130: Warnung: (near initialization for 
`class_device_attrs[0]')
/opt/drm/linux-core/drm_sysfs.c:130: error: initializer element is not 
constant
/opt/drm/linux-core/drm_sysfs.c:130: error: (near initialization for 
`class_device_attrs[0].attr.name')
/opt/drm/linux-core/drm_sysfs.c:131: error: initializer element is not 
constant
/opt/drm/linux-core/drm_sysfs.c:131: error: (near initialization for 
`class_device_attrs[0].attr')
/opt/drm/linux-core/drm_sysfs.c:131: error: initializer element is not 
constant
/opt/drm/linux-core/drm_sysfs.c:131: error: (near initialization for 
`class_device_attrs[0]')
make[3]: *** [/opt/drm/linux-core/drm_sysfs.o] Fehler 1
make[2]: *** [_module_/opt/drm/linux-core] Fehler 2
make[2]: Leaving directory `/usr/src/linux-2.6.5-7.155.29'
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/opt/drm/linux-core'
make: *** [radeon.o] Fehler 2
0.403u 0.149s 0:00.56 96.4% 0+0k 0+0io 0pf+0w

-- 
Dieter Nützel
@home: Dieter () nuetzel-hh ! de

-- 
Dieter Nützel
@home: Dieter () nuetzel-hh ! de


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [DRM] Is my kernel (SuSE 2.6.5-7.155.29-smp) to old?

2005-09-24 Thread Dave Airlie

On Sun, 25 Sep 2005, Dieter Nützell wrote:

 Worked for ages.
 What shall I do, since I have a brand new Radeon 9550?
 Yes, my system would be updated to SuSE 10.0 (2.6.13+), soon.


Can you try it now , I added __ATTR to the backwards compat header file...

it should build I think..

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [DRM] Is my kernel (SuSE 2.6.5-7.155.29-smp) to old?

2005-09-24 Thread Dieter Nützel
Am Sonntag, 25. September 2005 04:52 schrieb Dave Airlie:
 On Sun, 25 Sep 2005, Dieter Nützell wrote:
  Worked for ages.
  What shall I do, since I have a brand new Radeon 9550?
  Yes, my system would be updated to SuSE 10.0 (2.6.13+), soon.

 Can you try it now , I added __ATTR to the backwards compat header file...

Where?

drmP.h is new, but...

drm/linux-core l drmP.h
-rw-r--r--1 nuetzel  users   35882 2005-09-25 06:26 drmP.h

/opt/drm grep -r 'ATTR' *
linux-core/drm_sysfs.c:static CLASS_ATTR(version, S_IRUGO, version_show, 
NULL);
linux-core/drm_sysfs.c: __ATTR(dri_library_name, S_IRUGO, show_dri, NULL),
grep: Warnung: linux-core/linux: Rekursive Verzeichnisschleife.

linux-core/r300_reg.h:#define R300_VPI_IN_REG_CLASS_ATTRIBUTE(1  0)
shared-core/r300_reg.h:#define R300_VPI_IN_REG_CLASS_ATTRIBUTE(1  0)

 it should build I think..

Not, yet.
Error is same as before.

Thanks,
Dieter


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [DRM] Is my kernel (SuSE 2.6.5-7.155.29-smp) to old?

2005-09-24 Thread Dave Airlie

  Can you try it now , I added __ATTR to the backwards compat header file...

 Where?


Sorry it should be in drm_compat.h now.. I hadn't noticed the commit
failed because my tree wasn't up to date..

Dave.



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [DRM] Is my kernel (SuSE 2.6.5-7.155.29-smp) to old?

2005-09-24 Thread Dieter Nützel
Am Sonntag, 25. September 2005 07:19 schrieb Dave Airlie:
   Can you try it now , I added __ATTR to the backwards compat header
   file...
 
  Where?

 Sorry it should be in drm_compat.h now.. I hadn't noticed the commit
 failed because my tree wasn't up to date..

OK, built.

[drm] Initialized drm 1.0.0 20040925
PCI: Unable to reserve mem region #1:[EMAIL PROTECTED] for device :01:05.0
[drm] Initialized radeon 1.19.0 20050911 on minor 0: ATI Technologies Inc 
RV350 AS [Radeon 9600 AS]
[drm] Used old pci detect: framebuffer loaded

But:
(WW) RADEON(0): Enabling DRM support

*** Direct rendering support is highly experimental for Radeon 9500
*** and newer cards. In fact, the only thing you could probably use
***  it for is better 2d acceleration. The 3d mesa driver is not
*** provided in this tree. A very experimental (and incomplete)
*** version is available from http://r300.sourceforge.net
*** This message has been last modified on 12/12/04.

(II) RADEON(0): Direct rendering disabled

Now, I have to learn how to configure it.

-Dieter

-- 
Dieter Nützel
@home: Dieter () nuetzel-hh ! de


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel