✗ CI.checkpatch: warning for drm/{i915, xe}: move fbdev fb calls to parent interface (rev2)

Patchwork
2026-04-01T09:45:25Z

Series: drm/{i915, xe}: move fbdev fb calls to parent interface (rev2)
URL : https://patchwork.freedesktop.org/series/164151/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 3b6f02704353b856b4f9fe021b89529514dc702c
Author: Jani Nikula <jani.nikula@intel.com>
Date: Tue Mar 31 12:49:18 2026 +0300

drm/xe: pass struct xe_device to xe_display_bo_fbdev_prefer_stolen()

This is xe core code, use struct xe_device for simplicity.

Reviewed-by: Michał Grzelak <michal.grzelak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
+ /mt/dim checkpatch 5d36e6d54e963f0c1137aaf2249d2baa781f08c2 drm-intel
601c604054c7 drm/xe/fbdev: put intel_fbdev_fb_prefer_stolen() behind IS_ENABLED(CONFIG_DRM_FBDEV_EMULATION)
36d8ffde4988 drm/{i915, xe}/fbdev: drop drm device parameter from intel_fbdev_fb_fill_info()
5d1eb7882aa0 drm/{i915, xe}: move fbdev fb calls to parent interface
-:121: WARNING:LONG_LINE: line length of 122 exceeds 100 columns
#121: FILE: drivers/gpu/drm/i915/display/intel_fbdev.c:218:
+ mode_cmd->pitches[0] = intel_bo_fbdev_pitch_align(display, mode_cmd->width * DIV_ROUND_UP(sizes->surface_bpp, 8));

-:159: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#159:
deleted file mode 100644

-:717: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#717: FILE: drivers/gpu/drm/xe/display/xe_display_bo.c:163:
+ drm_info(&xe->drm, "Allocated fbdev into stolen failed: %li\n", PTR_ERR(obj));

-:726: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#726: FILE: drivers/gpu/drm/xe/display/xe_display_bo.c:172:
+ XE_BO_FLAG_VRAM_IF_DGFX(xe_device_get_root_tile(xe)) |

-:745: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#745: FILE: drivers/gpu/drm/xe/display/xe_display_bo.c:191:
+static int xe_display_bo_fbdev_fill_info(struct drm_gem_object *_obj, struct fb_info *info,
+ struct i915_vma *vma)

-:846: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#846: FILE: include/drm/intel/display_parent_interface.h:51:
+ int (*fbdev_fill_info)(struct drm_gem_object *obj, struct fb_info *info, struct i915_vma *vma);

total: 0 errors, 5 warnings, 1 checks, 477 lines checked
9383f0e53245 drm/i915: pass struct drm_i915_private to i915_bo_fbdev_prefer_stolen()
3b6f02704353 drm/xe: pass struct xe_device to xe_display_bo_fbdev_prefer_stolen()