3 Copyright (c) 2017, Linaro, Ltd. All rights reserved.
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include <Uefi/UefiBaseType.h>
17 #include <Library/DebugLib.h>
18 #include <Library/LcdPlatformLib.h>
21 Check for presence of display
23 @retval EFI_SUCCESS Platform implements display.
24 @retval EFI_NOT_FOUND Display not found on the platform.
38 @param FrameBaseAddress Address of the frame buffer.
39 @retval EFI_SUCCESS Display initialization success.
40 @retval !(EFI_SUCCESS) Display initialization failure.
45 EFI_PHYSICAL_ADDRESS FrameBaseAddress
52 Set requested mode of the display.
54 @param ModeNumber Display mode number.
55 @retval EFI_SUCCESS Display set mode success.
56 @retval EFI_DEVICE_ERROR If mode not found/supported.
68 De-initializes the display.