Framebuffer fix 1

From: James Simmons (jsimmons@infradead.org)
Date: Tue May 13 2003 - 16:45:06 EST


This removed EDID support for VESA. The EDID code needs more developement
which can be done on the side.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1078 -> 1.1079
# drivers/video/vesafb.c 1.31 -> 1.32
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/12 jsimmons@maxwell.earthlink.net 1.1079
# [VESA FBDEV] Removed the EDID code. The results where mixed. It worked for some but not for others.
# --------------------------------------------
#
diff -Nru a/drivers/video/vesafb.c b/drivers/video/vesafb.c
--- a/drivers/video/vesafb.c Mon May 12 14:26:05 2003
+++ b/drivers/video/vesafb.c Mon May 12 14:26:05 2003
@@ -215,7 +215,6 @@
 int __init vesafb_init(void)
 {
         int video_cmap_len;
- char *edid = 0;
         int i;
 
         if (screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB)
@@ -300,18 +299,10 @@
                 ypan = 0;
         }
 
-#ifdef __i386__
- edid = get_EDID_from_BIOS(0);
- if (edid)
- parse_edid(edid, &vesafb_defined);
- else
-#endif
- {
- /* some dummy values for timing to make fbset happy */
- vesafb_defined.pixclock = 10000000 / vesafb_defined.xres * 1000 / vesafb_defined.yres;
- vesafb_defined.left_margin = (vesafb_defined.xres / 8) & 0xf8;
- vesafb_defined.hsync_len = (vesafb_defined.xres / 8) & 0xf8;
- }
+ /* some dummy values for timing to make fbset happy */
+ vesafb_defined.pixclock = 10000000 / vesafb_defined.xres * 1000 / vesafb_defined.yres;
+ vesafb_defined.left_margin = (vesafb_defined.xres / 8) & 0xf8;
+ vesafb_defined.hsync_len = (vesafb_defined.xres / 8) & 0xf8;
         
         if (vesafb_defined.bits_per_pixel > 8) {
                 vesafb_defined.red.offset = screen_info.red_pos;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:48 EST