Allow zesInit when platform is LNL, BMG
and legacy path of sysman is initialized
Related-To: NEO-13295
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
The fix is provided to detect validity of sysman device handle in sysman APIs.
It can detect core device handle when passed instead of sysman device handle
in zesInit path and return error code.
Related-To: NEO-12690
Signed-off-by: Shreyas Kunder <shreyas.kunder@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>
- Use inline constexpr for declaring global variables
- Avoid using Macros
- Use string_view type instead of std::string
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Additionally explicitly remove unused functions of Directory and
StagingBuffer classes to comply with rule of five.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
- The PMT tile aggregator used by the frequency and power modules has
been replaced with the wrapper functions which calls the functions from
the Pmt Util class.
- The earlier Pmt Tile aggregator implementation has been removed from
the PMT specific files.
Related-To: NEO-12147
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
The PMT tile aggregator used by the product helper calls from the
temperature module has been replaced with the wrapper functions which
calls the functions from the Pmt Util class.
Related-To: NEO-11995
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
avoid redefinition issue in case of integrating multiple xe drm versions
define mock drm xe in inl file to provide xe definitions for mock members
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
The PMT tile aggregator used in the memory module has been replaced with
the wrapper functions which calls the functions from Pmt Util class.
Related-To: NEO-11992
Signed-off-by: Pratik Bari <pratik.bari@intel.com>
- The SysmanProductHelper Pointer is used in the SysmanKmdInterface
instance creation.
- The filename for the critical power limit is fetched via the
SysmanProductHelper instance.
- The native unit for the critical limit is fetched via the
SysmanProductHelper instance.
Related-To: NEO-11813, NEO-11811
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
- The list of Engine maps has been changed according to the fields
populated in the fdinfo.
- The driverVersion is fetched correctly for the i915 internal, upstream
as well as the Xe kernel.
Related-To: NEO-8551
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>