From: Andrew Morton <akpm@linux-foundation.org>
To: Karsten Mehrhoff <kawime@gmx.de>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.sourceforge.net,
Shaohua Li <shaohua.li@intel.com>, Dave Airlie <airlied@linux.ie>,
stable@kernel.org
Subject: Re: PROBLEM: 2.6.29.2 - AGP doesn't work anymore on my nforce2
Date: Thu, 30 Apr 2009 17:59:27 -0700 [thread overview]
Message-ID: <20090430175927.a89f1cd3.akpm@linux-foundation.org> (raw)
In-Reply-To: <op.us6ywl2jgp7xae@127.0.0.1>
On Thu, 30 Apr 2009 10:51:47 +0200
Karsten Mehrhoff <kawime@gmx.de> wrote:
> [1.]
> PROBLEM: No more agp card functionality with the patch 2.6.29.2 of 'a/drivers/char/agp/generic.c'
>
> [2.]
> I compiled the kernel 2.6.29.2 with my .config of 2.6.29.1 and run into problems with the speed of my ATI RADEON 9600 (rv350)
>
So we have a 2.6.29.1 -> 2.6.29.2 regression.
> ...
>
> Problematic patch:
> //---
> --- a/drivers/char/agp/generic.c
> +++ b/drivers/char/agp/generic.c
> @@ -1226,7 +1226,7 @@ int agp_generic_alloc_pages(struct agp_bridge_data *bridge, struct agp_memory *m
> int i, ret = -ENOMEM;
>
> for (i = 0; i < num_pages; i++) {
> - page = alloc_page(GFP_KERNEL | GFP_DMA32);
> + page = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO);
> /* agp_free_memory() needs gart address */
> if (page == NULL)
> goto out;
> @@ -1257,7 +1257,7 @@ void *agp_generic_alloc_page(struct agp_bridge_data *bridge)
> {
> struct page * page;
>
> - page = alloc_page(GFP_KERNEL | GFP_DMA32);
> + page = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO);
> if (page == NULL)
> return NULL;
> ---//
>
> I reverted the patch back to 2.6.29.1, compiled and the kernel agian and agp works ok.
Really? So reverting
: commit 59de2bebabc5027f93df999d59cc65df591c3e6e
: Author: Shaohua Li <shaohua.li@intel.com>
: AuthorDate: Mon Apr 20 10:08:35 2009 +1000
: Commit: Dave Airlie <airlied@redhat.com>
: CommitDate: Mon Apr 20 10:08:35 2009 +1000
:
: agp: zero pages before sending to userspace
makes your AGP work properly?
That's really weird.
next prev parent reply other threads:[~2009-05-01 1:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-30 8:51 PROBLEM: 2.6.29.2 - AGP doesn't work anymore on my nforce2 Karsten Mehrhoff
2009-05-01 0:59 ` Andrew Morton [this message]
2009-05-01 12:08 ` Jerome Glisse
[not found] ` <55bc079c-5c3d-465a-be28-0e38c0b48b14@rrsmsx603.amr.corp.intel.com>
2009-05-04 1:41 ` Shaohua Li
2009-05-04 6:31 ` Karsten Mehrhoff
2009-05-04 15:07 ` Michel Dänzer
2009-05-04 16:23 ` Karsten Mehrhoff
2009-05-04 16:40 ` Michel Dänzer
2009-05-16 23:44 ` Andrew Morton
2009-05-18 1:50 ` Shaohua Li
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=20090430175927.a89f1cd3.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.sourceforge.net \
--cc=kawime@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=shaohua.li@intel.com \
--cc=stable@kernel.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.