Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: fei.yang@intel.com
To: intel-xe@lists.freedesktop.org
Cc: matthew.d.roper@intel.com, lucas.demarchi@intel.com,
	Fei Yang <fei.yang@intel.com>
Subject: [PATCH 0/1] drm/xe: enable lite restore
Date: Wed, 16 Oct 2024 15:37:29 -0700	[thread overview]
Message-ID: <20241016223730.921963-1-fei.yang@intel.com> (raw)

From: Fei Yang <fei.yang@intel.com>

The lite restore is a performance improvement feature which avoids
unnecessary context switch (flush, save and rstore) if the incoming
context has a ContextID matching that of the outgoing context. The
scheduling is done by the Guc firmware, so on the driver side it's
just a matter of setting corresponding GuC_CTL_FEATURE flag.
This is supposed to be enabled by default, thus the flag is set
unconditionally.

Signed-off-by: Fei Yang <fei.yang@intel.com>

Fei Yang (1):
  drm/xe: enable lite restore

 drivers/gpu/drm/xe/xe_guc.c      | 2 +-
 drivers/gpu/drm/xe/xe_guc_fwif.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.25.1


             reply	other threads:[~2024-10-16 22:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-16 22:37 fei.yang [this message]
2024-10-16 22:37 ` [PATCH 1/1] drm/xe: enable lite restore fei.yang
2024-10-16 22:38 ` ✓ CI.Patch_applied: success for " Patchwork
2024-10-16 22:38 ` ✓ CI.checkpatch: " Patchwork
2024-10-16 22:39 ` ✓ CI.KUnit: " Patchwork
2024-10-16 22:51 ` ✓ CI.Build: " Patchwork
2024-10-16 22:53 ` ✓ CI.Hooks: " Patchwork
2024-10-16 22:55 ` ✓ CI.checksparse: " Patchwork
2024-10-16 23:21 ` ✓ CI.BAT: " Patchwork
2024-10-17 12:21 ` ✗ CI.FULL: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-10-17 16:27 [PATCH 0/1] " fei.yang
2024-10-24 17:48 ` Ngai-Mint Kwan
2024-10-16 18:57 fei.yang
2024-10-10 17:31 fei.yang
2024-10-08 23:30 fei.yang

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=20241016223730.921963-1-fei.yang@intel.com \
    --to=fei.yang@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=matthew.d.roper@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