With this change, init for sysman PCI, Global operations and Events
API would not be done during zeInit.
init and thereby PCI, Global operations and Events API handle creation
would be done implicitly only when user explicitly calls any APIs.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
Modify PCI interface to get max speed and width from
pci config space.
Related-To: LOCI-3137
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
This change does the following:
- As per latest spec, update zesDevicePciGetBars API to report
correct number of bars.
- Cleanup to remove environment variable check while creating
temperature handles.
Change-Id: I4f86210093e3d142183a01bef89417ef9d9fde9b
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
In this Change:
- Initialize local variables used in pci source.
- Move setting of temperature handle's type to constructor of
TemperatureImp class as temperature handle's type is used in
init() of TemperatureImp class.
- Allow only ENOENT errno at the end of FsAccess::listDirectory function.
Because in this function all directory entries will be read in a
loop. And loop will exit only after readdir() finished reading
all entries in directory and thus readdir() will exit, when it fails
reading any further entry. Thus system will return ENOENT for readdir.
Change-Id: Ibd3ac3f841b114fd87edea1410750b33f3a14e5b
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>