Skip to content

drm/xe: Use migration for display GGTT updates.

Maarten Lankhorst intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14drm/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/14drm/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/14drm/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/14drm/xe/display: Remove dereferences of ggtt for tile iddrivers/gpu/drm/xe/display/xe_fb_pin.c+7 -60 replies
5/14drm/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/14drm/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/14drm/xe/display: Convert GGTT mapping to use pte_encode_flagsdrivers/gpu/drm/xe/display/xe_fb_pin.c+5 -120 replies
8/14drm/xe: Remove pte_encode_bo callbackdrivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt_types.h+0 -170 replies
9/14drm/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
10/14drm/xe: Do not rely on GGTT internals in xe_guc_buf kunit testsdrivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c drivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt.h+24 -110 replies
11/14drm/xe: Add GGTT updates to migration enginedrivers/gpu/drm/xe/instructions/xe_mi_commands.h drivers/gpu/drm/xe/tests/xe_migrate.c drivers/gpu/drm/xe/xe_migrate.c +1 more+175 -00 replies
12/14drm/xe: Convert xe_fb_pin to use a callback for insertion into GGTTdrivers/gpu/drm/xe/display/xe_fb_pin.c drivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt.h +1 more+123 -840 replies
13/14drm/xe: Allow for optimization of xe_ggtt_map_bodrivers/gpu/drm/xe/tests/xe_migrate.c drivers/gpu/drm/xe/xe_ggtt.c+50 -250 replies
14/14drm/xe: Move struct xe_ggtt to xe_ggtt.cdrivers/gpu/drm/xe/xe_ggtt.c drivers/gpu/drm/xe/xe_ggtt_types.h+50 -490 replies

Reviews trailers per patch

5 of 14 patches have a Reviewed-by or Acked-by.

PatchMatthew BrostLucas De Marchi
1/14R-b R-b
2/14R-b
3/14R-b R-b
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14R-b
13/14
14/14R-b

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

Read the v1 thread

Cover letter [CI 00/14] drm/xe: Use migration for display GGTT updates.

Proof of concept for discussion, hopefully passing CI this time. Otherwise it should at least be building..

Maarten Lankhorst (14):
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 drm/xe: Add GGTT updates to migration engine
drm/xe: Convert xe_fb_pin to use a callback for insertion into GGTT drm/xe: Allow for optimization of xe_ggtt_map_bo
drm/xe: Move struct xe_ggtt to xe_ggtt.c

 drivers/gpu/drm/xe/display/xe_fb_pin.c        | 151 ++++-----
 drivers/gpu/drm/xe/display/xe_plane_initial.c |   6 +-
 .../gpu/drm/xe/instructions/xe_mi_commands.h  |   2 +
 drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c   |  11 +-
 drivers/gpu/drm/xe/tests/xe_migrate.c         |  75 +++++
 drivers/gpu/drm/xe/xe_bo.c                    |   2 +-
 drivers/gpu/drm/xe/xe_bo_evict.c              |   4 +-
 drivers/gpu/drm/xe/xe_ggtt.c                  | 312 +++++++++++++++---
 drivers/gpu/drm/xe/xe_ggtt.h                  |  22 +-
 drivers/gpu/drm/xe/xe_ggtt_types.h            |  53 +--
 drivers/gpu/drm/xe/xe_migrate.c               |  87 +++++
 drivers/gpu/drm/xe/xe_migrate.h               |  12 +
 drivers/gpu/drm/xe/xe_tile.c                  |   6 +-
 13 files changed, 541 insertions(+), 202 deletions(-)
Signature · 1 line
2.45.2