As zesVFManagementGetVFCapabilitiesExp has been deprecated, added the
implementation for zesVFManagementGetVFCapabilitiesExp2
Related-To: NEO-13525
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
gtId is not same as tileId. instead use gtIdToTileId
to retrieve tileId based on gtId.
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
- When the requested engine count is less than the actual engine stats
available, then only requested no. of engine stats are retrieved.
Related-To: NEO-13525
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
eudebug interface is now hidden under EuDebugInterface class
shared code uses generic object and param values
layout of structs is guarded by static asserts
eudebug support is guarded by cmake flags:
- NEO_ENABLE_XE_EU_DEBUG_SUPPORT - enables eudebug in general
- NEO_USE_XE_EU_DEBUG_EXP_UPSTREAM - registers exp upstream uAPI support
- NEO_ENABLE_XE_PRELIM_DETECTION - registers prelim uAPI support
This way we can support two different xe-eudebug interfaces within
single binary.
In unit tests there is mock eudebug interface enabled (even if no
eudebug support is enabled by cmake flag).
Related-To: NEO-13472
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
Explicitly delete unused functions of CheckIfExitCalled
and VfManagementHandleContext. Comply with the rule of five.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Added the new UAPI macro in the Engine Module to fetch the config of
the total ticks.
Related-To: NEO-13281
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
Xe debugger will receive one CLIENT_OPEN event per driver open. In
some use cases their will be multiple opens. We are only interested in
the open from the UMD under debug. Setting clientHandle when metadata is
received will filter out unneeded CLIENT_OPEN events
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
Related-To: NEO-12769
- Use inline constexpr for declaring global variables
- Avoid using Macros
- Use string_view type instead of std::string
Signed-off-by: Harini Kumaran <harini.kumaran@intel.com>
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function
Related-To: GSD-10147
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
on Windows use getModuleHandleA with proper module name
don't load ze_loader.dll from file system
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
rename i915 flag to uppercase, for consistency
disable i915 / xe prelim by default in package scripts
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This fixes an uncommon race condition in processing vmBinds in debugger
where occasionally a VMBind may go unacked.
Related-to: NEO-12866
Signed-off-by: Brandon Yates <brandon.yates@intel.com>