Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: Matthew Brost <matthew.brost@intel.com>, intel-xe@lists.freedesktop.org
Subject: Re: [Intel-xe] [PATCH v2 00/31] Upstreaming prep / all of mbrosts patches
Date: Wed, 3 May 2023 14:37:14 +0200	[thread overview]
Message-ID: <21f0b213-c307-2fbd-1312-74b26287d352@linux.intel.com> (raw)
In-Reply-To: <20230502001727.3211096-1-matthew.brost@intel.com>

Hi, Matthew

On 5/2/23 02:16, Matthew Brost wrote:
> Series includes:
>
> - DRM scheduler changes for firmware backends (1 to 1 entity to scheduler)
> - LR workload story
> - VM LRU handling
> - GuC doorbell submission
> - Basic GPUVA
> - Sparse binding support
> - GPUVA + extobj + drm exec (collaboration with dakr + Francois Dugast)
> - GPUVA + userptr (minimal, more can be once Nouveua has userptr)
> - Fix fencing rules for compute / fault mode
> - Remove async worker for VM + error handling updates
> - Kernel doc for VM bind

It would be beneficial to the reviewer if  you could make separate 
series where applicable with links to previous discussions and add 
information about whether all design issues /discussions were resolved 
or if anything was remaining and a brief guidance as to what is in each 
patch of the series.

/Thomas




> Series is not fully ready for upstream and some of these things need to
> get merged upstream first but overall it is largely correct and
> certainly step in the right direction. Based on its size and the fact it
> took me 8 hours to rebase this today I'd say let's get this tree and
> fixup everything else in place.
>
> Minor uAPI breakage, IGT series:
> https://patchwork.freedesktop.org/series/117177/
>
> gitlab link:
> https://gitlab.freedesktop.org/drm/xe/kernel/-/merge_requests/344
>
> Signed-off-by: Matthew Brost <matthew.brost@intel.com>
>
> Christian König (1):
>    drm: execution context for GEM buffers v3
>
> Danilo Krummrich (2):
>    maple_tree: split up MA_STATE() macro
>    drm: manager to keep track of GPUs VA mappings
>
> Matthew Brost (28):
>    drm/sched: Add run_wq argument to drm_sched_init
>    drm/sched: Move schedule policy to scheduler
>    drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policy
>    drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY mode
>    drm/xe: Long running job update
>    drm/xe: Ensure LR engines are not persistent
>    drm/xe: Only try to lock external BOs in VM bind
>    drm/xe: VM LRU bulk move
>    drm/xe/guc: Read HXG fields from DW1 of G2H response
>    drm/xe/guc: Return the lower part of blocking H2G message
>    drm/xe/guc: Use doorbells for submission if possible
>    drm/xe/guc: Print doorbell ID in GuC engine debugfs entry
>    maple_tree: Export mas_preallocate
>    drm/xe: Port Xe to GPUVA
>    drm/xe: NULL binding implementation
>    drm/xe: Avoid doing rebinds
>    drm/xe: Reduce the number list links in xe_vma
>    drm/xe: Optimize size of xe_vma allocation
>    drm/gpuva: Add drm device to GPUVA manager
>    drm/gpuva: Move dma-resv to GPUVA manager
>    drm/gpuva: Add support for extobj
>    drm/xe: Userptr refactor
>    drm/exec: Always compile drm_exec
>    drm/xe: Use drm_exec for locking rather than TTM exec helpers
>    drm/xe: Allow dma-fences as in-syncs for compute / faulting VM
>    drm/xe: Allow compute VMs to output dma-fences on binds
>    drm/xe: remove async worker, sync binds, new error handling
>    drm/xe/uapi: Add some VM bind kernel doc
>
>   Documentation/gpu/drm-mm.rst                 |   43 +
>   drivers/gpu/drm/Kconfig                      |    6 +
>   drivers/gpu/drm/Makefile                     |    4 +-
>   drivers/gpu/drm/amd/amdgpu/amdgpu_device.c   |    3 +-
>   drivers/gpu/drm/drm_debugfs.c                |   41 +
>   drivers/gpu/drm/drm_exec.c                   |  248 ++
>   drivers/gpu/drm/drm_gem.c                    |    3 +
>   drivers/gpu/drm/drm_gpuva_mgr.c              | 1779 ++++++++++++
>   drivers/gpu/drm/etnaviv/etnaviv_sched.c      |    5 +-
>   drivers/gpu/drm/i915/display/intel_display.c |    6 +-
>   drivers/gpu/drm/lima/lima_sched.c            |    5 +-
>   drivers/gpu/drm/msm/msm_ringbuffer.c         |    5 +-
>   drivers/gpu/drm/panfrost/panfrost_job.c      |    5 +-
>   drivers/gpu/drm/scheduler/sched_entity.c     |   84 +-
>   drivers/gpu/drm/scheduler/sched_fence.c      |    2 +-
>   drivers/gpu/drm/scheduler/sched_main.c       |   88 +-
>   drivers/gpu/drm/v3d/v3d_sched.c              |   25 +-
>   drivers/gpu/drm/xe/Kconfig                   |    1 +
>   drivers/gpu/drm/xe/regs/xe_guc_regs.h        |    1 +
>   drivers/gpu/drm/xe/tests/xe_bo.c             |   26 +-
>   drivers/gpu/drm/xe/tests/xe_migrate.c        |    6 +-
>   drivers/gpu/drm/xe/xe_bo.c                   |  100 +-
>   drivers/gpu/drm/xe/xe_bo.h                   |   13 +-
>   drivers/gpu/drm/xe/xe_bo_evict.c             |   24 +-
>   drivers/gpu/drm/xe/xe_bo_types.h             |    1 -
>   drivers/gpu/drm/xe/xe_device.c               |    2 +-
>   drivers/gpu/drm/xe/xe_dma_buf.c              |    2 +-
>   drivers/gpu/drm/xe/xe_engine.c               |   50 +-
>   drivers/gpu/drm/xe/xe_engine.h               |    4 +
>   drivers/gpu/drm/xe/xe_engine_types.h         |    1 +
>   drivers/gpu/drm/xe/xe_exec.c                 |  117 +-
>   drivers/gpu/drm/xe/xe_execlist.c             |    3 +-
>   drivers/gpu/drm/xe/xe_gt_pagefault.c         |   84 +-
>   drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c  |   14 +-
>   drivers/gpu/drm/xe/xe_guc.c                  |    6 +
>   drivers/gpu/drm/xe/xe_guc_ct.c               |   12 +-
>   drivers/gpu/drm/xe/xe_guc_engine_types.h     |    9 +
>   drivers/gpu/drm/xe/xe_guc_pc.c               |    6 +-
>   drivers/gpu/drm/xe/xe_guc_submit.c           |  398 ++-
>   drivers/gpu/drm/xe/xe_guc_submit.h           |    1 +
>   drivers/gpu/drm/xe/xe_guc_types.h            |    4 +
>   drivers/gpu/drm/xe/xe_huc.c                  |    2 +-
>   drivers/gpu/drm/xe/xe_lrc.c                  |    8 +-
>   drivers/gpu/drm/xe/xe_migrate.c              |   31 +-
>   drivers/gpu/drm/xe/xe_pt.c                   |  198 +-
>   drivers/gpu/drm/xe/xe_sync.c                 |   26 +-
>   drivers/gpu/drm/xe/xe_sync.h                 |    2 +-
>   drivers/gpu/drm/xe/xe_trace.h                |   20 +-
>   drivers/gpu/drm/xe/xe_vm.c                   | 2567 +++++++-----------
>   drivers/gpu/drm/xe/xe_vm.h                   |  135 +-
>   drivers/gpu/drm/xe/xe_vm_madvise.c           |  125 +-
>   drivers/gpu/drm/xe/xe_vm_types.h             |  324 ++-
>   drivers/gpu/drm/xe/xe_wait_user_fence.c      |   43 +-
>   include/drm/drm_debugfs.h                    |   24 +
>   include/drm/drm_drv.h                        |    7 +
>   include/drm/drm_exec.h                       |  115 +
>   include/drm/drm_gem.h                        |   75 +
>   include/drm/drm_gpuva_mgr.h                  |  759 ++++++
>   include/drm/gpu_scheduler.h                  |   29 +-
>   include/linux/maple_tree.h                   |    7 +-
>   include/uapi/drm/xe_drm.h                    |  128 +-
>   lib/maple_tree.c                             |    1 +
>   62 files changed, 5543 insertions(+), 2320 deletions(-)
>   create mode 100644 drivers/gpu/drm/drm_exec.c
>   create mode 100644 drivers/gpu/drm/drm_gpuva_mgr.c
>   create mode 100644 include/drm/drm_exec.h
>   create mode 100644 include/drm/drm_gpuva_mgr.h
>

  parent reply	other threads:[~2023-05-03 12:40 UTC|newest]

Thread overview: 126+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02  0:16 [Intel-xe] [PATCH v2 00/31] Upstreaming prep / all of mbrosts patches Matthew Brost
2023-05-02  0:16 ` [Intel-xe] [PATCH v2 01/31] drm/sched: Add run_wq argument to drm_sched_init Matthew Brost
2023-05-03 12:03   ` Thomas Hellström
2023-05-03 15:06     ` Matthew Brost
2023-05-05 18:24       ` Rodrigo Vivi
2023-05-02  0:16 ` [Intel-xe] [PATCH v2 02/31] drm/sched: Move schedule policy to scheduler Matthew Brost
2023-05-03 12:13   ` Thomas Hellström
2023-05-03 15:11     ` Matthew Brost
2023-05-02  0:16 ` [Intel-xe] [PATCH v2 03/31] drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policy Matthew Brost
2023-05-08 12:40   ` Thomas Hellström
2023-05-22  1:16     ` Matthew Brost
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 04/31] drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY mode Matthew Brost
2023-05-08 12:41   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 05/31] drm/xe: Long running job update Matthew Brost
2023-05-05 18:36   ` Rodrigo Vivi
2023-05-08  1:14     ` Matthew Brost
2023-05-08 13:14   ` Thomas Hellström
2023-05-09 14:56     ` Matthew Brost
2023-05-09 15:21       ` Thomas Hellström
2023-05-09 22:16         ` Matthew Brost
2023-05-10  8:15           ` Thomas Hellström
2023-05-09 22:21     ` Matthew Brost
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 06/31] drm/xe: Ensure LR engines are not persistent Matthew Brost
2023-05-05 18:38   ` Rodrigo Vivi
2023-05-08  1:03     ` Matthew Brost
2023-05-09 12:21   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 07/31] drm/xe: Only try to lock external BOs in VM bind Matthew Brost
2023-05-05 18:40   ` Rodrigo Vivi
2023-05-08  1:08     ` Matthew Brost
2023-05-08  1:15       ` Christopher Snowhill
2023-05-08 21:34       ` Rodrigo Vivi
2023-05-09 12:29         ` Thomas Hellström
2023-05-10 23:25           ` Matthew Brost
2023-05-11  7:43             ` Thomas Hellström
2023-05-08  1:17   ` Christopher Snowhill
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 08/31] drm/xe: VM LRU bulk move Matthew Brost
2023-05-08 21:39   ` Rodrigo Vivi
2023-05-09 22:09     ` Matthew Brost
2023-05-10  1:37       ` Rodrigo Vivi
2023-05-09 12:47   ` Thomas Hellström
2023-05-09 22:05     ` Matthew Brost
2023-05-10  8:14       ` Thomas Hellström
2023-05-10 18:40         ` Matthew Brost
2023-05-11  7:24           ` Thomas Hellström
2023-05-11 14:11             ` Matthew Brost
2023-05-12  9:03               ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 09/31] drm/xe/guc: Read HXG fields from DW1 of G2H response Matthew Brost
2023-05-05 18:50   ` Rodrigo Vivi
2023-05-09 12:49   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 10/31] drm/xe/guc: Return the lower part of blocking H2G message Matthew Brost
2023-05-05 18:52   ` Rodrigo Vivi
2023-05-08  1:10     ` Matthew Brost
2023-05-08  9:20       ` Michal Wajdeczko
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 11/31] drm/xe/guc: Use doorbells for submission if possible Matthew Brost
2023-05-08 21:42   ` Rodrigo Vivi
2023-05-10  0:49     ` Matthew Brost
2023-05-09 13:00   ` Thomas Hellström
2023-05-10  0:51     ` Matthew Brost
2023-05-21 12:32   ` Oded Gabbay
2023-06-08 19:30     ` Matthew Brost
2023-06-12 13:01       ` Oded Gabbay
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 12/31] drm/xe/guc: Print doorbell ID in GuC engine debugfs entry Matthew Brost
2023-05-05 18:55   ` Rodrigo Vivi
2023-05-09 13:01     ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 13/31] maple_tree: split up MA_STATE() macro Matthew Brost
2023-05-09 13:21   ` Thomas Hellström
2023-05-10  0:29     ` Matthew Brost
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 14/31] maple_tree: Export mas_preallocate Matthew Brost
2023-05-09 13:33   ` Thomas Hellström
2023-05-10  0:31     ` Matthew Brost
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 15/31] drm: manager to keep track of GPUs VA mappings Matthew Brost
2023-05-09 13:49   ` Thomas Hellström
2023-05-10  0:55     ` Matthew Brost
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 16/31] drm/xe: Port Xe to GPUVA Matthew Brost
2023-05-09 13:52   ` Thomas Hellström
2023-05-11  2:41     ` Matthew Brost
2023-05-11  7:39       ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 17/31] drm/xe: NULL binding implementation Matthew Brost
2023-05-09 14:34   ` Rodrigo Vivi
2023-05-11  2:52     ` Matthew Brost
2023-05-09 15:17   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 18/31] drm/xe: Avoid doing rebinds Matthew Brost
2023-05-09 14:48   ` Rodrigo Vivi
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 19/31] drm/xe: Reduce the number list links in xe_vma Matthew Brost
2023-05-08 21:43   ` Rodrigo Vivi
2023-05-11  8:38   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 20/31] drm/xe: Optimize size of xe_vma allocation Matthew Brost
2023-05-05 19:37   ` Rodrigo Vivi
2023-05-08  1:21     ` Matthew Brost
2023-05-11  9:05   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 21/31] drm/gpuva: Add drm device to GPUVA manager Matthew Brost
2023-05-05 19:39   ` Rodrigo Vivi
2023-05-11  9:06     ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 22/31] drm/gpuva: Move dma-resv " Matthew Brost
2023-05-11  9:10   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 23/31] drm/gpuva: Add support for extobj Matthew Brost
2023-05-11  9:35   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 24/31] drm/xe: Userptr refactor Matthew Brost
2023-05-05 19:41   ` Rodrigo Vivi
2023-05-11  9:46   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 25/31] drm: execution context for GEM buffers v3 Matthew Brost
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 26/31] drm/exec: Always compile drm_exec Matthew Brost
2023-05-09 14:45   ` Rodrigo Vivi
2023-05-10  0:37     ` Matthew Brost
2023-05-10  0:38     ` Matthew Brost
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 27/31] drm/xe: Use drm_exec for locking rather than TTM exec helpers Matthew Brost
2023-05-05 19:42   ` Rodrigo Vivi
2023-05-11 10:01   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 28/31] drm/xe: Allow dma-fences as in-syncs for compute / faulting VM Matthew Brost
2023-05-05 19:43   ` Rodrigo Vivi
2023-05-08  1:19     ` Matthew Brost
2023-05-08 21:29       ` Rodrigo Vivi
2023-05-11 10:03   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 29/31] drm/xe: Allow compute VMs to output dma-fences on binds Matthew Brost
2023-05-09 14:50   ` Rodrigo Vivi
2023-05-11 10:04   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 30/31] drm/xe: remove async worker, sync binds, new error handling Matthew Brost
2023-05-17 16:53   ` Thomas Hellström
2023-05-02  0:17 ` [Intel-xe] [PATCH v2 31/31] drm/xe/uapi: Add some VM bind kernel doc Matthew Brost
2023-05-05 19:45   ` Rodrigo Vivi
2023-05-11 10:14     ` Thomas Hellström
2023-05-02  0:20 ` [Intel-xe] ✗ CI.Patch_applied: failure for Upstreaming prep / all of mbrosts patches (rev2) Patchwork
2023-05-02  1:54   ` Christopher Snowhill (kode54)
2023-05-02  1:59   ` Christopher Snowhill (kode54)
2023-05-03 12:37 ` Thomas Hellström [this message]
2023-05-03 15:27   ` [Intel-xe] [PATCH v2 00/31] Upstreaming prep / all of mbrosts patches Matthew Brost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21f0b213-c307-2fbd-1312-74b26287d352@linux.intel.com \
    --to=thomas.hellstrom@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=matthew.brost@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox