Commit Graph

15 Commits

Author SHA1 Message Date
Pawel Cieslak fb821f21f5 Cmake format script
Related-To: NEO-1157

Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
mraghuwa 4b8d4285d7 add getDeviceHandle() at OS specific level
Change-Id: I95fc24043f8f603d6270323b0f23a78f9d8ad2f1
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-08-18 17:11:22 +02:00
Daniel Enriquez 2fa30d7d6c Update memory component to latest spec.
Change-Id: I766a3b87d240d26118cf72ea0717bc504784e764
2020-08-12 11:47:04 +02:00
Jaime Arteaga 902fc2f6c4 level-zero v1.0 (2/N)
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Signed-off-by: macabral <matias.a.cabral@intel.com>
Signed-off-by: davidoli <david.olien@intel.com>
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-08-03 13:11:13 +02:00
Bill Jordan c64eab402e Update all L0 Sysman getHandle routines to match spec.
Updated all the getHandle routines to use the following
algorithm:
    n = min(*pCount, available)
    if (*pCount == 0 || *pCount > available) {
        *pCount = available;
    }
    if (pArrayn != nullptr) {
        for(i = 0; i < n; i++) {
            pArray[i] = handle[i];
        }
    }

Change-Id: I3b2a2170c2b52d1651bddae4f85f361fd86167a0
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-30 07:27:21 +02:00
SaiKishore Konda be6ea36769 Implementing zetSysmanMemoryGetState
- zetSysmanMemoryGetState api Implementation
- Corresponding ULT for validation

Change-Id: I2dcd53af4dd0f7cd3e19f594d70fefe21d2206e7
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-07-22 14:10:14 +02:00
Jitendra Sharma 92b15507b0 Initialize variables and validate pointers before actually using them
Change-Id: Iae6fbeac124e1a02da419f5071e1ebc292b390cf
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-14 11:17:58 +02:00
Bill Jordan e8bd440773 Don't allow copy or moving Sysman related objects.
Change-Id: I70dd97bffa1c4d08f05eb796c6d6a2eb66f06f4b
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-10 21:05:15 +02:00
Jitendra Sharma 251994149a Expose DRM interface to sysman APIs
Change-Id: Iab4d42cf90c9804c2b036045f3990aedd31efa91
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-06-24 16:40:49 +02:00
Mraghuwa 46b069b9d0 Redesign ULT by mocking sysfs and implementing for memory
Change-Id: I24206628212284f180fe4e5a239ab2ed58ffa8ea
2020-06-04 23:07:42 +02:00
SaiKishore Konda ce6828d374 Adding default constructor for Memory, Engine
- adding default constructor
- updating the member variables of engine, memory imp classes

Change-Id: I635858593aa53f4d56044df377286e72898ecbc4
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-22 15:02:50 +02:00
SaiKishore Konda e0633548a9 Add defaults to memoryHandleContext structure
Change-Id: If82510dff1ab77d4b4c3c77079035ca2ca15ea10
2020-04-11 03:41:07 -04:00
SaiKishore Konda ab67b94340 Updating Memory API implementations
- updating zet sysman for memory
 - updating memoryhandlecontext init and memory get by checking
isLocalMemorySupported flag

Change-Id: I084068eb0865bb037b7d80246c4a9c74d3ff2cc1
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-10 21:59:27 +02:00
SaiKishore Konda 9dc7e2cfaf Initalizing the memoryProperties structure
Change-Id: I2ce5a0e1bfc54c9d21746a5bb6ebe6260370fc1c
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-03 05:51:29 -04:00
SaiKishore Konda a0c13490e5 Memory API's boilerplate for Level Zero Sysman
- Implementing MemoryGet, MemoryGetProperites & MemoryGetState
boilerplate  for Level Zero Sysman

Change-Id: I46661aac9cd6974af986aede7484fd59688046a4
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-03 02:35:14 +02:00