]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/fbdev: Add intel_fbdev_get_map()
authorJocelyn Falempe <jfalempe@redhat.com>
Tue, 24 Jun 2025 09:01:11 +0000 (11:01 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Fri, 27 Jun 2025 09:48:22 +0000 (11:48 +0200)
commitd2782a0d8ff80f9fea36b7499b04c30f9c92d5a7
tree89a7542bd240892982728c3c6a35bd70f433d43f
parent3dd922c418903be7dd8df7212f968e94d0fe73c7
drm/i915/fbdev: Add intel_fbdev_get_map()

The vaddr of the fbdev framebuffer is private to the struct
intel_fbdev, so this function is needed to access it for drm_panic.
Also the struct i915_vma is different between i915 and xe, so it
requires a few functions to access fbdev->vma->iomap.

Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250624091501.257661-3-jfalempe@redhat.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/i915/display/intel_fb_pin.c
drivers/gpu/drm/i915/display/intel_fb_pin.h
drivers/gpu/drm/i915/display/intel_fbdev.c
drivers/gpu/drm/i915/display/intel_fbdev.h
drivers/gpu/drm/i915/i915_vma.h
drivers/gpu/drm/xe/display/xe_fb_pin.c