Commit Graph

5215 Commits

Author SHA1 Message Date
Bartosz Dunajski 2e87c872b5 Select correct heap for programGeneralStateBaseAddress
Change-Id: I21744fbc67551d358e03b3ee44f649ba8d62eb45
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-02 11:03:03 +02:00
T.J. Vivek Vilvaraj 96a7b1e066 add rules to install RAS udev rules
- create rules to install Udev rules in configurable location
- create files relating to RAS counters

Change-Id: Iebd57ba2dd09494ea4586b305cd56c86a71fb8b0
2020-07-02 10:25:21 +02:00
Lukasz Jobczyk e027a2653d Move makeResidentBufferObjects to DrmAllocation
Related-To: NEO-4732

Change-Id: Ib7b7a46b0a9fd1d5cc1b89f64f66bc78cab5c563
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-07-02 09:50:26 +02:00
Mateusz Jablonski 93c1e1b976 Add MultiGraphicsAllocation to USM
Related-To: NEO-4672
Change-Id: I53ea4bea73ae6d52840146f63bc561bb90f9fe62
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-02 09:39:21 +02:00
Mateusz Jablonski 5bc511b77d Remove MemObj::rootDeviceEnvironment
Pass Device to Buffer::setArgStateful

Related-To: NEO-4672
Change-Id: I0b7ed3ee578139f250c8470532dc0ae2eb2991e1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-07-01 18:47:32 +02:00
Adam Cetnerowski 6ba5fe2e86 ULT renaming: WDDM Residency tests
Related-To: NEO-2236

Change-Id: I9fc49dae3e8a7f18ed1cde455c66ec0774165de1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-01 18:32:30 +02:00
ocldev 155324f795 dependencies update
Change-Id: Ic3a66df5e4a4b91aadc6dd980d457f116e549ba8
2020-07-01 17:53:32 +02:00
Maciej Dziuban 79821f5d76 Do not create shareable 64k paged allocations
Change-Id: I25620848533dbe96172e8582b64a53655c3e7d0e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Resolves: NEO-4720
2020-07-01 17:52:18 +02:00
Bartosz Dunajski 6dd07bd3bc Use correct Heap32 index for local memory allocations
Change-Id: I068f712ab2b05ee3d5a9716b21de685a7fee3a02
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-07-01 17:31:43 +02:00
Filip Hazubski 4076d3e294 Update BlitCommandsHelper
Add getMaxBlitWidthOverride and getMaxBlitHeightOverride functions.

Change-Id: Idf23725f5d3336118979c2b5731b023d934374d6
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-01 16:27:57 +02:00
Mateusz Hoppe da3c9dba0e Check SourceLevelDebugger is non-nullptr before use
Change-Id: I0c270158e743ee8d301903d4ad3b6b9815a758b8
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-01 15:25:22 +02:00
Filip Hazubski 29821b5a25 Update SettingsFileReader
Improve parsing to be less strict.

Change-Id: I123a98bb8341b007c8fe6e7556ebaa113d1f076e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-01 15:07:35 +02:00
Adam Cetnerowski 949e4cba76 ULT renaming: WDDM tests
Related-To: NEO-2236

Change-Id: I839e6a5a9f03d4011240cc423266095e1d9263a4
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-07-01 14:44:16 +02:00
Lukasz Towarek d1faf086af Add threadsPerEUConfigs field
Change-Id: I90152b78512519bbe709be6beebdb28126de131e
2020-07-01 14:15:22 +02:00
Mateusz Hoppe 5eafc349c9 Introduce SBA tracking buffer allocation
Related-To: NEO-4637

- allocate sbaAllocation in L0 debugger

Change-Id: Ia1be1ad637bbdd6e7f12ca6fdfb0c486ba23a040
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-01 09:46:05 +02:00
Pawel Wilma 2e6fc92372 Initialize hwInfo in ocloc before passing it to IGC
Related-To: NEO-3735

Change-Id: Ice69f6b21b960bda8fe4aa9667bc03cc3dbbc086
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-07-01 09:34:01 +02:00
Jaime Arteaga be5364ac2f Use Level Zero core tests's main file for tools
No need seen for having two.

Change-Id: I138390c4ed6f467aee0326746a8fc5479dbba9f8
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-01 01:39:43 +02:00
Jaime Arteaga 8113fafe53 Disable cross-device indirect access
Change-Id: I57655abfc02785dfd68384a1546ee4cfdbea938a
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-06-30 21:42:47 +02:00
Andrzej Swierczynski 351af1d3de Correct tests: pass device bitfield to allocation properties [3/n]
Related-To: NEO-4722

Change-Id: Id1459e6a2ebd71e410193cfbdfa2cfa44edf3b1d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-30 21:13:25 +02:00
Andrzej Swierczynski dd8c712563 Correct tests: pass device bitfield to allocation properties [2/n]
Related-To: NEO-4722

Change-Id: I435eed19491babdd95ff9d0e860bf3008a544e9e
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-30 21:07:02 +02:00
Maciej Plewka a661f4b878 Reuse hostPtr allocations
Change-Id: Ie7e24e6630b26809fac1215b66cd90b3cafda53f
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-06-30 20:44:16 +02:00
Pawel Cieslak e96981b34c Update infra
Change-Id: I942ba561b15198044f54fee5a93eecbcadff0c7c
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-06-30 20:43:40 +02:00
Spruit, Neil R 00494116f4 Fix capabilities table for DG1 causing L0 init failure
Change-Id: Ia3742bf8cef6693607e4a457c5528da5bce618c1
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-06-30 08:56:53 -07:00
Adam Cetnerowski 3109581c41 ULT renaming: OS Library Win tests
Related-To: NEO-2236

Change-Id: Ide7199ca91b1831debf30d25f63b009ba1740565
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-30 16:52:47 +02:00
Adam Cetnerowski 8df5287aaa ULT renaming: GDI Interface tests
Related-To: NEO-2236

Change-Id: I43e968ba147849c745d76d7ec74861e5a1c5b122
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-30 16:14:00 +02:00
Artur Harasimiuk 67665d70a2 refactor hw_info_config_<X> processing in cmake
Change-Id: I3508822fc7d0fde29f1a70f7ed1991b7c1c47726
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-30 15:49:46 +02:00
Zdunowski, Piotr c01e4b7246 Remove return from void method.
Change-Id: Ib9a2fe7942984aa72a241eeaf10cbbe0b83ca903
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com>
2020-06-30 15:37:59 +02:00
Mateusz Jablonski c96fd30e4c Pass root device index to Buffer::setArgStateful
Related-To: NEO-4672
Change-Id: Ic846eac488809bd7d9534bb7378d9398acd36451
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-30 15:26:55 +02:00
Krzysztof Gibala 28aa29bcbd Add definition of workaroundRequired function for DG1
Change-Id: If934bfddd678fb482cb2ff08635fe1ae214dee0a
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-06-30 15:19:01 +02:00
Adam Cetnerowski 911e33af5e ULT renaming: Device Command Stream tests
Related-To: NEO-2236

Change-Id: I393861d5ac0d8f8affa3121d076f0a4527f474e2
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-30 14:46:22 +02:00
Slawomir Milczarek ac452a267b Remove unsupported DRM I915_EXEC_COMPUTE flag
Related-To: NEO-4744

Change-Id: I1e9da6ec58f8b0144a7371e702a0c3a8425864d7
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-06-30 11:58:35 +02:00
Mateusz Jablonski f97993ec31 Pass root device index to Image::appendSurfaceStateParams
Related-To: NEO-4672
Change-Id: I65b9fcf6c668b903dc4fe134e51202e7c7f093e3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-30 10:53:45 +02:00
Adam Cetnerowski 80b983d6d2 ULT renaming: Device OS tests
Related-To: NEO-2236

Change-Id: I4cf9ca855b8c06f2cece5f91b8cff5b10d39afaf
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-30 10:18:32 +02:00
Spruit, Neil R 489521da97 Fixed Image size used in Copy From/to memory for null regions
- When peforming Image Copy from/to memory, the size of the image and thus the
memory should be expected to be at maximum the size of the
image width, height, & depth in the user's descriptor.
- When a user passes in a nullptr for the destination or source region the
width, height, & depth of the image region should match the image descriptor
that was passed in by the user at image create.
- The Physical image allocated may be larger than the user requested.
This new size cannot be used in the Copy to/From memory otherwise device data
corruption will occur.

Change-Id: I950f6fd1d5ddc9911dd235f84e1cf00618e4e2a3
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2020-06-29 22:48:29 +02:00
Zbigniew Zdanowicz c4cb8c1c81 Add thread programming to Encode class
Related-To: NEO-4585

Change-Id: I45e57038af23a60f52b57eb1888f8220b77f5e56
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-06-29 20:24:26 +02:00
Bartosz Dunajski 33faf4a1e7 Fix readOnlyMap property for enqueue SVM calls
Change-Id: Iafada034541628babbddd6cda4873ff6b4cf93f2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-29 09:38:56 +02:00
Jaime Arteaga 5b61ad0966 Add stub for dynamic link function and for extended kernel properties
Change-Id: Ifaaf1226114233618e7959def086989cf93bd0bd
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-06-29 02:11:29 +02:00
Mateusz Jablonski 4cb6c17d21 Add missing header
Change-Id: I8c48c3262591273d208efb235be53840684f600a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-26 17:15:04 +02:00
Bartosz Dunajski 107f07eb08 Optimize BCS flushing scheme [3/n]
Change-Id: I806d642c869bccfe40a1eb0c58b6a2f53e071cd8
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-26 16:45:39 +02:00
Artur Harasimiuk 0d5d793a01 cmake: rename variable to better reflect its purpose
Change-Id: Ic65ac52d94ca48d4d3c113ab25fbb35b9fc5558e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-26 13:28:39 +02:00
Bartosz Dunajski 86dc5bacc7 Optimize BCS flushing scheme [2/n]
Change-Id: I6f1e0115b9c45f89afb86f8fd2304604243541df
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-06-26 11:37:24 +02:00
Artur Harasimiuk d4b12c97d4 cmake: allow per-branch file include
Change-Id: Ic313754a6fb1690bff2bd277f06eaedbb9460f11
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-26 11:25:38 +02:00
Andrzej Swierczynski a5e4edb327 Choose valid bank from memory bank selector
Related-To: NEO-4645

Change-Id: I8d1f63ba24ead2e77ba6381e4770068bf2eb1725
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-26 10:51:43 +02:00
Krzysztof Gibala ef4cc0e685 Add helper for stepping isWorkaroundRequired
Related-To: NEO-4751
Change-Id: I430a354314e0f3d7a042505c377f3b7d9e9d588b
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-06-26 09:40:56 +02:00
Raiyan Latif b73c757a82 Add indirect allocations to residency at kernel submission time
Change-Id: Idc6ce7ac72de84107990a5c9786c868d4bfa4322
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-06-26 01:54:09 +02:00
Slawomir Milczarek cc49e7950d Add cmake rules for DG1 support for OpenCL and Level Zero
Change-Id: I7e94c8578fd8f8c266242d74d53e8df73902bc65
2020-06-25 23:28:42 +02:00
Artur Harasimiuk 95d1dbb171 infrastructure update
Change-Id: I30b8418a5506731a4a22bec3e4cd8daf079511cd
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-06-25 21:19:45 +02:00
Mateusz Jablonski c6239968a5 Fix typos:
preffered -> preferred
deffered -> deferred

Change-Id: I1b87861590c273d7fcda5bf0c5a772bf36e1bc74
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-25 19:17:41 +02:00
Jitendra Sharma c43759cc48 Cleanup and fixes in sysman source
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>
2020-06-25 18:32:33 +02:00
Slawomir Milczarek 7e56a8303a Add DG1 support to OpenCL and Level Zero (2/n)
Source location of Linux kernel DRM/i915 interface headers:
https://repositories.intel.com/graphics/kernel-api/index.html

Related-To: NEO-4744

Change-Id: I08a9ab651d8594e9a04d6a83dc48682d4fa53702
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-06-25 18:23:40 +02:00