16027951.patch revision 1351
1351N/A--- a/src/ast_driver.c Fri Mar 8 18:30:24 2013
1351N/A+++ b/src/ast_driver.c Fri Mar 8 18:24:44 2013
1342N/A@@ -1,5 +1,6 @@
1342N/A /*
1342N/A * Copyright (c) 2005 ASPEED Technology Inc.
1351N/A+ * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
1342N/A *
1342N/A * Permission to use, copy, modify, distribute, and sell this software and its
1342N/A * documentation for any purpose is hereby granted without fee, provided that
1351N/A@@ -1484,6 +1485,12 @@
1351N/A else
1351N/A Flags = GetVGAEDID(pScrn, DDC_data);
1351N/A
1351N/A+ /*
1351N/A+ * Buffer is of size 128, can't read extension blocks even the monitor
1351N/A+ * provides. 126 is NO_EDID defined in edid.h
1351N/A+ */
1351N/A+ DDC_data[126] = 0;
1342N/A+
1351N/A if (Flags)
1351N/A {
1351N/A ConfiguredMonitor = xf86InterpretEDID(pScrn->scrnIndex, DDC_data);
1351N/A@@ -1528,6 +1535,12 @@
1351N/A else
1351N/A Flags = GetVGAEDID(pScrn, DDC_data);
1351N/A
1351N/A+ /*
1351N/A+ * Buffer is of size 128, can't read extension blocks even the monitor
1351N/A+ * provides. 126 is NO_EDID defined in edid.h
1351N/A+ */
1351N/A+ DDC_data[126] = 0;
1342N/A+
1351N/A if (Flags)
1351N/A {
1351N/A MonInfo = MonInfo1 = xf86InterpretEDID(pScrn->scrnIndex, DDC_data);