Skip to content

Set 64k physical alignment on display buffers for CCS.

Maarten Lankhorst intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Align 64k scanout buffers physically when requireddrivers/gpu/drm/xe/display/intel_fb_bo.c drivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_device_types.h +1 more+26 -20 replies
2/2drm/xe: Use 64K pages for scanout buffers for Battlemagedrivers/gpu/drm/xe/xe_pci.c+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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