]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/display: Fix fbdev GGTT mapping handling.
authorMaarten Lankhorst <dev@lankhorst.se>
Wed, 5 Mar 2025 11:01:06 +0000 (12:01 +0100)
committerMaarten Lankhorst <dev@lankhorst.se>
Wed, 5 Mar 2025 20:48:49 +0000 (21:48 +0100)
commitf2887e7ff3eede887ae0980169dfd1932e4f086e
treee262409b06a5f2d673f98906b58887d2c04ca82d
parent6069b21f58dc96e5d57c9c2fd64240135952a545
drm/xe/display: Fix fbdev GGTT mapping handling.

FBDEV ggtt is not restored correctly, add missing GGTT flag to
intel_fbdev_fb_alloc to make it work. This ensures that the global
GGTT mapping is always restored on resume. The GGTT mapping would
otherwise be created in intel_fb_pin_to_ggtt() by intel_fbdev anyway.

This fixes the fbdev device not working after resume.

Fixes: 67a98f7e27ba ("drm/xe/display: Re-use display vmas when possible")
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250305110106.564366-1-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/display/intel_fbdev_fb.c