All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/i915/fb: Deal with Mesa clear color alignment regression
@ 2024-11-29  6:50 Ville Syrjala
  2024-11-29  6:50 ` [PATCH 1/4] drm/i915/fb: Relax clear color alignment to 64 bytes Ville Syrjala
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Ville Syrjala @ 2024-11-29  6:50 UTC (permalink / raw)
  To: intel-gfx; +Cc: Sagar Ghuge, Nanley Chery, Xi Ruoyao

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

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@intel.com>
Cc: Nanley Chery <nanley.g.chery@intel.com>
Cc: Xi Ruoyao <xry111@xry111.site>

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(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-01-13 16:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-29  6:50 [PATCH 0/4] drm/i915/fb: Deal with Mesa clear color alignment regression Ville Syrjala
2024-11-29  6:50 ` [PATCH 1/4] drm/i915/fb: Relax clear color alignment to 64 bytes Ville Syrjala
2024-11-29 13:45   ` Xi Ruoyao
2024-11-29  6:50 ` [PATCH 2/4] drm/i915/fb: Add debug spew for misaligned CC plane Ville Syrjala
2024-11-29  6:50 ` [PATCH 3/4] drm/i915/fb: Check that the clear color fits within the BO Ville Syrjala
2024-11-29  6:50 ` [PATCH 4/4] drm/uapi/fourcc: Document the Intel clear color alignment better Ville Syrjala
2025-01-10 15:43   ` Chery, Nanley G
2025-01-13 16:38     ` Ville Syrjälä
2024-11-29  7:11 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/fb: Deal with Mesa clear color alignment regression Patchwork
2024-11-29  7:11 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-11-29  7:27 ` ✗ i915.CI.BAT: failure " Patchwork
2024-11-29  8:45 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/fb: Deal with Mesa clear color alignment regression (rev2) Patchwork
2024-11-29  8:45 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-11-29  8:57 ` ✓ i915.CI.BAT: success " Patchwork
2024-11-29 11:17 ` ✗ i915.CI.Full: failure " Patchwork
2025-01-07 19:44 ` [PATCH 0/4] drm/i915/fb: Deal with Mesa clear color alignment regression Souza, Jose

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.