[PATCH 0/2] Set 64k physical alignment on display buffers for CCS.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Wed Aug 21 15:05:17 UTC 2024


Instead of restricting display to 64k, keeping allowing any BO size.

Iff a buffer is created with a scanout flag, as a multiple of 64K, it can
be used for CCS.

This should fix the corruption issue, the changes to UMD will be only
setting a multiple of 64K for CCS fb's.

Untested, lets see if it gets through CI. :)

Maarten Lankhorst (1):
  drm/xe: Align 64k scanout buffers physically when required

Zbigniew Kempczyński (1):
  drm/xe: Use 64K pages for scanout buffers for Battlemage

 drivers/gpu/drm/xe/display/intel_fb_bo.c |  6 ++++++
 drivers/gpu/drm/xe/xe_bo.c               | 17 ++++++++++++++++-
 drivers/gpu/drm/xe/xe_device_types.h     |  1 +
 drivers/gpu/drm/xe/xe_pci.c              |  9 ++++++++-
 drivers/gpu/drm/xe/xe_vm.c               |  4 +++-
 5 files changed, 34 insertions(+), 3 deletions(-)

-- 
2.45.2



More information about the Intel-xe mailing list