* AMD768 & GeForce5200: nouveau bug??
@ 2010-09-24 14:37 Grzesiek Sójka
[not found] ` <4C9CB7B2.3010401-t9zbU3WrWHI@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Grzesiek Sójka @ 2010-09-24 14:37 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Hi there,
Im using ASUS A7M266-D mainboard based on AMD768 chipset and Nvidia
GeForce FX5200 dual DVI graphics adapter. I'm forced to switch from
binary Nvidia drivers to nouveau but the problem is that nouveau.ko
would not load with AGP support turned on. Is it a nouveau/kernel bug??
To build the kernel I used the kernel tree downloaded from the nouveau
repository about a week ago. The dmesg output with/without the AGP
support you can find at:
http://yen.ipipan.waw.pl/~gs159090/tmp/withAGP.txt.gz
http://yen.ipipan.waw.pl/~gs159090/tmp/withoutAGP.txt.gz
And here is lspci -vv output
http://yen.ipipan.waw.pl/~gs159090/tmp/lspci-vv.txt.gz
Thanks in advance for any help.
Regards
Greg
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <4C9CB7B2.3010401-t9zbU3WrWHI@public.gmane.org>]
* Re: AMD768 & GeForce5200: nouveau bug?? [not found] ` <4C9CB7B2.3010401-t9zbU3WrWHI@public.gmane.org> @ 2010-09-24 20:27 ` Francisco Jerez [not found] ` <8739syrins.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Francisco Jerez @ 2010-09-24 20:27 UTC (permalink / raw) To: Grzesiek Sójka; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW [-- Attachment #1.1.1: Type: text/plain, Size: 1086 bytes --] Grzesiek Sójka <pld-t9zbU3WrWHI@public.gmane.org> writes: > Hi there, > > Im using ASUS A7M266-D mainboard based on AMD768 chipset and Nvidia > GeForce FX5200 dual DVI graphics adapter. I'm forced to switch from > binary Nvidia drivers to nouveau but the problem is that nouveau.ko > would not load with AGP support turned on. Is it a nouveau/kernel bug?? > To build the kernel I used the kernel tree downloaded from the nouveau > repository about a week ago. The dmesg output with/without the AGP > support you can find at: > http://yen.ipipan.waw.pl/~gs159090/tmp/withAGP.txt.gz > http://yen.ipipan.waw.pl/~gs159090/tmp/withoutAGP.txt.gz > And here is lspci -vv output > http://yen.ipipan.waw.pl/~gs159090/tmp/lspci-vv.txt.gz > > Thanks in advance for any help. That looks like a bug in the amdk7 agp driver, can you give this patch a try? > > Regards > Greg > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1.1.2: amdk7_agp_user_memory.patch --] [-- Type: text/x-diff, Size: 769 bytes --] diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c index b6b1568..82e5189 100644 --- a/drivers/char/agp/amd-k7-agp.c +++ b/drivers/char/agp/amd-k7-agp.c @@ -303,13 +303,15 @@ static void amd_irongate_tlbflush(struct agp_memory *temp) static int amd_insert_memory(struct agp_memory *mem, off_t pg_start, int type) { + struct agp_bridge_data *bridge = mem->bridge; int i, j, num_entries; unsigned long __iomem *cur_gatt; unsigned long addr; num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; - if (type != 0 || mem->type != 0) + if (!bridge || type != mem->type || + bridge->driver->agp_type_to_mask_type(bridge, type)) return -EINVAL; if ((pg_start + mem->page_count) > num_entries) [-- Attachment #1.2: Type: application/pgp-signature, Size: 229 bytes --] [-- Attachment #2: Type: text/plain, Size: 181 bytes --] _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <8739syrins.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>]
* Re: AMD768 & GeForce5200: nouveau bug?? [not found] ` <8739syrins.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org> @ 2010-09-27 8:44 ` Grzesiek Sójka 0 siblings, 0 replies; 3+ messages in thread From: Grzesiek Sójka @ 2010-09-27 8:44 UTC (permalink / raw) To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW On 09/24/10 22:27, Francisco Jerez wrote: > Grzesiek Sójka<pld-t9zbU3WrWHI@public.gmane.org> writes: > >> Hi there, >> >> Im using ASUS A7M266-D mainboard based on AMD768 chipset and Nvidia >> GeForce FX5200 dual DVI graphics adapter. I'm forced to switch from >> binary Nvidia drivers to nouveau but the problem is that nouveau.ko >> would not load with AGP support turned on. Is it a nouveau/kernel bug?? >> To build the kernel I used the kernel tree downloaded from the nouveau >> repository about a week ago. The dmesg output with/without the AGP >> support you can find at: >> http://yen.ipipan.waw.pl/~gs159090/tmp/withAGP.txt.gz >> http://yen.ipipan.waw.pl/~gs159090/tmp/withoutAGP.txt.gz >> And here is lspci -vv output >> http://yen.ipipan.waw.pl/~gs159090/tmp/lspci-vv.txt.gz >> >> Thanks in advance for any help. > > That looks like a bug in the amdk7 agp driver, can you give this patch a > try? The patch from Francisco Jerez works fine for me so I was wondering what to do next. It would be nice to apply it to the official kernel tree. Should I open a bug?? Write to someone?? ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-27 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 14:37 AMD768 & GeForce5200: nouveau bug?? Grzesiek Sójka
[not found] ` <4C9CB7B2.3010401-t9zbU3WrWHI@public.gmane.org>
2010-09-24 20:27 ` Francisco Jerez
[not found] ` <8739syrins.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-09-27 8:44 ` Grzesiek Sójka
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.