Thread (4 messages) 4 messages, 2 authors, 2019-08-19

Re: [PATCH] efifb: BGRT: Improve efifb_bgrt_sanity_check

flat view

From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2019-08-19 14:01:28
Also in: dri-devel, stable

On 8/17/19 10:40 AM, Hans de Goede wrote:
Hi,
Hi Hans,
On 21-07-19 15:19, Hans de Goede wrote:
quoted
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@vger.kernel.org
Fixes: 88fe4ceb2447 ("efifb: BGRT: Do not copy the boot graphics for non native resolutions")
Signed-off-by: Hans de Goede <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help