Revision: 14225
          http://edk2.svn.sourceforge.net/edk2/?rev=14225&view=rev
Author:   li-elvin
Date:     2013-03-29 03:14:30 +0000 (Fri, 29 Mar 2013)
Log Message:
-----------
When EDID comes from hardware INT10 and does not include 800x600, 640x480 and 
1024x768, but INT10 supports these modes, add them into GOP mode.

Signed-off-by: Li Elvin <[email protected]>
Reviewed-by: Ni Ruiyu <[email protected]>

Modified Paths:
--------------
    trunk/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c

Modified: trunk/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c
===================================================================
--- trunk/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c       
2013-03-28 07:47:52 UTC (rev 14224)
+++ trunk/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/BiosVideo.c       
2013-03-29 03:14:30 UTC (rev 14225)
@@ -1590,7 +1590,16 @@
       Timing.HorizontalResolution = 
BiosVideoPrivate->VbeModeInformationBlock->XResolution;
       Timing.VerticalResolution = 
BiosVideoPrivate->VbeModeInformationBlock->YResolution;
       if (!SearchEdidTiming (&ValidEdidTiming, &Timing)) {
+        //
+        // When EDID comes from INT10 call, EDID does not include 800x600, 
640x480 and 1024x768,
+        // but INT10 can support these modes, we add them into GOP mode.
+        //
+        if ((BiosVideoPrivate->EdidDiscovered.SizeOfEdid != 0) &&
+            !((Timing.HorizontalResolution) == 1024 && 
(Timing.VerticalResolution == 768)) &&
+            !((Timing.HorizontalResolution) == 800 && 
(Timing.VerticalResolution == 600)) &&
+            !((Timing.HorizontalResolution) == 640 && 
(Timing.VerticalResolution == 480))) {
         continue;
+        }
       }
     }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to