2 EDID Override Protocol from the UEFI 2.0 specification.
4 Allow platform to provide EDID information to the producer of the Graphics Output
7 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
8 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #ifndef __EDID_OVERRIDE_H__
13 #define __EDID_OVERRIDE_H__
15 #define EFI_EDID_OVERRIDE_PROTOCOL_GUID \
17 0x48ecb431, 0xfb72, 0x45c0, {0xa9, 0x22, 0xf4, 0x58, 0xfe, 0x4, 0xb, 0xd5 } \
20 typedef struct _EFI_EDID_OVERRIDE_PROTOCOL EFI_EDID_OVERRIDE_PROTOCOL
;
22 #define EFI_EDID_OVERRIDE_DONT_OVERRIDE 0x01
23 #define EFI_EDID_OVERRIDE_ENABLE_HOT_PLUG 0x02
26 Returns policy information and potentially a replacement EDID for the specified video output device.
28 @param This The EFI_EDID_OVERRIDE_PROTOCOL instance.
29 @param ChildHandle A child handle produced by the Graphics Output EFI
30 driver that represents a video output device.
31 @param Attributes The attributes associated with ChildHandle video output device.
32 @param EdidSize A pointer to the size, in bytes, of the Edid buffer.
33 @param Edid A pointer to callee allocated buffer that contains the EDID that
34 should be used for ChildHandle. A value of NULL
35 represents no EDID override for ChildHandle.
37 @retval EFI_SUCCESS Valid overrides returned for ChildHandle.
38 @retval EFI_UNSUPPORTED ChildHandle has no overrides.
43 (EFIAPI
*EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID
)(
44 IN EFI_EDID_OVERRIDE_PROTOCOL
*This
,
45 IN EFI_HANDLE
*ChildHandle
,
46 OUT UINT32
*Attributes
,
52 /// This protocol is produced by the platform to allow the platform to provide
53 /// EDID information to the producer of the Graphics Output protocol.
55 struct _EFI_EDID_OVERRIDE_PROTOCOL
{
56 EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID GetEdid
;
59 extern EFI_GUID gEfiEdidOverrideProtocolGuid
;