Skip to content

drm/i915/fb: Deal with Mesa clear color alignment regression

Ville Syrjala intel-gfx stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/fb: Relax clear color alignment to 64 bytesdrivers/gpu/drm/i915/display/intel_fb.c+1 -11 reply
2/4drm/i915/fb: Add debug spew for misaligned CC planedrivers/gpu/drm/i915/display/intel_fb.c+7 -30 replies
3/4drm/i915/fb: Check that the clear color fits within the BOdrivers/gpu/drm/i915/display/intel_fb.c+10 -00 replies
4/4drm/uapi/fourcc: Document the Intel clear color alignment betterinclude/uapi/drm/drm_fourcc.h+14 -132 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchXi RuoyaoJosé Roberto de Souza
SeriesR-b
1/4T-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] drm/i915/fb: Deal with Mesa clear color alignment regression

From: Ville Syrjälä <[email protected]>

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 <[email protected]>
Cc Nanley Chery <[email protected]>
Cc Xi Ruoyao <[email protected]>

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(-)
Signature · 1 line
2.45.2