TianoCore EDK2 master
Loading...
Searching...
No Matches
LcdHwLib.h File Reference

Go to the source code of this file.

Functions

EFI_STATUS LcdIdentify (VOID)
 
EFI_STATUS LcdInitialize (EFI_PHYSICAL_ADDRESS FrameBaseAddress)
 
EFI_STATUS LcdSetMode (IN UINT32 ModeNumber)
 
VOID LcdShutdown (VOID)
 

Detailed Description

This file contains interface functions for LcdHwLib of ArmPlatformPkg

Copyright (c) 2017, ARM Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file LcdHwLib.h.

Function Documentation

◆ LcdIdentify()

EFI_STATUS LcdIdentify ( VOID  )

Check for presence of display

Return values
EFI_SUCCESSPlatform implements display.
EFI_NOT_FOUNDDisplay not found on the platform.

Check for presence of MALI.

This function returns success if the platform implements DP500/DP550/DP650 ARM Mali display processor.

Return values
EFI_SUCCESSDP500/DP550/DP650 display processor found on the platform.
EFI_NOT_FOUNDDP500/DP550/DP650 display processor not found on the platform.

Check for presence of HDLCD.

Return values
EFI_SUCCESSReturns success if platform implements a HDLCD controller.
EFI_NOT_FOUNDHDLCD display controller not found on the platform.

Check for presence of PL111.

Return values
EFI_SUCCESSReturns success if platform implements a PL111 controller.
EFI_NOT_FOUNDPL111 display controller not found the platform.

Definition at line 234 of file ArmMaliDp.c.

◆ LcdInitialize()

EFI_STATUS LcdInitialize ( EFI_PHYSICAL_ADDRESS  FrameBaseAddress)

Initialize display.

Parameters
FrameBaseAddressAddress of the frame buffer.
Return values
EFI_SUCCESSDisplay initialization success.
!(EFI_SUCCESS)Display initialization failure.

Definition at line 38 of file LcdHwNullLib.c.

◆ LcdSetMode()

EFI_STATUS LcdSetMode ( IN UINT32  ModeNumber)

Set requested mode of the display.

Parameters
ModeNumberDisplay mode number.
Return values
EFI_SUCCESSDisplay set mode success.
EFI_DEVICE_ERRORIf mode not found/supported.

Set requested mode of the display.

Parameters
[in]ModeNumberDisplay mode number.
Return values
EFI_SUCCESSDisplay mode set successfully.
!(EFI_SUCCESS)Other errors.

Definition at line 62 of file HdLcd.c.

◆ LcdShutdown()

VOID LcdShutdown ( VOID  )

De-initializes the display.

This function de-initializes the display.

Definition at line 415 of file ArmMaliDp.c.