From: Francisco Jerez <currojerez-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
To: "Grzesiek Sójka" <pld-t9zbU3WrWHI@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: GeForce FX5200 dual DVI & Samsung 204b
Date: Thu, 07 Oct 2010 04:53:15 +0200 [thread overview]
Message-ID: <87wrpug1d0.fsf@riseup.net> (raw)
In-Reply-To: <4CAB3BDC.4070502-t9zbU3WrWHI@public.gmane.org> ("Grzesiek Sójka"'s message of "Tue, 05 Oct 2010 16:53:16 +0200")
[-- Attachment #1.1.1: Type: text/plain, Size: 774 bytes --]
Grzesiek Sójka <pld-t9zbU3WrWHI@public.gmane.org> writes:
> On 10/05/10 14:55, Francisco Jerez wrote:
>>> PS. I'm afraid that my system is not very stable when the AGP support
>>> is turned on both using the nouveau kernel source tree and the PLD
>>> patched 2.6.35-5 version with an extra amd-k7-agp patch. The Xserver
>>> uses the driver:
>> Unstable? How? What's the problem?
>
> Here are the logs:
> http://yen.ipipan.waw.pl/~gs159090/tmp/log.tgz
>
> BTW: Sometimes the Xserver freezes during normal work. Unfortunately I
> was not able to generate such a crush now. I send you logs if it
> happens again.
>
> Regards.
>
> [...]
> [ 197.374498] kernel BUG at drivers/gpu/drm/ttm/ttm_tt.c:420!
Oops, I overlooked that, updated patch attached.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: amdk7_agp_user_memory.patch --]
[-- Type: text/x-diff, Size: 942 bytes --]
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c
index b6b1568..b1b4362 100644
--- a/drivers/char/agp/amd-k7-agp.c
+++ b/drivers/char/agp/amd-k7-agp.c
@@ -309,7 +309,8 @@ static int amd_insert_memory(struct agp_memory *mem, off_t pg_start, int type)
num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries;
- if (type != 0 || mem->type != 0)
+ if (type != mem->type ||
+ agp_bridge->driver->agp_type_to_mask_type(agp_bridge, type))
return -EINVAL;
if ((pg_start + mem->page_count) > num_entries)
@@ -348,7 +349,8 @@ static int amd_remove_memory(struct agp_memory *mem, off_t pg_start, int type)
unsigned long __iomem *cur_gatt;
unsigned long addr;
- if (type != 0 || mem->type != 0)
+ if (type != mem->type ||
+ agp_bridge->driver->agp_type_to_mask_type(agp_bridge, type))
return -EINVAL;
for (i = pg_start; i < (mem->page_count + pg_start); i++) {
[-- 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
next prev parent reply other threads:[~2010-10-07 2:53 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-25 14:04 GeForce FX5200 dual DVI & Samsung 204b Grzesiek Sójka
[not found] ` <4C9E0167.8000507-t9zbU3WrWHI@public.gmane.org>
2010-09-27 21:41 ` Pekka Paalanen
[not found] ` <20100928004117.0a0ae0ca-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2010-09-28 10:43 ` Grzesiek Sójka
[not found] ` <4CA1C6C0.1000709-t9zbU3WrWHI@public.gmane.org>
2010-09-28 14:02 ` Pekka Paalanen
[not found] ` <20100928170227.00665f76-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2010-09-28 16:17 ` Grzesiek Sójka
[not found] ` <4CA21515.4030903-t9zbU3WrWHI@public.gmane.org>
2010-09-29 16:31 ` Pekka Paalanen
[not found] ` <20100929193136.644e0d68-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2010-09-30 10:41 ` Francisco Jerez
[not found] ` <878w2jike0.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-09-30 15:13 ` Grzesiek Sójka
[not found] ` <4CA4A934.4080109-t9zbU3WrWHI@public.gmane.org>
2010-09-30 16:05 ` Francisco Jerez
[not found] ` <87zkuzgqsv.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-09-30 18:06 ` Grzesiek Sójka
[not found] ` <4CA4D199.8010403-t9zbU3WrWHI@public.gmane.org>
2010-09-30 23:29 ` Francisco Jerez
[not found] ` <87pqvuhksw.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-10-01 10:22 ` Grzesiek Sójka
[not found] ` <4CA5B64D.8000608-t9zbU3WrWHI@public.gmane.org>
2010-10-02 13:31 ` Francisco Jerez
[not found] ` <871v88hgam.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-10-05 10:17 ` Grzesiek Sójka
[not found] ` <4CAAFB3A.8010804-t9zbU3WrWHI@public.gmane.org>
2010-10-05 12:55 ` Francisco Jerez
[not found] ` <87fwwkhk8h.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-10-05 13:27 ` Grzesiek Sójka
2010-10-05 14:53 ` Grzesiek Sójka
[not found] ` <4CAB3BDC.4070502-t9zbU3WrWHI@public.gmane.org>
2010-10-05 21:33 ` Pekka Paalanen
[not found] ` <20101006003325.3bfb33e9-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2010-10-05 21:45 ` Marcin Slusarz
[not found] ` <20101005214537.GA4034-OI9uyE9O0yo@public.gmane.org>
2010-10-05 21:53 ` Grzesiek Sójka
[not found] ` <4CAB9E43.7080801-t9zbU3WrWHI@public.gmane.org>
2010-10-05 21:59 ` Grzesiek Sójka
2010-10-07 2:53 ` Francisco Jerez [this message]
[not found] ` <87wrpug1d0.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-10-07 19:34 ` Grzesiek Sójka
2010-10-07 18:47 ` Grzesiek Sójka
2010-09-28 10:53 ` Grzesiek Sójka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wrpug1d0.fsf@riseup.net \
--to=currojerez-sgozh3hwpm2stnjn9+bgxg@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=pld-t9zbU3WrWHI@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.