✗ CI.checkpatch: warning for drm/i915/fb: Prep work for more generic remapping support

Patchwork
2026-04-07T15:57:19Z

== Series Details ==

Series: drm/i915/fb: Prep work for more generic remapping support
URL : https://patchwork.freedesktop.org/series/164459/
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 cfd4a200c38088ea52be0fe41880a01aad464493
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date: Tue Apr 7 18:50:53 2026 +0300

drm/i915/fb: Use intel_fb_needs_pot_stride_remap() in intel_fb_view_init()

Replace the open coded intel_fb_needs_pot_stride_remap() check
inside intel_fb_view_init() with the real thing.

The current check doesn't have the intel_fb_uses_dpt() in there, but
that is the only situation when we use the remapped view, and thus
was always implied.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
+ /mt/dim checkpatch b9100c71e504ca0f80d6a94c41fa582c623f2725 drm-intel
1dbb7203cdac drm/i915/fb: Nuke intel_tile_row_size()
98d389496053 drm/i915/fb: Make intel_fb_needs_pot_stride_remap() static
5f1e65a001ac drm/i915/fb: Reject per-plane remapping with DPT
fd2ac2ceb01e drm/xe/fb: Use the correct gtt view for remapped FBs
2792ba21460c drm/xe/fb: Remove weird VMA end alignemnt
113dab77a73b drm/xe/fb: Extract xe_dpt_size()
d1acdd0a6973 drm/i915/vma: Add helpers to check GTT view type
45bacf312c04 drm/xe/fb: Use i915_gtt_view_is_*()
d626f9b3b7f2 drm/i915/fb: Use i915_gtt_view_is_*()
b5df82a8fd41 drm/i915/selftests: Eliminate duplicate vma size check
dc9fb1327128 drm/i915/selftests: Use i915_gtt_view_is_*()
-:53: WARNING:LONG_LINE: line length of 110 exceeds 100 columns
#53: FILE: drivers/gpu/drm/i915/selftests/i915_vma.c:634:
+ expected_pages = remapped_size(&view, &plane_info[0], &plane_info[1]);

-:62: WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#62: FILE: drivers/gpu/drm/i915/selftests/i915_vma.c:666:
+ if (i915_gtt_view_is_rotated(&view))

-:105: WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#105: FILE: drivers/gpu/drm/i915/selftests/i915_vma.c:1075:
+ i915_gtt_view_is_rotated(&view) ? "Rotated" : "Remapped",

total: 0 errors, 3 warnings, 0 checks, 82 lines checked
cfd4a200c380 drm/i915/fb: Use intel_fb_needs_pot_stride_remap() in intel_fb_view_init()