android_kernel_xiaomi_sm8350/arch/x86/mm
Suresh Siddha d546b67a94 x86: fix performance drop for glx
fix the 3D performance drop reported at:

   http://bugzilla.kernel.org/show_bug.cgi?id=10328

fb drivers are using ioremap()/ioremap_nocache(), followed by mtrr_add with
WC attribute. Recent changes in page attribute code made both
ioremap()/ioremap_nocache() mappings as UC (instead of previous UC-). This
breaks the graphics performance, as the effective memory type is UC instead
of expected WC.

The correct way to fix this is to add ioremap_wc() (which uses UC- in the
absence of PAT kernel support and WC with PAT) and change all the
fb drivers to use this new ioremap_wc() API.

We can take this correct and longer route for post 2.6.25. For now,
revert back to the UC- behavior for ioremap/ioremap_nocache.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-03-26 22:23:41 +01:00
..
discontig_32.c x86: fix trim mtrr not to setup_memory two times 2008-03-26 22:23:41 +01:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault.c x86: make dump_pagetable() static 2008-02-14 23:30:19 +01:00
highmem_32.c x86: kmap_atomic() debugging 2008-01-30 13:30:47 +01:00
hugetlbpage.c x86: demacro asm-x86/pgalloc_32.h 2008-01-30 13:33:39 +01:00
init_32.c x86: include proper prototypes for rodata_test 2008-02-14 23:30:20 +01:00
init_64.c x86: fix spontaneous reboot with allyesconfig bzImage 2008-02-26 12:55:56 +01:00
ioremap.c x86: fix performance drop for glx 2008-03-26 22:23:41 +01:00
k8topology_64.c x86: add PCI IDs to k8topology_64.c 2008-01-30 13:34:12 +01:00
Makefile
Makefile_32 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
Makefile_64 x86: unify fault_32|64.c 2008-01-30 13:34:11 +01:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c x86_64: free_bootmem should take phys 2008-03-21 17:06:15 +01:00
pageattr-test.c x86: remove over noisy debug printk 2008-02-11 11:24:24 -08:00
pageattr.c x86: fix performance drop for glx 2008-03-26 22:23:41 +01:00
pgtable_32.c x86: remove quicklists 2008-03-11 17:11:55 +01:00
srat_64.c x86: fix section mismatch in srat_64.c:reserve_hotadd 2008-02-19 16:18:31 +01:00