[PATCH 0/9] drm/xe: Cleanup GGTT usage outside of xe_ggtt.c
Maarten Lankhorst
dev at lankhorst.se
Fri Apr 4 20:50:19 UTC 2025
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(-)
--
2.45.2
More information about the Intel-gfx
mailing list