mbox series

[0/9] drm/xe: Cleanup GGTT usage outside of xe_ggtt.c

Message ID 20250404205028.620300-1-dev@lankhorst.se (mailing list archive)
Headers show
Series drm/xe: Cleanup GGTT usage outside of xe_ggtt.c | expand

Message

Maarten Lankhorst April 4, 2025, 8:50 p.m. UTC
This should be non-controversial. I'm changing the GGTT signature of
pte_encode_bo to pte_encode_flags, and removing the old callback after
converting the display user. This is preparation of making struct xe_ggtt
private in the future.

Hopefully passes CI now.

Maarten Lankhorst (9):
  drm/xe: Use xe_ggtt_map_bo_unlocked for resume
  drm/xe: Add xe_ggtt_might_lock
  drm/xe: Add xe_ggtt_alloc
  drm/xe/display: Remove dereferences of ggtt for tile id
  drm/xe/ggtt: Seperate flags and address in PTE encoding
  drm/xe/display: Dont poke into GGTT internals to fill a DPT
  drm/xe/display: Convert GGTT mapping to use pte_encode_flags
  drm/xe: Remove pte_encode_bo callback
  drm/xe: Implement a helper for reading out a GGTT PTE at a specified
    offset

 drivers/gpu/drm/xe/display/xe_fb_pin.c        |  50 +++----
 drivers/gpu/drm/xe/display/xe_plane_initial.c |   6 +-
 drivers/gpu/drm/xe/xe_bo.c                    |   2 +-
 drivers/gpu/drm/xe/xe_bo_evict.c              |   4 +-
 drivers/gpu/drm/xe/xe_ggtt.c                  | 140 ++++++++++++++----
 drivers/gpu/drm/xe/xe_ggtt.h                  |  16 +-
 drivers/gpu/drm/xe/xe_ggtt_types.h            |   4 +-
 drivers/gpu/drm/xe/xe_tile.c                  |   6 +-
 8 files changed, 157 insertions(+), 71 deletions(-)