{"id":100615,"date":"2026-09-04T22:40:49","date_gmt":"2026-09-04T14:40:49","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/100615.html"},"modified":"2026-09-04T22:40:49","modified_gmt":"2026-09-04T14:40:49","slug":"uefi-gop-driver%e5%9f%ba%e7%a1%80%e5%8d%8f%e8%ae%ae%e8%a7%a3%e8%af%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/100615.html","title":{"rendered":"UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb"},"content":{"rendered":"<h3>12.9 Graphics Output Protocol&#xff08;GOP&#xff09;<\/h3>\n<p>\u6765\u6e90&#xff1a;UEFI Specification 2.11 \u00b7 \u7b2c 12 \u7ae0 Protocols \u2014 Console Support \u00b7 12.9 \u8282<\/p>\n<h4>12.9.1 EFI_GRAPHICS_OUTPUT_PROTOCOL<\/h4>\n<p>GOP \u662f UEFI \u56fe\u5f62\u63a7\u5236\u53f0\u7684\u57fa\u7840\u534f\u8bae&#xff0c;\u4e3a\u56fe\u5f62\u8f93\u51fa\u8bbe\u5907\u63d0\u4f9b\u89c6\u9891\u6a21\u5f0f\u8bbe\u7f6e\u3001\u5e27\u7f13\u51b2\u8bbf\u95ee\u4e0e\u50cf\u7d20\u62f7\u8d1d&#xff08;Blt&#xff09; \u80fd\u529b&#xff0c;\u53d6\u4ee3\u4e86\u65e7\u5f0f VGA\/UGA \u65b9\u6848\u3002\u6bcf\u4e2a\u5e27\u7f13\u51b2\u5bf9\u5e94\u4e00\u4e2a GOP \u5b9e\u4f8b&#xff1b;\u4e00\u4e2a\u89c6\u9891\u63a7\u5236\u5668\u53ef\u4ea7\u751f\u591a\u4e2a GOP&#xff08;\u591a\u8f93\u51fa\u9002\u914d\u5668&#xff09;&#xff0c;\u6bcf\u4e2a\u6d3b\u52a8\u8f93\u51fa handle \u4e0a\u540c\u65f6\u5b89\u88c5 GOP\u3001EDID Discovered \u4e0e EDID Active \u534f\u8bae\u3002<\/p>\n<ul>\n<li>GUID&#xff1a;9042A9DE-23DC-4A38-96FB-7ADED080516A<\/li>\n<li>\u534f\u8bae\u7ed3\u6784&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token class-name\">_EFI_GRAPHICS_OUTPUT_PROTOCOL<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE QueryMode<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ 12.9.2.1<\/span><br \/>\n  EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE   SetMode<span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/\/ 12.9.2.2<\/span><br \/>\n  EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT        Blt<span class=\"token punctuation\">;<\/span>       <span class=\"token comment\">\/\/ 12.9.2.3<\/span><br \/>\n  EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE       <span class=\"token operator\">*<\/span>Mode<span class=\"token punctuation\">;<\/span>     <span class=\"token comment\">\/\/ 12.9.2.4<\/span><br \/>\n<span class=\"token punctuation\">}<\/span> EFI_GRAPHICS_OUTPUT_PROTOCOL<span class=\"token punctuation\">;<\/span><\/p>\n<p>\u76f8\u5173\u7c7b\u578b\u5b9a\u4e49&#xff08;\u5c5e\u4e8e 12.9.1&#xff09;&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ 32-bit \u50cf\u7d20&#xff1a;B\u3001G\u3001R\u3001\u4fdd\u7559&#xff08;0~255&#xff09;<\/span><br \/>\n<span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  UINT8 Blue<span class=\"token punctuation\">;<\/span><br \/>\n  UINT8 Green<span class=\"token punctuation\">;<\/span><br \/>\n  UINT8 Red<span class=\"token punctuation\">;<\/span><br \/>\n  UINT8 Reserved<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span> EFI_GRAPHICS_OUTPUT_BLT_PIXEL<span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ Blt \u64cd\u4f5c\u7c7b\u578b<\/span><br \/>\n<span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">enum<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  EfiBltVideoFill<span class=\"token punctuation\">,<\/span>          <span class=\"token comment\">\/\/ 0&#xff1a;\u7528 BltBuffer[0] \u586b\u5145\u76ee\u6807\u77e9\u5f62&#xff08;\u5ffd\u7565\u6e90\u5750\u6807\u4e0e Delta&#xff09;<\/span><br \/>\n  EfiBltVideoToBltBuffer<span class=\"token punctuation\">,<\/span>   <span class=\"token comment\">\/\/ 1&#xff1a;\u5c4f\u5e55\u77e9\u5f62 \u2192 CPU \u7f13\u51b2&#xff08;DestX\/Y \u6307\u5411\u7f13\u51b2&#xff1b;\u975e\u96f6\u9700 Delta&#xff09;<\/span><br \/>\n  EfiBltBufferToVideo<span class=\"token punctuation\">,<\/span>      <span class=\"token comment\">\/\/ 2&#xff1a;CPU \u7f13\u51b2 \u2192 \u5c4f\u5e55\u77e9\u5f62&#xff08;SourceX\/Y \u6307\u5411\u7f13\u51b2&#xff1b;\u975e\u96f6\u9700 Delta&#xff09;<\/span><br \/>\n  EfiBltVideoToVideo<span class=\"token punctuation\">,<\/span>       <span class=\"token comment\">\/\/ 3&#xff1a;\u5e27\u7f13\u51b2\u5185\u77e9\u5f62\u62f7\u8d1d&#xff08;\u5ffd\u7565 BltBuffer \u4e0e Delta&#xff0c;\u5141\u8bb8\u91cd\u53e0&#xff09;<\/span><br \/>\n  EfiGraphicsOutputBltOperationMax<br \/>\n<span class=\"token punctuation\">}<\/span> EFI_GRAPHICS_OUTPUT_BLT_OPERATION<span class=\"token punctuation\">;<\/span><\/p>\n<h4>12.9.2 \u670d\u52a1\u51fd\u6570\u4e0e\u6570\u636e\u7ed3\u6784<\/h4>\n<h5>12.9.2.1 EFI_GRAPHICS_OUTPUT_PROTOCOL.QueryMode()<\/h5>\n<p>\u8fd4\u56de\u67d0\u4e2a\u6a21\u5f0f\u53f7&#xff08;ModeNumber&#xff09;\u4e0b&#xff0c;\u56fe\u5f62\u8bbe\u5907\u4e0e\u6d3b\u52a8\u8f93\u51fa\u8bbe\u5907\u5171\u540c\u652f\u6301\u7684\u6a21\u5f0f\u4fe1\u606f\u3002<\/p>\n<p><span class=\"token keyword\">typedef<\/span><br \/>\n<span class=\"token function\">EFI_STATUS<\/span><br \/>\n<span class=\"token punctuation\">(<\/span>EFIAPI <span class=\"token operator\">*<\/span>EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span><br \/>\n  IN  EFI_GRAPHICS_OUTPUT_PROTOCOL           <span class=\"token operator\">*<\/span>This<span class=\"token punctuation\">,<\/span><br \/>\n  IN  UINT32                                 ModeNumber<span class=\"token punctuation\">,<\/span><br \/>\n  OUT UINTN                                  <span class=\"token operator\">*<\/span>SizeOfInfo<span class=\"token punctuation\">,<\/span><br \/>\n  OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION   <span class=\"token operator\">*<\/span><span class=\"token operator\">*<\/span>Info<br \/>\n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<ul>\n<li>ModeNumber\u200b&#xff1a;0 ~ MaxMode-1&#xff1b;\u672a\u8bbe\u7f6e\u8fc7\u6a21\u5f0f&#xff08;Mode \u672a\u521d\u59cb\u5316&#xff09;\u65f6\u5148\u8c03\u7528 SetMode()&#xff0c;\u5426\u5219\u8fd4\u56de EFI_NOT_STARTED<\/li>\n<li>SizeOfInfo\u200b\/Info&#xff1a;callee \u5206\u914d\u7684\u7f13\u51b2\u533a\u5927\u5c0f\u4e0e\u6307\u9488<\/li>\n<li>\u8fd4\u56de&#xff1a;EFI_SUCCESS\u200b\u3001EFI_DEVICE_ERROR\u200b\u3001EFI_UNSUPPORTED\u200b\u3001EFI_INVALID_PARAMETER\u200b\u3001EFI_BUFFER_TOO_SMALL\u200b\u3001EFI_NOT_STARTED<\/li>\n<\/ul>\n<h5>12.9.2.2 EFI_GRAPHICS_OUTPUT_PROTOCOL.SetMode()<\/h5>\n<p>\u5c06\u89c6\u9891\u8bbe\u5907\u8bbe\u4e3a\u6307\u5b9a\u6a21\u5f0f&#xff0c;\u5e76\u628a\u8f93\u51fa\u663e\u793a\u53ef\u89c1\u533a\u57df\u6e05\u4e3a\u9ed1\u8272\u3002<\/p>\n<p><span class=\"token keyword\">typedef<\/span><br \/>\n<span class=\"token function\">EFI_STATUS<\/span><br \/>\n<span class=\"token punctuation\">(<\/span>EFIAPI <span class=\"token operator\">*<\/span>EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span><br \/>\n  IN EFI_GRAPHICS_OUTPUT_PROTOCOL  <span class=\"token operator\">*<\/span>This<span class=\"token punctuation\">,<\/span><br \/>\n  IN UINT32                        ModeNumber<br \/>\n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<ul>\n<li>\u8fd4\u56de&#xff1a;EFI_SUCCESS\u200b\u3001EFI_DEVICE_ERROR\u200b\u3001EFI_UNSUPPORTED\u200b\u3001EFI_INVALID_PARAMETER<\/li>\n<\/ul>\n<h5>12.9.2.3 EFI_GRAPHICS_OUTPUT_PROTOCOL.Blt()<\/h5>\n<p>\u5728\u5e27\u7f13\u51b2\u4e0e Blt \u7f13\u51b2\u4e4b\u95f4\u8fdb\u884c\u5757\u4f20\u8f93\u7684\u8f6f\u4ef6\u62bd\u8c61&#xff0c;\u5171 4 \u79cd\u64cd\u4f5c&#xff08;\u89c1 12.9.1 \u7684 EFI_GRAPHICS_OUTPUT_BLT_OPERATION&#xff09;\u3002<\/p>\n<p><span class=\"token keyword\">typedef<\/span><br \/>\n<span class=\"token function\">EFI_STATUS<\/span><br \/>\n<span class=\"token punctuation\">(<\/span>EFIAPI <span class=\"token operator\">*<\/span>EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">(<\/span><br \/>\n  IN  EFI_GRAPHICS_OUTPUT_PROTOCOL      <span class=\"token operator\">*<\/span>This<span class=\"token punctuation\">,<\/span><br \/>\n  IN  EFI_GRAPHICS_OUTPUT_BLT_PIXEL     <span class=\"token operator\">*<\/span>BltBuffer<span class=\"token punctuation\">,<\/span>   <span class=\"token comment\">\/\/ OPTIONAL<\/span><br \/>\n  IN  EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation<span class=\"token punctuation\">,<\/span><br \/>\n  IN  UINTN                             SourceX<span class=\"token punctuation\">,<\/span><br \/>\n  IN  UINTN                             SourceY<span class=\"token punctuation\">,<\/span><br \/>\n  IN  UINTN                             DestinationX<span class=\"token punctuation\">,<\/span><br \/>\n  IN  UINTN                             DestinationY<span class=\"token punctuation\">,<\/span><br \/>\n  IN  UINTN                             Width<span class=\"token punctuation\">,<\/span><br \/>\n  IN  UINTN                             Height<span class=\"token punctuation\">,<\/span><br \/>\n  IN  UINTN                             Delta         <span class=\"token comment\">\/\/ OPTIONAL<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<ul>\n<li>Delta&#xff1a;Blt \u7f13\u51b2\u6bcf\u884c\u5b57\u8282\u6570&#xff08;\u62f7\u8d1d\u6a21\u5f0f\u4e14 (X,Y) \u975e\u96f6\u65f6\u5fc5\u9700&#xff09;&#xff1b;\u4e3a 0 \u65f6\u4ee5 Width \u4f5c\u4e3a\u884c\u5bbd<\/li>\n<li>\u5c4f\u5e55\u539f\u70b9 (0,0) \u5728\u5de6\u4e0a\u89d2<\/li>\n<li>\u8fd4\u56de&#xff1a;EFI_SUCCESS\u200b\u3001EFI_INVALID_PARAMETER\u200b\u3001EFI_DEVICE_ERROR\u200b\u3001EFI_UNSUPPORTED<\/li>\n<\/ul>\n<h5>12.9.2.4 EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE<\/h5>\n<p>\u5f53\u524d\u56fe\u5f62\u8f93\u51fa\u8bbe\u5907\u6a21\u5f0f\u4fe1\u606f&#xff1a;<\/p>\n<p><span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  UINT32                         MaxMode<span class=\"token punctuation\">;<\/span>          <span class=\"token comment\">\/\/ QueryMode()\/SetMode() \u652f\u6301\u7684\u6a21\u5f0f\u6570<\/span><br \/>\n  UINT32                         Mode<span class=\"token punctuation\">;<\/span>             <span class=\"token comment\">\/\/ \u5f53\u524d\u6a21\u5f0f\u53f7&#xff08;0 ~ MaxMode-1&#xff09;<\/span><br \/>\n  EFI_GRAPHICS_OUTPUT_MODE_INFORMATION <span class=\"token operator\">*<\/span>Info<span class=\"token punctuation\">;<\/span>      <span class=\"token comment\">\/\/ \u53ea\u8bfb\u6a21\u5f0f\u4fe1\u606f\u6307\u9488<\/span><br \/>\n  UINTN                          SizeOfInfo<span class=\"token punctuation\">;<\/span>       <span class=\"token comment\">\/\/ Info \u7ed3\u6784\u5b57\u8282\u6570&#xff08;\u540e\u7eed\u7248\u672c\u53ef\u80fd\u589e\u5927&#xff09;<\/span><br \/>\n  EFI_PHYSICAL_ADDRESS           FrameBufferBase<span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u7ebf\u6027\u5e27\u7f13\u51b2\u57fa\u5740&#xff08;\u504f\u79fb 0 &#061; \u5de6\u4e0a\u89d2\u50cf\u7d20&#xff09;<\/span><br \/>\n  UINTN                          FrameBufferSize<span class=\"token punctuation\">;<\/span>  <span class=\"token comment\">\/\/ \u5e27\u7f13\u51b2\u5927\u5c0f &#061; PixelsPerScanLine \u00d7 VerticalResolution \u00d7 \u6bcf\u50cf\u7d20\u5b57\u8282<\/span><br \/>\n<span class=\"token punctuation\">}<\/span> EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE<span class=\"token punctuation\">;<\/span><\/p>\n<h5>12.9.2.5 EFI_GRAPHICS_OUTPUT_MODE_INFORMATION<\/h5>\n<p>\u63cf\u8ff0\u4e00\u4e2a\u56fe\u5f62\u8f93\u51fa\u6a21\u5f0f&#xff1a;<\/p>\n<p><span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  UINT32                    Version<span class=\"token punctuation\">;<\/span>              <span class=\"token comment\">\/\/ \u7ed3\u6784\u7248\u672c<\/span><br \/>\n  UINT32                    HorizontalResolution<span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ X \u65b9\u5411\u50cf\u7d20\u6570<\/span><br \/>\n  UINT32                    VerticalResolution<span class=\"token punctuation\">;<\/span>   <span class=\"token comment\">\/\/ Y \u65b9\u5411\u50cf\u7d20\u6570<\/span><br \/>\n  EFI_GRAPHICS_PIXEL_FORMAT PixelFormat<span class=\"token punctuation\">;<\/span>          <span class=\"token comment\">\/\/ \u50cf\u7d20\u7269\u7406\u683c\u5f0f<\/span><br \/>\n  EFI_PIXEL_BITMASK         PixelInformation<span class=\"token punctuation\">;<\/span>     <span class=\"token comment\">\/\/ \u4ec5 PixelBitMask \u683c\u5f0f\u6709\u6548<\/span><br \/>\n  UINT32                    PixelsPerScanLine<span class=\"token punctuation\">;<\/span>    <span class=\"token comment\">\/\/ \u6bcf\u884c\u50cf\u7d20\u6570&#xff08;pitch&#xff09;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span> EFI_GRAPHICS_OUTPUT_MODE_INFORMATION<span class=\"token punctuation\">;<\/span><\/p>\n<p>\u884c\u5b57\u8282\u6570&#xff08;pitch&#xff09;&#061; PixelsPerScanLine \u00d7 \u6bcf\u50cf\u7d20\u5b57\u8282\u6570&#xff1b;\u5e27\u7f13\u51b2\u5185\u50cf\u7d20\u504f\u79fb &#061; pitch\u00d7y &#043; \u6bcf\u50cf\u7d20\u5b57\u8282\u6570\u00d7x<\/p>\n<h5>12.9.2.6 EFI_GRAPHICS_PIXEL_FORMAT<\/h5>\n<p><span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">enum<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  PixelRedGreenBlueReserved8BitPerColor<span class=\"token punctuation\">,<\/span>  <span class=\"token comment\">\/\/ 0&#xff1a;RGBX<\/span><br \/>\n  PixelBlueGreenRedReserved8BitPerColor<span class=\"token punctuation\">,<\/span>  <span class=\"token comment\">\/\/ 1&#xff1a;BGRX&#xff08;\u591a\u6570\u786c\u4ef6\u9ed8\u8ba4&#xff09;<\/span><br \/>\n  PixelBitMask<span class=\"token punctuation\">,<\/span>                           <span class=\"token comment\">\/\/ 2&#xff1a;\u7531 EFI_PIXEL_BITMASK \u5b9a\u4e49<\/span><br \/>\n  PixelBltOnly<span class=\"token punctuation\">,<\/span>                           <span class=\"token comment\">\/\/ 3&#xff1a;\u65e0\u7ebf\u6027\u5e27\u7f13\u51b2&#xff0c;\u4ec5\u80fd\u7528 Blt() \u7ed8\u5236<\/span><br \/>\n  PixelFormatMax<br \/>\n<span class=\"token punctuation\">}<\/span> EFI_GRAPHICS_PIXEL_FORMAT<span class=\"token punctuation\">;<\/span><\/p>\n<h5>12.9.2.7 EFI_PIXEL_BITMASK<\/h5>\n<p><span class=\"token keyword\">typedef<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  UINT32 RedMask<span class=\"token punctuation\">;<\/span><br \/>\n  UINT32 GreenMask<span class=\"token punctuation\">;<\/span><br \/>\n  UINT32 BlueMask<span class=\"token punctuation\">;<\/span><br \/>\n  UINT32 ReservedMask<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span> EFI_PIXEL_BITMASK<span class=\"token punctuation\">;<\/span><\/p>\n<h4>\u5173\u952e\u8981\u70b9&#xff08;GOP driver \u7814\u7a76&#xff09;<\/h4>\n<ul>\n<li>\u4f7f\u7528\u6d41\u7a0b&#xff1a;LocateProtocol(&amp;gEfiGraphicsOutputProtocolGuid)\u200b \u2192 \u82e5 Mode\u200b \u672a\u521d\u59cb\u5316\u5148 SetMode(0)\u200b \u2192 \u904d\u5386 QueryMode()\u200b \u9009\u62e9\u6a21\u5f0f \u2192 SetMode(n)\u200b \u2192 \u76f4\u63a5\u5199 FrameBufferBase\u200b \u6216\u8c03\u7528 Blt()<\/li>\n<li>GOP \u662f Boot Time \u670d\u52a1&#xff0c;ExitBootServices() \u540e\u534f\u8bae\u4e0d\u53ef\u7528&#xff0c;\u4f46\u5e27\u7f13\u51b2\u4fdd\u7559&#xff0c;\u53ef\u5728 OS \u4e2d\u7ee7\u7eed\u4f7f\u7528<\/li>\n<li>\u5199\u50cf\u7d20\u524d\u5148\u6309 PixelFormat\u200b \u5224\u65ad\u50cf\u7d20\u5e03\u5c40&#xff08;RGBX \/ BGRX \/ BitMask&#xff09;&#xff1b;PixelBltOnly \u65e0\u5e27\u7f13\u51b2<\/li>\n<li>\u56fe\u5f62\u9a71\u52a8\u9700\u5728\u6d3b\u52a8\u8f93\u51fa handle \u4e0a\u540c\u65f6\u5b89\u88c5 EDID Discovered\/Active \u534f\u8bae&#xff1b;\u5e73\u53f0\u82e5\u63d0\u4f9b EDID Override \u534f\u8bae&#xff0c;\u9a71\u52a8\u5fc5\u987b\u4f18\u5148\u4f7f\u7528\u5176\u6570\u636e\u586b\u5145 EDID Active<\/li>\n<\/ul>\n<h4>EDID \u4e09\u534f\u8bae\u673a\u5236&#xff08;Discovered \/ Override \/ Active&#xff09;<\/h4>\n<p>\u4f9d\u636e&#xff1a;UEFI \u89c4\u8303 12.9 \u8282\u3001Intel\u300aUEFI Driver Development Guide for Graphics Controller Device Classes\u300b\u3001tianocore\u300aUEFI Driver Writer\u2019s Guide\u300b\u7b2c 23 \u7ae0<\/p>\n<p>\u89d2\u8272\u5206\u5de5&#xff1a;<\/p>\n<table>\n<tr>\u534f\u8bae\u89d2\u8272\u6570\u636e\u6765\u6e90<\/tr>\n<tbody>\n<tr>\n<td>EFI_EDID_DISCOVERED_PROTOCOL<\/td>\n<td>\u4ece\u89c6\u9891\u8f93\u51fa\u8bbe\u5907\u5b9e\u9645\u8bfb\u53d6\u5230\u7684\u539f\u59cb EDID&#xff08;\u4e8b\u5b9e\u6570\u636e&#xff09;<\/td>\n<td>\u786c\u4ef6 DDC\/I\u00b2C \u901a\u9053<\/td>\n<\/tr>\n<tr>\n<td>EFI_EDID_OVERRIDE_PROTOCOL&#xff08;\u5e73\u53f0\u53ef\u9009&#xff09;<\/td>\n<td>\u5e73\u53f0\u56fa\u4ef6\u63d0\u4f9b\u7684\u8986\u76d6\u7b56\u7565&#xff08;\u5f3a\u5236\u5206\u8fa8\u7387\u3001EDID \u4fee\u6b63\u7b49&#xff09;<\/td>\n<td>\u5e73\u53f0\/\u7528\u6237\u914d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>EFI_EDID_ACTIVE_PROTOCOL<\/td>\n<td>\u6700\u7ec8\u751f\u6548\u7684 EDID&#xff0c;\u7cfb\u7edf\u636e\u6b64\u51b3\u5b9a\u663e\u793a\u80fd\u529b<\/td>\n<td>Discovered \u6216 Override \u4e4b\u4e00<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6570\u636e\u94fe\u8def&#xff1a;<\/p>\n<p>\u786c\u4ef6\u8bfb\u5230\u7684 EDID (Discovered) \u2500\u2500\u252c\u2500\u25ba \u65e0 Override \u2500\u2500\u25ba EDID Active<br \/>\n                               \u2514\u2500\u25ba \u6709 Override \u2500\u2500\u25ba \u7528 Override \u6570\u636e\u586b\u5145 EDID Active<\/p>\n<p>\u4e3a\u4ec0\u4e48\u5fc5\u987b\u540c\u65f6\u5b89\u88c5 Discovered &#043; Active&#xff1a;<\/p>\n<ul>\n<li>\u4e24\u4e2a\u534f\u8bae\u627f\u8f7d\u4e24\u4e2a\u8bed\u4e49&#xff1a;\u786c\u4ef6\u539f\u59cb\u80fd\u529b&#xff08;Discovered&#xff09;\u4e0e\u7cfb\u7edf\u6700\u7ec8\u914d\u7f6e&#xff08;Active&#xff09;&#xff0c;Override \u673a\u5236\u4f9d\u8d56\u4e8c\u8005\u533a\u5206\u624d\u6210\u7acb<\/li>\n<li>\u6d88\u8d39\u8005\u4e0d\u540c&#xff1a;\u7cfb\u7edf\u56fa\u4ef6\/OS Loader \u53ea\u770b Active&#xff08;\u6700\u7ec8\u751f\u6548&#xff09;&#xff1b;\u8c03\u8bd5\u8bca\u65ad\u770b Discovered&#xff08;\u672a\u88ab\u7b56\u7565\u6c61\u67d3&#xff09;<\/li>\n<li>\u89c4\u8303\u786c\u6027\u8981\u6c42&#xff1a;EFI_EDID_DISCOVERED_PROTOCOL must exist on each handle that represents a video output, and must only represent a single video output device<\/li>\n<li>\u6bcf\u4e2a\u8f93\u51fa child handle \u7f3a\u4e00\u4e0d\u53ef&#xff0c;\u5426\u5219\u4e0d\u6784\u6210\u5b8c\u6574\u7684&#034;\u8f93\u51fa\u8bbe\u5907\u63a5\u53e3&#034;<\/li>\n<\/ul>\n<p>\u4e0e GOP \u7684\u534f\u4f5c&#xff08;\u9a71\u52a8\u5b9e\u73b0\u987a\u5e8f&#xff09;&#xff1a;<\/p>\n<li>Start() \u679a\u4e3e\u56fe\u5f62\u63a7\u5236\u5668\u8f93\u51fa\u7aef\u53e3 \u2192 \u6bcf\u4e2a\u8f93\u51fa\u521b\u5efa child handle<\/li>\n<li>\u8bfb\u53d6\u786c\u4ef6 EDID \u2192 \u5b89\u88c5 EDID Discovered<\/li>\n<li>\u67e5\u8be2\u5e73\u53f0 EDID Override \u2192 \u51b3\u5b9a\u6570\u636e\u6e90 \u2192 \u5b89\u88c5 EDID Active<\/li>\n<li>\u8ba1\u7b97 \u63a7\u5236\u5668\u652f\u6301\u7684\u6a21\u5f0f \u2229 \u663e\u793a\u5668&#xff08;EDID&#xff09;\u652f\u6301\u7684\u6a21\u5f0f \u2192 \u5b89\u88c5 GOP&#xff08;MaxMode\u200b \u4e0e QueryMode() \u8fd4\u56de\u7684\u90fd\u662f\u8be5\u4ea4\u96c6&#xff09;<\/li>\n<p>\u7c7b\u6bd4&#xff1a;Discovered &#061; \u663e\u793a\u5668\u94ed\u724c\u53c2\u6570&#xff08;\u51fa\u5382\u4e8b\u5b9e&#xff09;&#xff1b;Override &#061; \u8d34\u7684\u4fbf\u7b7e&#034;\u5b9e\u9645\u6309 1080p \u7528&#034;&#xff08;\u5e73\u53f0\u7b56\u7565&#xff09;&#xff1b;Active &#061; \u7cfb\u7edf\u6700\u7ec8\u7167\u505a\u7684\u53c2\u6570\u3002\u53ea\u6709\u94ed\u724c\u65e0\u6cd5\u6267\u884c&#xff0c;\u53ea\u6709\u6267\u884c\u53c2\u6570\u65e0\u6cd5\u56de\u6eaf\u771f\u5b9e\u80fd\u529b&#xff0c;\u6545\u89c4\u8303\u8981\u6c42\u4e24\u4e2a\u90fd\u88c5\u3002<\/p>\n<p>\u200d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>12.9 Graphics Output Protocol&#xff08;GOP&#xff09;\u6765\u6e90&#xff1a;UEFI Specification 2.11 \u00b7 \u7b2c 12 \u7ae0 Protocols \u2014 Console Support \u00b7 12.9 \u828212.9.1 EFI_GRAPHICS_OUTPUT_PROTOCOL<br \/>\nGOP \u662f UEFI \u56fe\u5f62\u63a7\u5236\u53f0\u7684\u57fa\u7840\u534f\u8bae&#xff0c;\u4e3a\u56fe\u5f62\u8f93\u51fa\u8bbe\u5907\u63d0\u4f9b\u89c6\u9891\u6a21\u5f0f\u8bbe\u7f6e\u3001\u5e27\u7f13\u51b2\u8bbf\u95ee\u4e0e\u50cf\u7d20\u62f7\u8d1d&#xff08;Blt&#xff09; \u80fd\u529b<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11503,11502,11500,11501,5728],"topic":[],"class_list":["post-100615","post","type-post","status-publish","format-standard","hentry","category-server","tag-edid","tag-gfx","tag-gop","tag-video","tag-uefi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/100615.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"12.9 Graphics Output Protocol&#xff08;GOP&#xff09;\u6765\u6e90&#xff1a;UEFI Specification 2.11 \u00b7 \u7b2c 12 \u7ae0 Protocols \u2014 Console Support \u00b7 12.9 \u828212.9.1 EFI_GRAPHICS_OUTPUT_PROTOCOL GOP \u662f UEFI \u56fe\u5f62\u63a7\u5236\u53f0\u7684\u57fa\u7840\u534f\u8bae&#xff0c;\u4e3a\u56fe\u5f62\u8f93\u51fa\u8bbe\u5907\u63d0\u4f9b\u89c6\u9891\u6a21\u5f0f\u8bbe\u7f6e\u3001\u5e27\u7f13\u51b2\u8bbf\u95ee\u4e0e\u50cf\u7d20\u62f7\u8d1d&#xff08;Blt&#xff09; \u80fd\u529b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/100615.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-04T14:40:49+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/100615.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/100615.html\",\"name\":\"UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-04T14:40:49+00:00\",\"dateModified\":\"2026-09-04T14:40:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/100615.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/100615.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/100615.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/100615.html","og_locale":"zh_CN","og_type":"article","og_title":"UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"12.9 Graphics Output Protocol&#xff08;GOP&#xff09;\u6765\u6e90&#xff1a;UEFI Specification 2.11 \u00b7 \u7b2c 12 \u7ae0 Protocols \u2014 Console Support \u00b7 12.9 \u828212.9.1 EFI_GRAPHICS_OUTPUT_PROTOCOL GOP \u662f UEFI \u56fe\u5f62\u63a7\u5236\u53f0\u7684\u57fa\u7840\u534f\u8bae&#xff0c;\u4e3a\u56fe\u5f62\u8f93\u51fa\u8bbe\u5907\u63d0\u4f9b\u89c6\u9891\u6a21\u5f0f\u8bbe\u7f6e\u3001\u5e27\u7f13\u51b2\u8bbf\u95ee\u4e0e\u50cf\u7d20\u62f7\u8d1d&#xff08;Blt&#xff09; \u80fd\u529b","og_url":"https:\/\/www.wsisp.com\/helps\/100615.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-04T14:40:49+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/100615.html","url":"https:\/\/www.wsisp.com\/helps\/100615.html","name":"UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-04T14:40:49+00:00","dateModified":"2026-09-04T14:40:49+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/100615.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/100615.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/100615.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"UEFI GOP driver\u57fa\u7840\u534f\u8bae\u89e3\u8bfb"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/100615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=100615"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/100615\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=100615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=100615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=100615"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=100615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}