[PATCH v1 0/2] drm/xe: ensure fbc cfb size to be page size aligned

Vinod Govindapillai vinod.govindapillai at intel.com
Wed Jan 10 11:00:07 UTC 2024


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



More information about the Intel-gfx mailing list