Skip to contentSkip to conversation

AGP

Linux-ia64 Martin Wilck 3 participants 4 messages Aug 8, 2001 – Aug 14, 2001 Agpgart driver

lore
Share & tools
lore
#0 lore raw

Hi,

I am wondering to which extent AGP and DRI are supported by Linux-IA64. So far I have always configured agpgart and DRI into my kernels, but I keep getting depmod error messages:

depmod: *** Unresolved symbols in /lib/modules/2.4.7fsc/kernel/drivers/char/agp/agpgart.o
depmod: agp_vmmap
depmod: agp_vmunmap
depmod: agp_flush_tlb_all

(I know that fixing this requires only a tiny Makefile patch, but the fact that this problem exists at least since 2.4.3 makes me feel taht noone ever tried this out).

On Lion at least, there is no AGP bus anyway. I don't know about Big Sur, but the option "Enable full AGP RQ (requires Big Sur BIOS 99 or newer) seems to suggest that Big Sur supports AGP.

My questions:
- Is it correct that AGP/DRI support makes no sense on Lion?
- What about BigSur?

Martin

Signature · 2 lines
Martin Wilck     <[email protected]>
FSC EP PS DS1, Paderborn      Tel. +49 5251 8 15113
#1 lore raw
Quoted 1 line

I am wondering to which extent AGP and DRI are supported by Linux-IA64.

My experience on an HP i2000 (which I guess is basically a BigSur) running RedHat 7.1 (2.4.3 kernel, 4.0.3 XFree86):

Nvidia Quadro2 Pro (default card): X works but no DRI Matrox G400: DRI works

I have also tried the G400 with a 2.4.5 kernel. X works fine, but DRI is broken somehow. This is with 2.4.5 + AGP/DRM-related patches from the RedHat 2.4.3 kernel. I've exchanged email with Chris Ahna, who did the GART code for the 460GX chipset in these boxes, and he's planning to look into the problems when he returns from vacation next week.

Bjorn

#2 lore raw
In reply to Martin Wilck

The following patch gets rid of the agpgart.o undefined symbol errors. However, loading the module fails on Lion with -ENODEV (no surprise, since there's no AGP slot). That means that the DRM modules for ATI cards also cannot be loaded => no DRI on Lion except with Matrox (I think the Matrox DRM driver does not require AGP to be loaded).

Martin

drivers/char/agp/Makefile renamed from drivers/char/agp/Makefile.old +1 -1
@@ -5,7 +5,7 @@
 
 O_TARGET	:= agp.o
 
-export-objs := agpgart_be.o
+export-objs := agpgart_be.o vmmap.o
 
 list-multi := agpgart.o
 agpgart-objs := agpgart_fe.o agpgart_be.o
#3 lore raw
In reply to Martin Wilck
Quoted 5 lines · Martin Wilck

The following patch gets rid of the agpgart.o undefined symbol errors. However, loading the module fails on Lion with -ENODEV (no surprise, since there's no AGP slot). That means that the DRM modules for ATI cards also cannot be loaded => no DRI on Lion except with Matrox (I think the Matrox DRM driver does not require AGP to be loaded).

The patch is absolutely correct, thanks. I haven't used any ia64 kernel past 2.4.4 so this one slipped by me.

Martin Wilck wrote (a little earlier):

Quoted 3 lines

I am wondering to which extent AGP and DRI are supported by Linux-IA64. So far I have always configured agpgart and DRI into my kernels, but I keep getting depmod error messages:

...

Quoted 7 lines

On Lion at least, there is no AGP bus anyway. I don't know about Big Sur, but the option "Enable full AGP RQ (requires Big Sur BIOS 99 or newer) seems to suggest that Big Sur supports AGP.

My questions:
- Is it correct that AGP/DRI support makes no sense on Lion?
- What about BigSur?

AGP support doesn't exist on Lion, however DRI doesn't strictly require AGP. I've been meaning to look into running PCI DRI on Lion for some time. BigSur has an AGP port on the baseboard and supports AGP fully.

As far as the general state of AGP/DRI on ia64 goes, the situation is a little complicated.

All the code needed to support AGP and DRI on ia64 has been generated, however the right patches haven't ended up in all the right places just yet. The working combination that most people have used is:

i) agpgart and drm modules from the 2.4.[234] ia64 kernel tree ii) a patched version of XFree86 4.0.[23]

With XFree86 4.1.0, drm was pretty heavily redesigned, making the drm modules from the ia64 kernel incompatible with newer Xservers. The new drm was finally integrated into the mainline kernel (it had been maintained as a kernel module existing in the XFree86 source tree) with the release of 2.4.8.

The best thing to do would be to add ia64 AGP/DRI support to both the mainline kernel and the XFree86/DRI CVS repositories. I'm discussing this with the appropriate maintainers this week. If this can be done, then AGP/DRI will finally work out of the box on ia64 after stock kernel and XFree86 builds. Otherwise I suppose I'll post updated patches to this list to support both

i) old drm + XFree86 4.0.[23]
ii) new drm + XFree86 4.1.x

Sorry this has slid so badly over the past few months, I should have more information in a few days.

Chris