Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Laguna <lukasz.laguna@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: michal.winiarski@intel.com, michal.wajdeczko@intel.com,
	lukasz.laguna@intel.com
Subject: [PATCH v1 0/3] PF: Add functions to save and restore VF LMEM and CCS data
Date: Wed, 16 Oct 2024 11:57:42 +0200	[thread overview]
Message-ID: <20241016095745.7477-1-lukasz.laguna@intel.com> (raw)

State of VF LMEM and corresponding CCS metadata needs to be saved and
restored during migration of VM with attached dGPU VF. Add helpers that
allow it. We will start using them in upcoming patches.

Lukasz Laguna (3):
  drm/xe/migrate: Add function for raw copy of VRAM and CCS
  drm/xe/bo: Add trylock helper for buffer objects
  drm/xe/pf: Add functions to save and restore VF LMEM and CCS data

 drivers/gpu/drm/xe/xe_bo.c                    |  16 +-
 drivers/gpu/drm/xe/xe_bo.h                    |   2 +-
 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 100 +++++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.h |   7 +
 drivers/gpu/drm/xe/xe_migrate.c               | 208 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_migrate.h               |   5 +
 6 files changed, 336 insertions(+), 2 deletions(-)

-- 
2.40.0


             reply	other threads:[~2024-10-16  9:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-16  9:57 Lukasz Laguna [this message]
2024-10-16  9:57 ` [PATCH v1 1/3] drm/xe/migrate: Add function for raw copy of VRAM and CCS Lukasz Laguna
2024-10-16 12:54   ` Nirmoy Das
2024-10-30 10:38     ` Laguna, Lukasz
2024-10-16  9:57 ` [PATCH v1 2/3] drm/xe/bo: Add trylock helper for buffer objects Lukasz Laguna
2024-10-16  9:57 ` [PATCH v1 3/3] drm/xe/pf: Add functions to save and restore VF LMEM and CCS data Lukasz Laguna
2024-10-17 11:12   ` Michal Wajdeczko
2024-10-30 10:36     ` Laguna, Lukasz
2024-10-16 12:43 ` ✓ CI.Patch_applied: success for PF: " Patchwork
2024-10-16 12:43 ` ✗ CI.checkpatch: warning " Patchwork
2024-10-16 12:44 ` ✓ CI.KUnit: success " Patchwork
2024-10-16 12:55 ` ✓ CI.Build: " Patchwork
2024-10-16 12:58 ` ✗ CI.Hooks: failure " Patchwork
2024-10-16 12:59 ` ✓ CI.checksparse: success " Patchwork
2024-10-16 13:16 ` ✓ CI.BAT: " Patchwork
2024-10-17  4:42 ` ✗ CI.FULL: failure " Patchwork

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=20241016095745.7477-1-lukasz.laguna@intel.com \
    --to=lukasz.laguna@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=michal.wajdeczko@intel.com \
    --cc=michal.winiarski@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