Commit Graph

670 Commits

Author SHA1 Message Date
972c080083 enable & switch to clang 6.0
Change-Id: I61910614ddaa37db18a3d995fa94efb03238279a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
18.21.10858
2018-05-25 10:08:26 +02:00
ab507d73de ci: add builds on Arch with gcc-8
- GEN8 and GEN9 support is built and tested separately
- don't use dpkg in Arch builds
- optimize build times

Change-Id: I0be818d2afa9a86281a4e4030e8ecd10cd861efe
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-05-24 18:24:54 +02:00
4c4e682bc7 Set correct offset for images created from buffer
- images from subbuffer with non-zero offset relative to
parent buffer didn't have correct Surface Address offset

Change-Id: I6ae2b87f8c9d19e40ec14a29b5eadc7401db18ad
2018-05-24 18:12:55 +02:00
63edbcfd63 Conditionally add hw_cmds_generated_patched.h file to list of header files
Change-Id: I0c38c9d40dd3745a223a2cdc8198c05d2eeef757
2018-05-24 15:05:38 +02:00
01c1df3164 Add missing case in getMipLevelOriginIdx
Change-Id: I81c52f84cab3e9529fa293d4ded34fafa9b68b64
2018-05-24 02:43:58 -07:00
71b844f522 Wddm interface [7/n]: Add 2.3 interface with HW queue support
Change-Id: Ia0e829b8616b7060e39170aea0f1d2f123d73399
2018-05-24 10:26:58 +02:00
39d55e5257 Builtins increase context refcount.
Change-Id: I146852092e1cb374b816875ae9a90ac03a8f205e
2018-05-23 17:56:20 +02:00
09e4dab4f6 Create os specific thread implementation
Change-Id: I267d6cb021a75713c28a7bbf29384da13d2a7217
2018-05-23 17:27:31 +02:00
c104db1d5e Source Level Debugger - disable support on BDW
- suppress Gmock warning in DeviceWithSourceLevelDebugger test

Change-Id: Iab9190d3fd7a17741baf87ebe1fbc7244631653b
2018-05-23 17:23:40 +02:00
467738f791 ci: switch to 2018ww19-010806 release
Change-Id: Ifc035f9ef6fdaa45d94741f921f9ba188e339a7a
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-05-23 08:23:09 +02:00
6fe9840fde Enabling gcc8
Change-Id: Ib43600b323be6e8d4a118fecc656a3924e05959c
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-22 23:52:44 +02:00
a9a1384ef5 Internal update
Change-Id: I7a0abdda7c5bc98d1dd93dcbfe33f842b00f610d
2018-05-22 14:56:20 +02:00
996cb52370 Refactor ULTs and AUB tests around HW commands
Change-Id: Ie00822b9e0864af6ede3e967039efa911d1dbb6f
2018-05-22 13:59:30 +02:00
80f11d1ac2 ci: add scripts to build Neo on external CI systems
IGC binaries are used from specific Neo release.
IGC sources are synchronized with binary release.

Change-Id: If75aebc68aa0ced1b5c7493747eedc3e16842252
2018-05-22 12:46:31 +02:00
561db94eac Manifest update
Change-Id: I77b1090ab3a1a2282bf9314dc8abe5c0f8f4172a
2018-05-22 11:19:23 +02:00
8a488ad52f Fix reported row/slicePitch for mip-maps
- use information from gmm correctly
- modify computation on gen8

Change-Id: Iaefcc20ce9436ef70cd2f4bc36654932c4b5af49
2018-05-22 10:36:54 +02:00
08faa004aa Linux dll tests: test turbo patch only on supported platforms
use deviceId from first entry in deviceDescriptorTable as default deviceId
correct using simplified mocs table

Change-Id: I3a6e7cd599912380d48937767f201b44ee98e391
2018-05-21 21:17:12 +02:00
c2368739ce add gen suffix for each gen files
Change-Id: Ie00e23fc6a7abf2114e62f70d66a07beaed2b502
2018-05-21 15:00:47 +02:00
a1a224c3bc Add Clear SLM workaround for BDW
- set ProtectedMemoryDisable in PC prior to setting new L3 config

Change-Id: I2ecbfe9535ef45159b48fffa41faad66db55d074
2018-05-21 14:29:17 +02:00
4cb86b4045 Add debug flag that controls zero copy for CL_MEM_USE_HOST_PTR buffers.
- when flag is enabled driver will not go with zero copy path for
CL_MEM_USE_HOST_PTR flag

- flag doesn't work in shared context where we must accept zero copy
storage.

Change-Id: Idda94f296dd12e7e3ccb15f2224808287551ac97
2018-05-21 12:08:59 +02:00
d2817427af Remove createInternalGraphicsAllocation function.
- Route directly to allocate32BitGraphicsMemory

Change-Id: Ia6872bae655c530ff06b0ec270f419ca91d005ce
2018-05-21 04:11:43 +02:00
6fdde42289 Clean not used methods from linear stream.
Change-Id: Ib6775e346eb1a971c9ad5bc511c4226f1c53ecaf
2018-05-18 08:42:37 -07:00
b27eee1f7a Refactoring ULTs around HW tests
Splitting HW tests into CMD-unrelated HW tests
and CMD-related HW tests

Change-Id: Ifbdcabdd0d6f4082e976363a3d8bcd5e7a9ce6c1
2018-05-18 11:45:45 +02:00
bcda4ce071 Remove not needed includes in profiling tests
Change-Id: I3b1131d7ad311e936be4ead03c0df209d9fb89d5
18.20.10830
2018-05-17 22:19:12 +02:00
7e88dbe8be use latest version of Khronos(tm) OpenCL Headers
Change-Id: I3b1312a8dca3b44b7b1c5404a6be7c49d8173a54
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-17 12:21:34 +02:00
c974951479 Manifest update
Change-Id: I74a1b69b12c5f0fe4cdb1d396256d9c9e9260f30
2018-05-17 12:19:19 +02:00
6abcc4a2a9 allow to build Neo with most recent version of Khronos headers
The structure of https://github.com/KhronosGroup/OpenCL-Headers.git has
changed recently and we have to adjust to new layout.
New flow is:
1. try old layout with opencl21 folder in repo, continue compilation
   if successful
2. try with new layout

Change-Id: Ia8c3eb76655aeef70512e9a03d74c72ba776fd4f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-17 11:21:32 +02:00
430f6def75 Wddm interface [5/n]: cmake improvements to find all existing source files
Change-Id: I2f3f004b964f472085a1f036b40f0552489ac288
2018-05-16 14:57:14 +02:00
6b41b86d20 L3 programming refactor 5/n
- Add explicit specializations of L3Helper

Change-Id: I004c609af33250838eacaa3a28a9d1b154a390bf
2018-05-16 14:37:31 +02:00
ef76b9ddc4 Wddm interface [6/n]: Add debug variables
Change-Id: Ia4a6b25f2c5b0a230e7344f34822197e90d45ff3
2018-05-15 15:19:53 +02:00
41f570ab50 Fix overestimation of MediaVfeState in CommandStreamReceiver
Change-Id: I38fd00f6b994f6a62921bcc09f293cabc95773d4
2018-05-15 11:13:20 +02:00
e4857867a9 Wddm interface [4/n]: Make 2.0 default version
- Create Wddm20 interface by default for runtime and ULTs
- Add Windows dll test for Wddm creation

Change-Id: Id0a1b86e68112c31078b6965c647a5218790150f
2018-05-15 09:16:28 +02:00
137193d3ae fix profiling resolution for BDW
Change-Id: Id4543c17dc7ff3434815dd131abe306a4a37f5ff
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-14 20:13:28 +02:00
db94399353 Add option in cmake file to automatically include subdirectories
Change-Id: I46140d4bad51a876c771909ae63dc6bd4ce933db
2018-05-14 15:52:46 +02:00
47f1abe543 Source Level Debugger fixes
when SLD is active:
- make Sip Kernel Resident
- program GPGPU_CSR_BASE_ADDRESS
- Disable Preemption

- adjust getDebuggerOption input param,
value passed has to be at least 2 bytes in size
change unit test behaviour accordingly

Change-Id: I4ec87d0e8dfcf02437fdeeffc5363314eea5dd07
2018-05-14 15:51:32 +02:00
749d89a9bf L3 programming refactor 4/n
- Fix overestimation of preemption programming in preamble

Change-Id: I4ddfc6a2dacbe1160c68cdcef08125a5d5e74835
2018-05-14 15:39:28 +02:00
baa7640c90 Rename MemoryType enum to AllocationOrigin
- better describes the meaning of INTERNAL and
EXTERNAL allocation types

Change-Id: Iacb97f5a9d63f45b60bc404cc6dd32c7ebd72ab3
2018-05-14 12:38:52 +02:00
eedde057ea Minor refactoring of CommandComputeKernel class
- class cannot operate without kernel object
- improved ULTs

Change-Id: I4d1a6c3685f3908ce07154605aea649cae349d27
2018-05-14 12:26:46 +02:00
621a2dfcd1 [34/N] Internal 4GB allocator.
- Change dirty state helpers to work on IndirectHeaps.
- Instead of comparing size in bytes and cpu pointers, compare gpu base
address and size of the heap in pages
- That allows to not have dirty flag for heaps that are coming from 4GB
allocator.

Change-Id: I0ff81e3c0945b32e4f872a100cd10b332b27ed24
2018-05-12 16:01:30 +02:00
10e5b71111 dependencies cleanup
move gmock/gtest to third party

Change-Id: I96b43a3de2b6f2151659a9b2eed27eb58db5ce48
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-11 15:04:45 +02:00
33fee15711 Change interface to pass Interface Descriptor Data as pointer
Change-Id: I0f33109b800a7607206954bb1e5cb0826290e6f3
2018-05-11 14:35:53 +02:00
2e06df06ff Revert enabling preemption in all tests.
-It is causing big execution time increase from 6s to 11s on Debug64 Windows
target.

Change-Id: Id7d6b51e04653ef52248c0c83dc82d086f9cfd11
2018-05-11 14:24:22 +02:00
e0079dae3d Update manifest
Change-Id: I1ea3bf0f74b3a544cf80cb557d9fbc54024f4eb2
2018-05-11 14:16:32 +02:00
cf5b5aecec Update header with structures for AUB services.
This commit updates the structures and adds getters/setters to AUB services.

Change-Id: I14ce251b68f233428458958565c2d52551661747
2018-05-11 13:37:32 +02:00
b59a5f1910 Source Level Debugger - adding notifications
- notifySourceCode, notifyKernelDebugData, notifyDeviceDestruction
- added processDebugData method in Program
- change options when SLD is active
- add space at the beginning of extension list options

Change-Id: Iac1e52f849544dbfda62407e112cde83fa94e3ad
2018ww19-010806
2018-05-11 13:12:36 +02:00
cec056f3c4 Turn ON DrmGemCloseWorker.
- For every command buffer that we submit, pass it to gem close worker.
- Gem close worker will do asynchronous cleanup if this resource is meant to
be destroyed.
- if the resource is not meant to be destroyed we will call IOCTL wait for
this batch buffer.
- This will result in bumping up GPU clocks and better performance.

Change-Id: If9f181e411d7748573f31682e875a97c5355abe5
2018-05-11 10:54:09 +02:00
562ededffe Fix setting mediaSamplerRequired dispatch flag
Change-Id: Ie5d1100c34183ca970c99a5f46ce7866a7108ebc
2018-05-11 09:58:05 +02:00
f64f9c7c99 igc revision update
Change-Id: Ic903ef8228b53c52bbbd623f2a2f6ef6c12034ca
2018-05-11 09:17:51 +02:00
2c896b64b4 DrmGemCloseWorker now works on BufferObject instead of DrmAllocation.
Change-Id: I490edfc7532081eb31f700be70781c276dbc2916
2018-05-11 08:17:35 +02:00
bab9ad6cda Wddm interface [3/n]: Improve constructing Wddm object
- Only Wddm object owns Gdi
- Dont pass Gdi object to constructor
- Move Wddm related files to new directory

Change-Id: Iadd26634c7692db760d7d3367211c32d2c2c8121
2018-05-10 17:14:25 +02:00