]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/fbdev: use the same 64-byte stride alignment as i915
authorJani Nikula <jani.nikula@intel.com>
Thu, 18 Sep 2025 08:40:51 +0000 (11:40 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 19 Sep 2025 06:32:36 +0000 (09:32 +0300)
commit4a36b339a14ae6f2a366125e3d64f0c165193293
tree0e5f02e77ef9a5695b59bd5dedd76ec494a94609
parenta58b9e3d6e6777fc52040fcd93a46d107f87c7ec
drm/xe/fbdev: use the same 64-byte stride alignment as i915

For reasons unknown, xe uses XE_PAGE_SIZE alignment for
stride. Presumably it's just a confusion between stride alignment and bo
allocation size alignment. Switch to 64 byte alignment to, uh, align
with i915.

This will also be helpful in deduplicating and unifying the xe and i915
framebuffer allocation.

Link: https://lore.kernel.org/r/aLqsC87Ol_zCXOkN@intel.com
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/7f4972104de8b179d5724ae83892ee294d3f3fd3.1758184771.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/xe/display/intel_fbdev_fb.c