Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] drm/xe: ensure fbc cfb size to be page size aligned
@ 2024-01-10 11:00 Vinod Govindapillai
  2024-01-10 11:00 ` [PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc Vinod Govindapillai
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Vinod Govindapillai @ 2024-01-10 11:00 UTC (permalink / raw)
  To: intel-gfx; +Cc: ville.syrjala

DRM gem object handling expet the object size to be page size
aligned. Neither the driver or xe stolen memory handlers do that
causing BUG_ON being triggered in some cases.

Vinod Govindapillai (2):
  drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc
  drm/xe: Modify the cfb size to be page size aligned for FBC

 drivers/gpu/drm/i915/display/intel_fbc.c                 | 6 ++++--
 drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h | 3 +++
 2 files changed, 7 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-01-12  8:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10 11:00 [PATCH v1 0/2] drm/xe: ensure fbc cfb size to be page size aligned Vinod Govindapillai
2024-01-10 11:00 ` [PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc Vinod Govindapillai
2024-01-11 13:44   ` Ville Syrjälä
2024-01-11 13:47     ` Govindapillai, Vinod
2024-01-11 13:59       ` Ville Syrjälä
2024-01-11 14:37         ` Govindapillai, Vinod
2024-01-10 11:00 ` [PATCH v1 2/2] drm/xe: Modify the cfb size to be page size aligned for FBC Vinod Govindapillai
2024-01-12  8:56   ` Jani Nikula
2024-01-12  8:58     ` Jani Nikula
2024-01-10 15:11 ` ✗ Fi.CI.SPARSE: warning for drm/xe: ensure fbc cfb size to be page size aligned Patchwork
2024-01-10 15:23 ` ✓ Fi.CI.BAT: success " Patchwork
2024-01-10 17:53 ` ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox