Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Expose wmtp status as engine capability
@ 2024-08-09 10:47 Nirmoy Das
  2024-08-09 10:47 ` [PATCH 1/2] drm/xe: Add has_wmtp GT info Nirmoy Das
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Nirmoy Das @ 2024-08-09 10:47 UTC (permalink / raw)
  To: intel-xe
  Cc: Nirmoy Das, Francois Dugast, Joonas Lahtinen, Lionel Landwerlin,
	Lucas De Marchi, Mateusz Jablonski, Matt Roper

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-08-14 10:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 10:47 [PATCH 0/2] Expose wmtp status as engine capability Nirmoy Das
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox