[PATCH 00/10] drm/xe/ggtt: Stop relying on GGTT internals.
Maarten Lankhorst
dev at lankhorst.se
Mon May 5 12:19:13 UTC 2025
This patch cleans up all users of struct GGTT outside of display.
Most uses inside display have been cleaned up too, the hardest part
is fixing rotated GGTT display buffers, which I've postponed for now.
Once that's fixed, no users outside of xe_ggtt.c remain, and the struct
definition can be made private.
Maarten Lankhorst (10):
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
drm/xe: Do not rely on GGTT internals in xe_guc_buf kunit tests
drivers/gpu/drm/xe/display/xe_fb_pin.c | 50 +++---
drivers/gpu/drm/xe/display/xe_plane_initial.c | 6 +-
drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 11 +-
drivers/gpu/drm/xe/xe_bo.c | 2 +-
drivers/gpu/drm/xe/xe_bo_evict.c | 4 +-
drivers/gpu/drm/xe/xe_ggtt.c | 156 ++++++++++++++----
drivers/gpu/drm/xe/xe_ggtt.h | 17 +-
drivers/gpu/drm/xe/xe_ggtt_types.h | 4 +-
drivers/gpu/drm/xe/xe_tile.c | 6 +-
9 files changed, 174 insertions(+), 82 deletions(-)
--
2.45.2
More information about the Intel-xe
mailing list