]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/Include/Library/LcdPlatformLib.h
ArmPlatformPkg: Redefine LcdPlatformGetTimings function
authorGirish Pathak <girish.pathak at arm.com>
Tue, 26 Sep 2017 20:15:22 +0000 (21:15 +0100)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 23 Apr 2018 11:00:57 +0000 (12:00 +0100)
commit262c88461b6bf6fab2b13cef9421fbd777357ac3
tree7a2984576a6fa09f6bd967ceb5913956681c5c3d
parentc18ef81e79c2beccc5738e564fb56f1b78d2d5fc
ArmPlatformPkg: Redefine LcdPlatformGetTimings function

The LcdPlatformGetTimings interface function takes similar sets of
multiple parameters for horizontal and vertical timings which can be
aggregated in a common data type. This change defines a structure
SCAN_TIMINGS for this which can be used to describe both horizontal and
vertical scan timings, and accordingly redefines the
LcdPlatformGetTiming interface, greatly reducing the amount of data
passed about.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Girish Pathak <girish.pathak@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/Include/Library/LcdPlatformLib.h
ArmPlatformPkg/Library/HdLcd/HdLcd.c
ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.c
ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.c