]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/QemuVideoDxe/Gop.c
OvmfPkg/QemuVideoDxe: Frame buffer config size may change in new mode
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 23 Jan 2017 06:07:42 +0000 (14:07 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Tue, 24 Jan 2017 07:06:39 +0000 (15:06 +0800)
commit6a12538657f885ac9249dfb942d16ec89df2244a
treee815e9c7b555846f828b8d8b53337d2b21307483
parent1d71d0c777a2d1fe0bba7ed6d0a25b7b4c777dca
OvmfPkg/QemuVideoDxe: Frame buffer config size may change in new mode

https://bugzilla.tianocore.org/show_bug.cgi?id=339

The patch removes the assumption in QemuVideoDxe driver that it
wrongly assumes the frame buffer configure size is the same in
different video modes.
The assumption is true in old FrameBufferBltLib but is false in
new implementation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/QemuVideoDxe/Gop.c