On Friday, March 4, 2005 11:03 am, Jesse Barnes wrote:
> Some ia64 platforms may not support write combining on all type of memory,
> so we need to consult the EFI memory map before we try to set the write
> combine attribute of a page.  This patch will try to map a page write
> combined if it's not an AGP page and the EFI memory map says it's ok,
> otherwise it falls back to a regular, uncached mapping.  Can someone please
> apply this to the drm tree?

Oops, it'll need this fix too.

Jesse

Index: drmP.h
===================================================================
RCS file: /cvsroot/r300/r300_driver/drm/linux-core/drmP.h,v
retrieving revision 1.2
diff -u -p -r1.2 drmP.h
--- drmP.h      2 Mar 2005 03:54:27 -0000       1.2
+++ drmP.h      4 Mar 2005 20:00:18 -0000
@@ -55,6 +55,9 @@
 #include <linux/smp_lock.h>    /* For (un)lock_kernel */
 #include <linux/mm.h>
 #include <linux/pagemap.h>
+#ifdef __ia64__
+#include <linux/efi.h>
+#endif
 #if defined(__alpha__) || defined(__powerpc__)
 #include <asm/pgtable.h>       /* For pte_wrprotect */
 #endif


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to