[PATCH 0/2] Expose wmtp status as engine capability
Nirmoy Das
nirmoy.das at intel.com
Fri Aug 9 10:47:34 UTC 2024
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 at intel.com
Testcase: igt at xe_query@query-gt-list at query-engines-capabilities
UMD use-case: https://github.com/intel/compute-runtime/pull/746
Cc: Francois Dugast <francois.dugast at intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Mateusz Jablonski <mateusz.jablonski at intel.com>
Cc: Matt Roper <matthew.d.roper at 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
More information about the Intel-xe
mailing list