diff options
| author | Jocelyn Falempe <jfalempe@redhat.com> | 2025-10-09 14:24:48 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:08:59 +0100 |
| commit | 9630c168a9dc31b6128871d62f22c1abb56eedc6 (patch) | |
| tree | ed3d4e00857f1fa8a75226b69b1bfa91de03fecb /include/net/aligned_data.h | |
| parent | 924335412db8907805cec8949c3433239ad508df (diff) | |
drm/panic: Fix drawing the logo on a small narrow screen
[ Upstream commit 179753aa5b7890b311968c033d08f558f0a7be21 ]
If the logo width is bigger than the framebuffer width, and the
height is big enough to hold the logo and the message, it will draw
at x coordinate that are higher than the width, and ends up in a
corrupted image.
Fixes: 4b570ac2eb54 ("drm/rect: Add drm_rect_overlap()")
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20251009122955.562888-2-jfalempe@redhat.com
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
