Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe/fbdev: print info about stolen memory preference for fbdev

If stolen memory cannot be allocated for the fbdev and initial plane
bo because of the preference for fbc, have an info about that in
the log.

v2: log text changed

Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Acked-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patch.msgid.link/20260220170908.201422-6-vinod.govindapillai@intel.com

+5 -1
+2
drivers/gpu/drm/xe/display/intel_fbdev_fb.c
··· 63 63 drm_info(&xe->drm, "Allocated fbdev into stolen\n"); 64 64 else 65 65 drm_info(&xe->drm, "Allocated fbdev into stolen failed: %li\n", PTR_ERR(obj)); 66 + } else { 67 + drm_info(&xe->drm, "Allocating fbdev: Stolen memory not preferred.\n"); 66 68 } 67 69 68 70 if (IS_ERR(obj)) {
+3 -1
drivers/gpu/drm/xe/display/xe_initial_plane.c
··· 92 92 flags |= XE_BO_FLAG_STOLEN; 93 93 94 94 if (IS_ENABLED(CONFIG_FRAMEBUFFER_CONSOLE) && 95 - !intel_fbdev_fb_prefer_stolen(&xe->drm, plane_config->size)) 95 + !intel_fbdev_fb_prefer_stolen(&xe->drm, plane_config->size)) { 96 + drm_info(&xe->drm, "Initial FB size exceeds half of stolen, discarding\n"); 96 97 return NULL; 98 + } 97 99 } 98 100 99 101 size = round_up(plane_config->base + plane_config->size,