Subject: Re: DRI success on amd64
To: None <tech-x11@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-x11
Date: 06/09/2007 00:22:53
In article <6e9741c60706072247w41557567q62d68a5ad7cb3d6@mail.gmail.com>,
Blair Sadewitz <blair.sadewitz@gmail.com> wrote:
>As another poster reported a few months ago, DRI on amd64 works if one
>changes the type of 'off' in uvm_device.c to vsize_t from off_t, as it
>needs to hold a 64-bit value.  What would be the proper way of fixing
>this?
>
>Also, I got MesaLib 6.5.3 to build with the x86_64 assembly by
>building it with -fvisibility=hidden to avoid relocation issues.  It's
>actually _MORE_ stable than it was on i386; the PageFlip option
>doesn't cause screen corruption, for instance.  Strange (my video
>card, an R423, does have 64-bit PCIE BARs).
>
>I'd like to fix this in the kernel, but I do not know what the
>underlying problem is (if there is one, but I suspect there is).

Can you send a patch? I don't understand this as off_t is 64 bits on all
archs.

christos