On Thu, 30 Apr 2009 10:51:47 +0200 Karsten Mehrhoff <kaw...@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...@intel.com> : AuthorDate: Mon Apr 20 10:08:35 2009 +1000 : Commit: Dave Airlie <airl...@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. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel