[PATCH] efifb: BGRT: Improve efifb_bgrt_sanity_check

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Mon Aug 19 14:01:22 UTC 2019

On 8/17/19 10:40 AM, Hans de Goede wrote:
> Hi,

Hi Hans,

> On 21-07-19 15:19, Hans de Goede wrote:
>> For various reasons, at least with x86 EFI firmwares, the xoffset and
>> yoffset in the BGRT info are not always reliable.
>> Extensive testing has shown that when the info is correct, the
>> BGRT image is always exactly centered horizontally (the yoffset variable
>> is more variable and not always predictable).
>> This commit simplifies / improves the bgrt_sanity_check to simply
>> check that the BGRT image is exactly centered horizontally and skips
>> (re)drawing it when it is not.
>> This fixes the BGRT image sometimes being drawn in the wrong place.
>> Cc: stable at vger.kernel.org
>> Fixes: 88fe4ceb2447 ("efifb: BGRT: Do not copy the boot graphics for non native resolutions")
>> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ping? I do not see this one in -next yet, what is the status of this
> patch?
Patch queued for v5.4, thanks and sorry for the delay.

Best regards,
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

More information about the dri-devel mailing list