mbox series

[0/2] Align framebuffers according to what display minimum alignment states

Message ID 20241009151947.2240099-1-juhapekka.heikkila@gmail.com (mailing list archive)
Headers show
Series Align framebuffers according to what display minimum alignment states | expand

Message

Juha-Pekka Heikkila Oct. 9, 2024, 3:19 p.m. UTC
Here added interface to request physical alignemnt for BOs and
use it to align framebuffers according to what display code
min_align says.

/Juha-Pekka

Juha-Pekka Heikkila (2):
  drm/xe: add interface to request physical alignment for buffer objects
  drm/xe/display: align framebuffers according to hw requirements

 .../compat-i915-headers/gem/i915_gem_stolen.h |  2 +-
 drivers/gpu/drm/xe/display/xe_fb_pin.c        | 57 ++++++++++++-------
 drivers/gpu/drm/xe/xe_bo.c                    | 29 ++++++++--
 drivers/gpu/drm/xe/xe_bo.h                    |  8 ++-
 drivers/gpu/drm/xe/xe_bo_types.h              |  5 ++
 drivers/gpu/drm/xe/xe_ggtt.c                  |  2 +-
 6 files changed, 72 insertions(+), 31 deletions(-)