From 63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75 Mon Sep 17 00:00:00 2001 From: Andy Lutomirski Date: Mon, 13 May 2013 23:58:46 +0000 Subject: uvesafb: Clean up MTRR code The old code allowed very strange memory types. Now it works like all the other video drivers: ioremap_wc is used unconditionally, and MTRRs are set if PAT is unavailable (unless MTRR is disabled by a module parameter). UC, WB, and WT support is gone. If there are MTRR conflicts that prevent addition of a WC MTRR, adding a non-conflicting MTRR is pointless; it's better to just turn off MTRR support entirely. As an added bonus, any MTRR added is freed on unload. Reviewed-by: Daniel Vetter Signed-off-by: Andy Lutomirski Signed-off-by: Dave Airlie --- include/video/uvesafb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/video') diff --git a/include/video/uvesafb.h b/include/video/uvesafb.h index 1a91850cb96..30f53625415 100644 --- a/include/video/uvesafb.h +++ b/include/video/uvesafb.h @@ -134,6 +134,7 @@ struct uvesafb_par { int mode_idx; struct vbe_crtc_ib crtc; + int mtrr_handle; }; #endif /* _UVESAFB_H */ -- cgit v1.2.3-18-g5258 From 267fdd92bb1a6da6beee5db476a7880269ac352d Mon Sep 17 00:00:00 2001 From: Steffen Trumtrar Date: Mon, 27 May 2013 12:33:33 +0000 Subject: video: display_timing: add doubleclk flag Signed-off-by: Steffen Trumtrar Acked-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Dave Airlie --- include/video/display_timing.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/video') diff --git a/include/video/display_timing.h b/include/video/display_timing.h index 5d0259b08e0..28d9d0d566c 100644 --- a/include/video/display_timing.h +++ b/include/video/display_timing.h @@ -27,6 +27,7 @@ enum display_flags { DISPLAY_FLAGS_PIXDATA_NEGEDGE = BIT(7), DISPLAY_FLAGS_INTERLACED = BIT(8), DISPLAY_FLAGS_DOUBLESCAN = BIT(9), + DISPLAY_FLAGS_DOUBLECLK = BIT(10), }; /* -- cgit v1.2.3-18-g5258