[PATCH v5 0/2] Restrict BMG to use 64K pages for scanout buffers
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Tue Jul 23 09:39:35 UTC 2024
According to talk to UMD teams they've asked to adjust allocation
for scanout buffer transparently to required by display alignment.
Previously we agreed we require explicitly aligned size, what was
relaxed in creating dumb bo. I decided to relax this requirement
for scanout as well to avoid changes from UMD side.
+Thomas, +Maarten for their statement about change
For reference about explicit uAPI change please take a look
to v3.
v2: Limit restriction to BMG
v3: Expose display alignment config to userspace
v4: Drop display alignment config
Handle buffer size adjustment transparently in the kernel
v5: Rebase to current drm-tip
Cc: Matthew Auld <matthew.auld at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Juha-Pekka Heikkilä <juha-pekka.heikkila at intel.com>
Zbigniew Kempczyński (2):
drm/xe: Separate 64K physical allocation for display
drm/xe: Use 64K pages for scanout buffers for Battlemage
drivers/gpu/drm/xe/xe_bo.c | 18 +++++++++++++++---
drivers/gpu/drm/xe/xe_device_types.h | 1 +
drivers/gpu/drm/xe/xe_pci.c | 9 ++++++++-
drivers/gpu/drm/xe/xe_vm.c | 2 +-
4 files changed, 25 insertions(+), 5 deletions(-)
--
2.34.1
More information about the Intel-xe
mailing list