summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorJocelyn Falempe <jfalempe@redhat.com>2025-10-09 14:24:53 +0200
committerJocelyn Falempe <jfalempe@redhat.com>2025-10-21 11:28:03 +0200
commit23437509a69476d4f896891032d62ac868731668 (patch)
tree4e5d03673856a218ac1ff0fa7fe99ffefc3424d8 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent2e337dd278c6c38982b520c309f36e0f88696e6e (diff)
drm/panic: Fix 24bit pixel crossing page boundaries
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions