Please do not reply to this email: if you want to comment on the bug, go to   
the URL shown below and enter your comments there.      
     
http://bugs.xfree86.org/show_bug.cgi?id=314       
       




------- Additional Comments From [EMAIL PROTECTED]  2004-01-06 19:42 -------
(In reply to comment #252)
> (In reply to comment #251)
> > which igp-kernel-patch does work for 2.4.23 ? 
> >  
> > Thanks, 
> 
> I don't think either one does, I've tried the two above that were against 2.4.21
> and even manually correcting the rejects, 2.4.23 will not compile.  Also it
> looks like the content of those patches has largley been moved into 2.4.23
> source, you can choose IGP support natively in 2.4.23. 
> 
> However in my case i have
> ATI Technologies Inc Radeon IGP 340M
> PCI: 00:00:0: chip 1002,cbb2 card 0000,0000 rev 02 class 06,00,00 hdr 00
> in an hp pavilion ze5300 laptop.
> 
> agpgart would not detect this with the stock 2.4.23 kernel and IGP enabled, I
> don't know if it truly doesn't support it yet or cbb2 identifier got overlooked.
>  I *seemed* to have gotten around this by simply replacing "cab2" with "cbb2" in
> these files.
> 
> drivers/char/agp/agp.h
> drivers/pci/pci.ids
> 
> I did this because I noticed looking at the patches that the cbb2 is for RS_200M
> and cab2 is for RS200, and those are both in the original pci.ids RS200/RS200M
> AGP Bridge [IGP 340M]. I'm just guessing that the same code could be used for
> both, and perhaps the cbb2 just didn't make it in.
> 
> In anycase everything seems to be working great at the moment,  I'm now
> compiling the XFree snap shop with IGP patch.
> 
> Currently I'm using rpm based X 4.3 with an IGP patch and radeon driver, created
> per the instructions here
> 
> http://www.rexursive.com/articles/linuxonhpze4201.html
> 
> Which has been working fine for sometime, but glxinfo shows with my current
> config dri is not working, thus i'm compiling the x snapshot with igp patch.
> 
> Hope that's of some help, if you have cbb2 340M as well, only do what I did at
> your own risk of course :)


In case it isn't obvious to others (it wasn't obvious to me when I read the
above comments), the following approach can be used to get DRI working on a
2.4.23 kernel:

1) Configure the kernel for ATI IGP chipset support (CONFIG_AGP_ATI=y) and for
ATI Radeon module support under DRM 4.1 drivers (CONFIG_DRM_RADEON=m).

2) Build the kernel.

3) If you don't already have it, get and build a RadeonIGP patched version of
XFree86 CVS (4.3.99.9 or greater).

4) Find the xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel branch of
the XFree86 tree (from above) and do a make -f Makefile.linux
LINUXDIR=/usr/src/linux-2.4.23 (or whatever your 2.4.23 kernel source location is).

5) Copy the radeon.o file produced in the branch in step 4) to
/lib/modules/2.4.23/kernel/drivers/char/drm.  This replaces the radeon module
installed by the 2.4.23 kernel.

6) Reboot or do whatever to restart your xserver and replace the original kernel
radeon driver module with the new one.

This procedure is basically the same as what most of us have done previously
with 2.4.20 or 2.4.21 kernels, except that we don't have to patch the 2.4.23
kernel for agpgart support.  I'm using XFree86 4.3.99.9 with a Radeon IGP 340M
on an HP ze4100 system.  This procedure should work with later XFree86 CVS
snapshots, probably with later kernels, and presumably with other Radeon IGP
hardware.  I encourage others to test this out and report back.  

I've identified a few lines that I think need to be added/changed in the 2.4.23
kernel source for radeon_cp.c in order for the stock kernels to work without
need for building a radeon.o module in the XFree86 tree.  If I can get that to
work, I'll post a patch here.

Bruce       
       
--        
Configure bugmail: http://bugs.xfree86.org/userprefs.cgi?tab=email       
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to