Kamil Diedrich
a95c6d3c1a
Remove memset on non POD
...
Change-Id: I74bf98f5dbdc5005081ee9a025a5b9641b6ca89f
2018-07-11 13:58:55 +02:00
Jobczyk, Lukasz
56125ea381
Add tool for tracking events
...
Change-Id: Id61d814e4629a41a279d46097ec8b4f94a224234
2018-07-11 13:34:56 +02:00
Mrozek, Michal
92266e4ad1
Disable stateless to statefull with offset optimization on BDW.
...
- BDW doesn't support this optimization
Change-Id: Ic88556214c8d9a14ddb093b7c25587575e616f83
2018-07-10 17:49:55 +02:00
Hoppe, Mateusz
684b1d75ba
Refactor GraphicsAllocation::AllocationType and allocationType enums
...
- change GraphicsAllocatoin::AllocationType to scoped enumeration
so that ALLOCATION_TYPE_ prefix in every enum value can be removed
- all accesses are typed (example AllocationType::IMAGE)
- Rename allocationType to AllocationUsage to eliminate confusion
with multiple AllocationType enums / types
Change-Id: I16003297ecfcb0aaa5779ad00706c5d983914bbe
2018-07-06 13:00:08 +02:00
Mateusz Jablonski
94dbdb602d
Add instance of gmm helper to execution environment
...
Change-Id: I1b044611fbad91fbb681ba233938f41502f29056
2018-07-06 08:48:19 +02:00
Dunajski, Bartosz
e26d67cde3
Aux surface programming for Buffers [1/n]: Gmm interface improvement
...
Change-Id: I984b8ebee27808a236217e82bb4e910550d624c4
2018-07-03 13:00:08 +02:00
Milczarek, Slawomir
86565e5f06
AUB subcapture in toggle mode to be controlled with HKCU regkey
...
- move AUBDumpToggleCaptureOnOff from HKLM to HKCU without admin rights
- fix AUB subcapture in toggle mode to call make resident in standalone mode
Change-Id: Ia6971921f33bb9ca63112790af870217da8a1585
2018-07-03 12:56:06 +02:00
Kamil Diedrich
784ddf0a6c
cleanup dead code, readability fixes
...
Change-Id: I91a3947d4ec0ef2264afed5abc58ff66151f0dc6
2018-07-02 12:50:15 +02:00
Koska, Andrzej
3548876263
Setting the GpuAddress from a fragment in createGraphicsAllocation
...
Change-Id: I4d60aceea96dfbe50b2af4a1fbaada6a150ddd35
2018-06-29 16:13:29 +02:00
Dunajski, Bartosz
e18e9fb94e
Move static methods from Gmm to new GmmHelper class
...
Change-Id: I84fbe94f0e1072324164086b456c71a46ae5040c
2018-06-27 16:46:09 +02:00
Koska, Andrzej
4a4ad6460c
Revert: Setting the GpuAddress from a fragment in createGraphicsAllocation
...
Change-Id: Ifd0a26f58b748df5e43e57b4e0be6b94c2051890
2018-06-26 17:05:26 +02:00
Koska, Andrzej
b563e07394
Setting the GpuAddress from a fragment in createGraphicsAllocation
...
Change-Id: I4f6afbdd4d86ab2958de29cf49aaed9b8e2ea642
2018-06-26 14:43:08 +02:00
Mrozek, Michal
e47344ec0e
Add debug flag CreateMultipleDevices.
...
- This flag allows to create multiple devices from the same GPU
Change-Id: I4b80e4759543ca4559549b2d26c5ddef241f9ebb
2018-06-20 18:33:32 +02:00
Jacek Danecki
3ae56d6c8d
Mark buffers as not resident after exec
...
Change-Id: I6406c626bfaadf01149a8464db2bb4278cbdcbce
2018-06-18 17:44:05 +02:00
Zdanowicz, Zbigniew
fa3c4d83db
Add debug flag to force rebuild pre-compiled kernels in runtime
...
Change-Id: I1e6bf94de3748e43c4ca80fd41c488665e0c5604
2018-06-18 14:23:54 +02:00
Koska, Andrzej
e15c2b899f
Setting the right handle value in fragment
...
Change-Id: Idcbdce5fc686360f252c8db0423ae77d9155702e
2018-06-15 16:36:52 +02:00
Milczarek, Slawomir
eb1b5ded9c
Add support for AUB subcapture (filter and toggle modes)
...
This commit adds a capability to selectively enable/disable AUB capture,
i.e. by toggling the registry key from the outside or specifying the filter
with a kernel name and/or kernel start index and kernel end index.
Change-Id: Ib5d39c21863fbc4a95aa73c949b9779ff993de0f
2018-06-15 13:02:27 +02:00
Artur Harasimiuk
75ab0c6fe1
Switch clang-format to 6.0
...
Change-Id: Id96d1f47fb3d479d10d1022f1259dc030a148192
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-06-14 09:45:00 +02:00
Dunajski, Bartosz
3a369ad500
Improve Wddm creation
...
Pick interface version basing on Ftr flag
Change-Id: I09880610922a6d451fc6f414a4fa5857449bc0f4
2018-06-14 09:06:40 +02:00
Jacek Danecki
4d48a6afec
Call makeResident only once per BufferObject
...
When different graphics allocations are created from
the same backing storage makeResident should be called only once.
Change-Id: Ide8ab385894505fd405eef010768dbcac3b92fba
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-06-11 23:28:38 +02:00
Mateusz Jablonski
5007c60a03
Generate dll names to lib_names.h
...
Remove some not needed ifdef blocks
Change-Id: I29f787bde819a2f19312dd5713df0d4534a47cd8
2018-06-11 18:00:56 +02:00
Mateusz Jablonski
98b8b4b6a4
Prepare to use gmm as dll on Windows
...
Since this commit neo on Windows can use static or shared gmm lib
Change-Id: I7db70d7f9bc969e8193ac77e8b6d65ecc57d0093
2018-06-08 17:35:01 +02:00
Zdanowicz, Zbigniew
c1782b802a
Add debug flag to override platform used by compiler
...
Change-Id: I6fc4254f928158d0cb07f53436d1ddd09fcef7d5
2018-06-08 16:53:59 +02:00
Koska, Andrzej
fe56c57318
Tracking the internal allocation when creating a buffer
...
This fix prevents the creation of a buffer from the pointer
obtained from clEnqueueMapBuffer
Change-Id: I203f2d5263eeb02fe0d73bc9db159438af3cf1fc
2018-06-08 07:33:07 +02:00
Mrozek, Michal
f24ec6ec33
Add DisableZeroCopyForBuffers debug flag.
...
- This flag disables zero copy for all buffers.
Change-Id: I882f01942f99e399e33f5fe2750acbcc0476457c
2018-06-07 11:28:54 +02:00
Zdanowicz, Zbigniew
36621b2488
Use product aub device id and make it configurable by using debug flag
...
Change-Id: Ie65eea0f72497ef68e805ad438f4f53df731d304
2018-06-06 17:09:21 +02:00
Zdanowicz, Zbigniew
e6a9d30951
Add debug flag to override fp64 capabilities
...
Change-Id: I5078aaaeeb58b4821e7c9ae4b01e0a8261a5c8da
2018-06-06 16:12:37 +02:00
Hoppe, Mateusz
52209b5487
Add SchedulerGWS debug variable
...
- SchedulerGWS forces gws for scheduler kernel - useful when using
TBX server
- Fix misaligned scattered write in scheduler kernel when
SchedulerSimulationReturnInstance is set to value > 1
- Fix copy_test_files dependecy - modification of files in test_files
triggers copy_test_files targets
Change-Id: Ieee2ddec67f6c61ab942d764c7ad076b3b6ca887
2018-06-06 13:38:37 +02:00
Zdunowski, Piotr
4f3e03b560
Forbid copying of objects when it could cause memory leaks.
...
Change-Id: I079345fb0bf74babb7aa072ddee4f3a853e2572c
2018-06-05 18:32:40 +02:00
Stefanowski, Adam
a7520e7a3d
setting unique file names for the rest of the cpp files
...
Change-Id: I34f168714e6f66611bee0a755621aeeea0ddc13f
2018-06-04 08:29:55 +02:00
Mrozek, Michal
981c97005a
Enable stateless to stateful with offset optimization.
...
Change-Id: I03f6094f4f19ac687dc71790a64bc9e0a8b3212c
2018-06-03 20:27:45 +02:00
Mateusz Jablonski
0052ab82b1
Internal update
...
Change-Id: I89f7717cea56df4d8b7282a28ff56dfedb92f3ea
2018-05-30 11:30:25 +02:00
Artur Harasimiuk
972c080083
enable & switch to clang 6.0
...
Change-Id: I61910614ddaa37db18a3d995fa94efb03238279a
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-25 10:08:26 +02:00
Dunajski, Bartosz
71b844f522
Wddm interface [7/n]: Add 2.3 interface with HW queue support
...
Change-Id: Ia0e829b8616b7060e39170aea0f1d2f123d73399
2018-05-24 10:26:58 +02:00
Mateusz Jablonski
09e4dab4f6
Create os specific thread implementation
...
Change-Id: I267d6cb021a75713c28a7bbf29384da13d2a7217
2018-05-23 17:27:31 +02:00
Mrozek, Michal
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
Mrozek, Michal
d2817427af
Remove createInternalGraphicsAllocation function.
...
- Route directly to allocate32BitGraphicsMemory
Change-Id: Ia6872bae655c530ff06b0ec270f419ca91d005ce
2018-05-21 04:11:43 +02:00
Dunajski, Bartosz
430f6def75
Wddm interface [5/n]: cmake improvements to find all existing source files
...
Change-Id: I2f3f004b964f472085a1f036b40f0552489ac288
2018-05-16 14:57:14 +02:00
Dunajski, Bartosz
ef76b9ddc4
Wddm interface [6/n]: Add debug variables
...
Change-Id: Ia4a6b25f2c5b0a230e7344f34822197e90d45ff3
2018-05-15 15:19:53 +02:00
Dunajski, Bartosz
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
Hoppe, Mateusz
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
Milczarek, Slawomir
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
Mrozek, Michal
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
Mrozek, Michal
2c896b64b4
DrmGemCloseWorker now works on BufferObject instead of DrmAllocation.
...
Change-Id: I490edfc7532081eb31f700be70781c276dbc2916
2018-05-11 08:17:35 +02:00
Dunajski, Bartosz
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
Mrozek, Michal
06287af541
DrmGemCloseWorker - remove not used modes of operation.
...
Change-Id: Ie8524a8411f1022785536a523aad3e4ebea3a349
2018-05-10 15:34:20 +02:00
mplewka
2bc2869fe1
Refactor ult's for preemption enabling part 2
...
Change-Id: If8e335e87f3a78d35cab12a17880fb1922d479f5
2018-05-10 13:12:03 +02:00
Dunajski, Bartosz
46003145e9
Gmm interface update
...
- Use local gmmClientContext instead of pGMMGlobalContext
- ResourceInfo and PTmanager creation from gmmClientContext
- Mock Gmm context creation in Wddm to have only one instance per run
Change-Id: I67e015c57f0ab5524564760fd9a849615615697f
2018-05-10 08:51:46 +02:00
Dunajski, Bartosz
44e54ef69b
Wddm interface [2/n]: Move WddmMock to igdrcl_mocks + more cleanup
...
Change-Id: I993312c1e17fb474e142424b154666f8af6a4170
2018-05-08 15:57:38 +02:00
Dunajski, Bartosz
224676bc2d
Change return type of Wddm::createContext to make init more consistent
...
Change-Id: I113dbd636c2ed11ba76333021535160e46cb7116
2018-05-07 13:08:50 +02:00