atyfb: MTRR support
PATCH 1/1 atyfb: MTRR support
The attached patch adds MTRR support to atyfb.
Write-combining is enabled for the whole PCI resource and an uncachable hole is made for MMIO registers if necessary.
I also changed aty_init() to return 0 on success like the other functions.
Signature · 3 lines
Ville Syrjälä [email protected] http://www.sci.fi/~syrjala/
drivers/video/aty/atyfb.h +4 -0
@@ -178,6 +178,10 @@unsigned long irq_flags;unsigned int irq;spinlock_t int_lock; +#ifdef CONFIG_MTRR +int mtrr_aper; +int mtrr_reg; +#endif };/*
drivers/video/aty/atyfb_base.c +46 -5
110 lines not on this page · raw message