Re: [Linux-ia64] Re: kernel update (relative to 2.4.10)

From: Chris Ahna <christopher.j.ahna_at_intel.com>
Date: 2001-09-29 11:45:21
On Fri, Sep 28, 2001 at 09:13:24AM -0700, David Mosberger wrote:
> Chris do you have any updates pending?

Well, I do now :-)  On ia64 we want to map even AGP memory as
writecombined.  The appended patch should fix the rendering problems
Bill reported earlier.

Chris


--- linux-2.4.10-ia64-010924-pristine/drivers/char/drm/drm_vm.h	Wed Sep 26 09:16:03 2001
+++ linux-2.4.10-ia64-010924-dev/drivers/char/drm/drm_vm.h	Fri Sep 28 18:40:01 2001
@@ -524,8 +524,8 @@
                 	 */
                 	vma->vm_ops = &DRM(vm_ops);
 #if defined(__ia64__)
-			if (map->type != _DRM_AGP)
-				vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
+			vma->vm_page_prot =
+			                pgprot_writecombine(vma->vm_page_prot);
 #endif
 			goto mapswitch_out;
 		}
Received on Fri Sep 28 18:54:14 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:05 EST