Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Set 64k physical alignment on display buffers for CCS.
@ 2024-08-21 15:05 Maarten Lankhorst
  2024-08-21 15:05 ` [PATCH 1/2] drm/xe: Align 64k scanout buffers physically when required Maarten Lankhorst
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Maarten Lankhorst @ 2024-08-21 15:05 UTC (permalink / raw)
  To: intel-xe; +Cc: Maarten Lankhorst

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


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

end of thread, other threads:[~2024-08-21 17:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21 15:05 [PATCH 0/2] Set 64k physical alignment on display buffers for CCS Maarten Lankhorst
2024-08-21 15:05 ` [PATCH 1/2] drm/xe: Align 64k scanout buffers physically when required Maarten Lankhorst
2024-08-21 15:05 ` [PATCH 2/2] drm/xe: Use 64K pages for scanout buffers for Battlemage Maarten Lankhorst
2024-08-21 15:11 ` ✓ CI.Patch_applied: success for Set 64k physical alignment on display buffers for CCS Patchwork
2024-08-21 15:11 ` ✗ CI.checkpatch: warning " Patchwork
2024-08-21 15:12 ` ✓ CI.KUnit: success " Patchwork
2024-08-21 15:24 ` ✓ CI.Build: " Patchwork
2024-08-21 15:26 ` ✓ CI.Hooks: " Patchwork
2024-08-21 15:27 ` ✓ CI.checksparse: " Patchwork
2024-08-21 15:50 ` ✗ CI.BAT: failure " Patchwork
2024-08-21 17:33 ` ✗ CI.FULL: " Patchwork

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