Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Brost <matthew.brost@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: nirmoy.das@intel.com, rodrigo.vivi@intel.com
Subject: [PATCH v2 0/1] drm/xe: Build PM into GuC CT layer
Date: Thu, 18 Jul 2024 08:52:44 -0700	[thread overview]
Message-ID: <20240718155245.1481788-1-matthew.brost@intel.com> (raw)

Take PM ref when a G2H is outstanding, drop when it is received.

To safely ensure we have PM ref when in the GuC CT layer, a PM ref needs
to be held when scheduler messages are pending too.

v2:
 - Add outer PM protections to xe_file_close (CI)

Matthew Brost (1):
  drm/xe: Build PM into GuC CT layer

 drivers/gpu/drm/xe/xe_device.c     | 4 ++++
 drivers/gpu/drm/xe/xe_guc_ct.c     | 5 +++++
 drivers/gpu/drm/xe/xe_guc_submit.c | 4 ++++
 3 files changed, 13 insertions(+)

-- 
2.34.1


             reply	other threads:[~2024-07-18 15:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-18 15:52 Matthew Brost [this message]
2024-07-18 15:52 ` [PATCH v2 1/1] drm/xe: Build PM into GuC CT layer Matthew Brost
2024-07-18 17:12   ` Matthew Auld
2024-07-18 17:19     ` Matthew Brost
2024-07-18 15:58 ` ✓ CI.Patch_applied: success for " Patchwork
2024-07-18 15:58 ` ✓ CI.checkpatch: " Patchwork
2024-07-18 15:59 ` ✓ CI.KUnit: " Patchwork
2024-07-18 16:11 ` ✓ CI.Build: " Patchwork
2024-07-18 16:13 ` ✓ CI.Hooks: " Patchwork
2024-07-18 16:15 ` ✓ CI.checksparse: " Patchwork
2024-07-18 16:35 ` ✓ CI.BAT: " Patchwork
2024-07-18 22:43 ` ✗ 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=20240718155245.1481788-1-matthew.brost@intel.com \
    --to=matthew.brost@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=nirmoy.das@intel.com \
    --cc=rodrigo.vivi@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