Use structs defined in ioctl_helper.h instead of
i915 dependent ones to avoid conflicts between
different kernels
Related-To: NEO-6149
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
Fixed by avoiding library function access if library is unavailable.
Related-To: LOCI-2719
Signed-off-by: Ranjan, Joshua Santhosh <joshua.santosh.ranjan@intel.com>
Use pread sys call instead of mmap and munmap
to get telemetry info.
Related-To: LOCI-2634
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
Use set instead of vector to get the supported error types,
using vector may cause duplication of error types when quering
supported error types from different interfaces which in turn
may cause duplication of handles.
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
the diagnostics API expects the device to be correctly reset based on
the type of diagnostics result. Cold reset is expected when there is
some repair scheduled on the Device.
Relates-to:LOCI-2508
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
Before performing gpu device reset, first all level zero resources
and gpu device specific resources have to be cleaned up. Also as
after device reset, state of gpu device would be lost.
Hence after performing gpu device reset, level zero device have
to be reinitialized by querying gpu device again.
This change is aimed at reinitializing the level zero resources
after gpu device reset, so that user could continue using level zero
devices after device reset.
Related-To: LOCI-2627
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
- There are functions exposed through Firmware Util interface to get
the firmware version and perform firmware flash based on firmware type.
Instead this functionality is being handled with generic functions. Hence
this commit removes the redundant code.
Related-To: LOCI-2568
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
igsc context is intialized by the device init call to igsc library.
When resources are freed, the context needs to be closed explicitly
by sysman to force igsc library to free and release the context
within the igsc library.
Related-To:LOCI-2695
Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
- This commit adds the support of new firmware flashing
- And also added the support in ULTs for the new firmware
flash APIs.
Related-To: LOCI-2381
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
- This commit adds the support of new firmware flashing
- And also added the support in ULTs for the new firmware
flash APIs
Related-To: LOCI-2381
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
firmware Utils was always enumerating the same firmware
device handle for all sysman devices.
Related-To:LOCI-2609
Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
- Avoid adding the duplicate FWtypes in case of multi GPU devices
Related-To: LOCI-2623
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
This change introduce
- new method deviceReinit, which could be used, to reinitialize
existing level zero device.
Related-To: LOCI-2612
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
- This commit reads the IGSC version from the IGSC config
rather parsing the igsc library path.
Related-To: LOCI-2527
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>