From: Nirmoy Das <nirmoy.das@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Nirmoy Das <nirmoy.das@intel.com>,
Francois Dugast <francois.dugast@intel.com>,
Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
Lionel Landwerlin <lionel.g.landwerlin@intel.com>,
Lucas De Marchi <lucas.demarchi@intel.com>,
Mateusz Jablonski <mateusz.jablonski@intel.com>,
Matt Roper <matthew.d.roper@intel.com>
Subject: [PATCH 0/2] Expose wmtp status as engine capability
Date: Fri, 9 Aug 2024 12:47:34 +0200 [thread overview]
Message-ID: <20240809104736.10423-1-nirmoy.das@intel.com> (raw)
Xe2 supports mid thread preemption which is currently by default
enabled. It is possible that the some HWs/platforms/engines disabled
that feature. To expose that status, this series adds an engine capability
which UMD can probe to determine if WMTP is supported for an engine.
Test-with: 20240809103922.12964-1-nirmoy.das@intel.com
Testcase: igt@xe_query@query-gt-list@query-engines-capabilities
UMD use-case: https://github.com/intel/compute-runtime/pull/746
Cc: Francois Dugast <francois.dugast@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Mateusz Jablonski <mateusz.jablonski@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Nirmoy Das (2):
drm/xe: Add has_wmtp GT info
drm/xe/uapi: Expose wmtp as engine capability
drivers/gpu/drm/xe/xe_gt_types.h | 2 ++
drivers/gpu/drm/xe/xe_hw_engine.c | 15 +++++++++++----
drivers/gpu/drm/xe/xe_query.c | 4 ++++
include/uapi/drm/xe_drm.h | 12 ++++++++++--
4 files changed, 27 insertions(+), 6 deletions(-)
--
2.42.0
next reply other threads:[~2024-08-09 11:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-09 10:47 Nirmoy Das [this message]
2024-08-09 10:47 ` [PATCH 1/2] drm/xe: Add has_wmtp GT info Nirmoy Das
2024-08-09 11:55 ` Nirmoy Das
2024-08-09 10:47 ` [PATCH 2/2] drm/xe/uapi: Expose wmtp as engine capability Nirmoy Das
2024-08-14 10:37 ` Jablonski, Mateusz
2024-08-09 11:08 ` ✓ CI.Patch_applied: success for Expose wmtp status " Patchwork
2024-08-09 11:09 ` ✓ CI.checkpatch: " Patchwork
2024-08-09 11:10 ` ✓ CI.KUnit: " Patchwork
2024-08-09 11:22 ` ✓ CI.Build: " Patchwork
2024-08-09 11:24 ` ✗ CI.Hooks: failure " Patchwork
2024-08-09 11:25 ` ✓ CI.checksparse: success " Patchwork
2024-08-09 11:52 ` ✗ CI.BAT: failure " Patchwork
2024-08-09 13:31 ` ✗ CI.FULL: " 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=20240809104736.10423-1-nirmoy.das@intel.com \
--to=nirmoy.das@intel.com \
--cc=francois.dugast@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=joonas.lahtinen@linux.intel.com \
--cc=lionel.g.landwerlin@intel.com \
--cc=lucas.demarchi@intel.com \
--cc=mateusz.jablonski@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