From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Gorinov Date: Thu, 15 Mar 2018 10:14:02 -0700 Subject: [U-Boot] [PATCH 1/1] efi_loader: correctly support parameter delta in Blt In-Reply-To: References: <20180314185702.24665-1-xypron.glpk@gmx.de> Message-ID: <1521134042.38672.59.camel@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2018-03-15 at 11:19 +0100, Alexander Graf wrote: > In the Blt service of the EFI_GRAPHICS_OUTPUT_PROTOCOL the parameter delta > > is measured in bytes and not in pixels. > > > > The coding only supports delta being a multiple of four. The UEFI > > specification does not explicitly require this but as pixels have a size of > > four bytes we should be able to assume four byte alignment. > > > > The corresponding unit test is corrected, too. It can be launched with > > > > setenv efi_selftest block image transfer > > bootefi selftest > > > > Signed-off-by: Heinrich Schuchardt > I can verify that this makes grub GOP work again :) Kernelflinger works too.