Skip to content

drm/xe: Cleanup GGTT usage outside of xe_ggtt.c

Maarten Lankhorst intel-gfx intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/xe: Use xe_ggtt_map_bo_unlocked for resumedrivers/gpu/drm/xe/xe_bo_evict.c drivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt.h+17 -50 replies
2/9drm/xe: Add xe_ggtt_might_lockdrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt.h+15 -10 replies
3/9drm/xe: Add xe_ggtt_allocdrivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt.h drivers/gpu/drm/xe/xe_tile.c+19 -50 replies
4/9drm/xe/display: Remove dereferences of ggtt for tile iddrivers/gpu/drm/xe/display/xe_fb_pin.c+7 -60 replies
5/9drm/xe/ggtt: Seperate flags and address in PTE encodingdrivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt.h drivers/gpu/drm/xe/xe_ggtt_types.h+72 -270 replies
6/9drm/xe/display: Dont poke into GGTT internals to fill a DPTdrivers/gpu/drm/xe/display/xe_fb_pin.c drivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt.h+26 -110 replies
7/9drm/xe/display: Convert GGTT mapping to use pte_encode_flagsdrivers/gpu/drm/xe/display/xe_fb_pin.c+5 -120 replies
8/9drm/xe: Remove pte_encode_bo callbackdrivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt_types.h+0 -170 replies
9/9drm/xe: Implement a helper for reading out a GGTT PTE at a specified offsetdrivers/gpu/drm/xe/display/xe_plane_initial.c drivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt.h+14 -50 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by.

PatchMatthew BrostLucas De Marchi
1/9R-b R-b
2/9R-b
3/9R-b R-b
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.45.2