On Fri, 2024-11-29 at 08:50 +0200, Ville Syrjala wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Mesa changed its clear color alignment without informing the kernel, > and now the kernel expects 4k alignment whereas Mesa only guaratees > 64 bytes. Reduce the kernel alignment requirement to the same 64 bytes > since there's no real reason for the current 4k limit. And while at it > add some missing checks and debugs to the clear color hadling. > > Cc: Sagar Ghuge <sagar.ghuge@xxxxxxxxx> > Cc: Nanley Chery <nanley.g.chery@xxxxxxxxx> > Cc: Xi Ruoyao <xry111@xxxxxxxxxxx> whole series lgtm Reviewed-by: José Roberto de Souza <jose.souza@xxxxxxxxx> > > Ville Syrjälä (4): > drm/i915/fb: Relax clear color alignment to 64 bytes > drm/i915/fb: Add debug spew for misaligned CC plane > drm/i915/fb: Check that the clear color fits within the BO > drm/uapi/fourcc: Document the Intel clear color alignment better > > drivers/gpu/drm/i915/display/intel_fb.c | 20 +++++++++++++++--- > include/uapi/drm/drm_fourcc.h | 27 +++++++++++++------------ > 2 files changed, 31 insertions(+), 16 deletions(-) >