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

Chris Ahna
2001-09-29T01:45:21Z

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;
}