Re: AGPGART problems with VIA KX133 chipsets under 2.2.18/2.4.0

Wayne Whitney
2001-01-23T20:07:14Z

In mailing-lists.linux-kernel, you wrote:

>Michael Guntsche wrote:
>
>> While playing around with the agpgart module I noticed the following strange
>> behaviour.
>>
>> The hardware in question is an Asus K7V with the KX133 chipset and has been
>> tested on both 2.4.0 and 2.2.18 kernels.
>
>Can you try this patch and tell me if it fixes the problem (against 2.4.0)?
>
>--- agpgart_be.c~ Fri Dec 29 15:07:21 2000
>+++ agpgart_be.c Tue Jan 23 09:45:49 2001
>@@ -1384,7 +1384,9 @@
> aper_size_info_8 *previous_size;
>
> previous_size = A_SIZE_8(agp_bridge.previous_size);
>+#if 0
> pci_write_config_dword(agp_bridge.dev, VIA_ATTBASE, 0);
>+#endif
> pci_write_config_byte(agp_bridge.dev, VIA_APSIZE,
> previous_size->size_value);
> }

I have the same hardware as Michael Guntsche, and this patch fixes the
problem for me.

Cheers, Wayne