[PATCH 2/2] UBUNTU: SAUCE: vesafb: enable mtrr WC by default

Steve Conklin sconklin at canonical.com
Tue May 24 16:31:33 UTC 2011


Applied

On Thu, 2011-05-19 at 14:54 +0100, Andy Whitcroft wrote:
> From: Thomas Schlichter <thomas.schlichter at web.de>
> 
> BugLink: http://bugs.launchpad.net/bugs/778043
> 
> Move to enabling a write-combining MTRR by default, this then matches
> the uvesafb module.
> 
> Signed-off-by: Andy Whitcroft <apw at canonical.com>
> ---
>  drivers/video/vesafb.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c
> index d0db4bb..43d9054 100644
> --- a/drivers/video/vesafb.c
> +++ b/drivers/video/vesafb.c
> @@ -55,7 +55,7 @@ static struct fb_fix_screeninfo vesafb_fix __initdata = {
>  #ifndef MODULE
>  static int   inverse    __read_mostly;
>  #endif
> -static int   mtrr       __read_mostly;		/* disable mtrr */
> +static int   mtrr       __read_mostly = 3;	/* disable mtrr */
>  static int   vram_remap __initdata;		/* Set amount of memory to be used */
>  static int   vram_total __initdata;		/* Set total amount of memory */
>  static int   pmi_setpal __read_mostly = 1;	/* pmi for palette changes ??? */
> -- 
> 1.7.4.1
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20110524/e22914d6/attachment.sig>


More information about the kernel-team mailing list