diff options
author | Dave Airlie <airlied@redhat.com> | 2025-01-16 23:48:11 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2025-01-16 23:48:12 +0100 |
commit | cfaf51adaf4e0b1850c84e05c81e879dd571c17c (patch) | |
tree | 53d004d04b5c8ca99885ebfe53951a5e4c0b25f9 /drivers | |
parent | Merge tag 'amd-drm-fixes-6.13-2025-01-15' of https://gitlab.freedesktop.org/a... (diff) | |
parent | drm/i915/fb: Relax clear color alignment to 64 bytes (diff) | |
download | linux-cfaf51adaf4e0b1850c84e05c81e879dd571c17c.tar.xz linux-cfaf51adaf4e0b1850c84e05c81e879dd571c17c.zip |
Merge tag 'drm-intel-fixes-2025-01-15' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
- Relax clear color alignment to 64 bytes [fb] (Ville Syrjälä)
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Tvrtko Ursulin <tursulin@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/Z4fdIVf68qsqIpiN@linux
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fb.c b/drivers/gpu/drm/i915/display/intel_fb.c index 6a7060889f40..223c4218c019 100644 --- a/drivers/gpu/drm/i915/display/intel_fb.c +++ b/drivers/gpu/drm/i915/display/intel_fb.c @@ -1694,7 +1694,7 @@ int intel_fill_fb_info(struct drm_i915_private *i915, struct intel_framebuffer * * arithmetic related to alignment and offset calculation. */ if (is_gen12_ccs_cc_plane(&fb->base, i)) { - if (IS_ALIGNED(fb->base.offsets[i], PAGE_SIZE)) + if (IS_ALIGNED(fb->base.offsets[i], 64)) continue; else return -EINVAL; |