diff options
| author | Jocelyn Falempe <jfalempe@redhat.com> | 2025-10-09 14:24:53 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:10:28 +0100 |
| commit | 91296c47dd76e82c15afb34def9d2ddd17df36a4 (patch) | |
| tree | 74e0aefd1db22c9689b7c37ac48f74f650aa14c0 /tools/perf/scripts/python | |
| parent | 53e5c5ef2f0c04b237f011b18841dc0249fadcac (diff) | |
drm/panic: Fix 24bit pixel crossing page boundaries
[ Upstream commit 23437509a69476d4f896891032d62ac868731668 ]
When using page list framebuffer, and using RGB888 format, some
pixels can cross the page boundaries, and this case was not handled,
leading to writing 1 or 2 bytes on the next virtual address.
Add a check and a specific function to handle this case.
Fixes: c9ff2808790f0 ("drm/panic: Add support to scanout buffer as array of pages")
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20251009122955.562888-7-jfalempe@redhat.com
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
