Maciej Dziuban
d79b6c7e5c
Remove duplication from base_object_tests.cpp
...
Change-Id: I617eecac24ecab04716bf432c557c3cf16b4b70b
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-07 22:47:47 +02:00
Dunajski, Bartosz
d04614dce3
Use Semaphore to wait for dependencies on the same device
...
Change-Id: Ib04c960c50183c080d02753815ece80b58d1980e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-07 22:34:44 +02:00
Mrozek, Michal
393ce116e7
Remove flushWaitList method.
...
- No longer needed.
Change-Id: I9e255067fb4b0d52a42f6a49145b3a8d591b5e74
2018-09-07 15:27:37 +02:00
Hoppe, Mateusz
eaf72b6098
Pass not validated flags only to checkExtraMemFlagsForBuffer
...
Change-Id: I05b5554d7977af7c1069104dc607b36a846bfa2d
2018-09-07 15:03:38 +02:00
Maciej Dziuban
76c78f017e
Improve build time: command_queue tests
...
Change-Id: I22f7788bacd4a36488d5b6d56bae79b1f4788625
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-09-07 13:38:22 +02:00
Hoppe, Mateusz
cfa8035836
Add localMemorySupported member to MemoryManager
...
- extend constructor to take new flag
- extend ExecutionEnvironment createMemoryManager with new flag
- only OsAgnosticMemoryManager changes in this step
Change-Id: I1dae4fd79fe28fd87e42b237600dc216c94b597e
2018-09-07 12:04:21 +02:00
Mrozek, Michal
05b93ef221
Add method to device that returns device id.
...
Change-Id: I0fc5d1e37eb6f49a513c202a89db07ef539646f3
2018-09-07 12:02:28 +02:00
Mrozek, Michal
ac2a2de3be
Enhance ResidencyData to work with multiple OsContext
...
- Add new method updateCompletionData to register completion fence and context
- remove obsolete methods and fields
- for trimming choose default 0 OsContext
Change-Id: I0f6c7af9499a454a70ad1c5b0fa2766416eba297
2018-09-07 09:09:58 +02:00
Hoppe, Mateusz
b11e7b961a
Refactor HwHelper
...
- move common implementation to hw_heleper_common.inl
- add method for setting localMemorySupported cap
Change-Id: I1b4e0b48ce45d6d60b2c9d61102d849ea69e4043
2018-09-07 09:01:22 +02:00
Mrozek, Michal
df41112b6a
Do not wait on CPU for fence.
...
- If allocation is passed for destruction it means that it is ready to
be destroyed, there is no need to wait for tag.
Change-Id: I6b85ed62250aca8ee6293956b6178ce19bdb1f30
2018-09-07 06:56:38 +02:00
Mrozek, Michal
cb2b45625a
Assign numerical value to OsContext.
...
- will be used for all array based accesses.
Change-Id: If93efc874f05780d60573fe8359beccea8ff0f77
2018-09-07 06:49:53 +02:00
Dunajski, Bartosz
eb6b574561
Improve TimestmapPacket write commands size estimation
...
Change-Id: Idf80401f4360342a162d54aba7ffbe6dfcf714e8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-06 16:13:07 +02:00
Hoppe, Mateusz
d159d3bdb6
Add add_subdirectories() to unit_tests/mem_obj cmakelists.txt
...
Change-Id: I904240cbb26f21337d91bdc0f5d4fb4a80eeb15a
2018-09-06 15:03:43 +02:00
Stefanowski, Adam
8a005434f4
[1/n] Initialize WDDM only once
...
- remove Wddm parameter from WddmCommandStreamReceiver
and pass it via ExecutionEnvironment
- remove drm parameter from DrmCommandStreamReceiver
and pass it via ExecutionEnvironment
- remove void parametr from TbxCommandStreamReceiverHw
Change-Id: Ib76332f1341339426e86e0ce2b6ce96919219881
2018-09-06 14:14:29 +02:00
Mrozek, Michal
7eceb3038c
Do no increment ref counts when passing OsContext to residency.
...
- not needed anymore, memory manager manages the ilfecycle of OsContext
Change-Id: Ibcb32954522dd862187cf97d62d2e0b1b10e50e5
2018-09-06 12:53:35 +02:00
Dunajski, Bartosz
b74280beb6
Check EnableTimestampPacket debug variable once and set as CSR mode
...
Change-Id: Ia6e7caa96f3b46b30590fb46a1fb37fa153adeb4
2018-09-06 11:19:02 +02:00
Hoppe, Mateusz
a8beec98e0
Rename hw_helper.inl to hw_helper_common.inl
...
Change-Id: If699eb2fd572cc6bd1f2d91fb2ddf176f08bdac6
2018-09-06 11:08:26 +02:00
Dunajski, Bartosz
1b04210c6a
Extend TimestampPacket data with Submit field
...
Change-Id: Ia2a23003476db06afeee25ca7766cfd1bc6da4a3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-06 10:37:03 +02:00
Mrozek, Michal
75e26f39b1
Move ownership of OsContext to memory manager.
...
- register OsContext when device is created
- memory manager controls residency so it needs to have control of
OsContexts underneath
- device may be destroyed while OsContexts may be still in use
Change-Id: If08df7686f5448a1e7b0b6ced20b37a1e8ba2cd6
2018-09-06 10:05:28 +02:00
Mrozek, Michal
b87af2c9e7
Move residency to dedicated header.
...
Change-Id: Ic27748fdb36b1f92c58ca20f8b6e12e6a24f41d8
2018-09-05 16:34:08 +02:00
Hoppe, Mateusz
5f7b6db893
Validate buffer flags with helper
...
Change-Id: Iaaf04bbe6e5237da0183556fa1ee10817faaf5c0
2018-09-05 14:10:21 +02:00
Kowalczuk, Jakub
90abbd8639
Infrastructure update
...
Change-Id: I9c4d4350f12c31d7d3fa650a01b7cc88cdffa72b
2018-09-05 11:42:57 +02:00
Dunajski, Bartosz
e3df4edb90
Add deferred list to TagAllocator for nodes that are not completed
...
Change-Id: I0672c487315a96540184eda793132c79c7777527
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-05 11:14:23 +02:00
Christophe Meyer
096fa0e64f
Update version of .deb package to install (readme)
...
https://github.com/intel/compute-runtime/pull/79
Change-Id: Iaadd9e64c3c40b42f5ed2e43643d01a305744ac5
2018-09-04 17:41:10 +02:00
Milczarek, Slawomir
254f4a91ac
AUB CSR to use size from gmm when calling makeResident on RenderCompressed
...
This commit adds a capability to dump AUB files for RenderCompressed
in AUB CSR + HW mode.
Change-Id: Id43409f4ee986da2b3c347e5f6f07bb566249633
2018-09-04 14:15:03 +02:00
Jacek Danecki
b1d020485a
remove directories from rpm package
...
- to fix conflicts with filesystem package on Centos 7
https://github.com/intel/compute-runtime/pull/80
Change-Id: I715e76058815f0b12b2c7f8fab6d56b35f776a9f
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-09-04 13:53:56 +02:00
Venevtsev, Igor
623c0cecf4
Fix for aub tests run
...
Always create correct run_{gen}_aub_tests
targets but do not build them while
DO_NOT_RUN_AUB_TESTS is specified
Change-Id: Iea6d48169e17b4c3391f5fe4a6fab3a7e426e133
2018-09-04 13:43:40 +02:00
Dunajski, Bartosz
c1fc60efa9
Unify STORE_DATA_IMM cmd and reduce number of files to compile
...
Change-Id: Ib24f4a954468423528a36c88bac45218196c5a96
2018-09-04 13:42:35 +02:00
Mrozek, Michal
14e4ee9d9a
Do not use exceptions for input validation.
...
Change-Id: I8a4ad230acc5360326a8655513b79153246f1eeb
2018-09-04 11:32:56 +02:00
Mrozek, Michal
fb735e5ee5
Move SSH size obtaining logic to dedicated function.
...
Change-Id: I1ea2ceb69f0ae06fe8e37f7769015933295dd6cd
2018-09-03 16:54:38 +02:00
Milczarek, Slawomir
b2beed3daa
AUB CSR to call make resident of the base CSR
...
This commit ensures that AUB CSR be using make resident of the base CSR class
hence the task count of the graphics allocation be updated properly.
Change-Id: I33b5ed86a463eeeee00a4094cefda8add316af73
2018-09-03 16:43:10 +02:00
Hoppe, Mateusz
0a838760c4
Initialize src and dest buffers memory in HelloWorldFixture
...
- memory in dest buffer is checked against src buffer memory
in AUBs, both buffers should be initialized with different values
Change-Id: I706cee19eb61bf742e418086e9127ba950dcd0f0
2018-09-03 15:40:09 +02:00
Pawel Wilma
4a12deea2b
Add support for reduced GPU address space
...
Change-Id: I9ebbc8c51039bb533b44c6b80e717e1489a20a43
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-09-03 13:51:36 +02:00
Venevtsev, Igor
f6743ced2a
Remove reuseBO from createGraphicsAllocationFromSharedHandle
...
Change-Id: Ia7af1cdd8e3986b8af7c542032d2767303865382
2018-09-03 13:38:19 +02:00
Mrozek, Michal
d08aa81a9d
Update internal.
...
Change-Id: Idea5c5f33dcfd3a9b8ab0e4992c6624469c8109c
2018-09-03 12:54:42 +02:00
Filip Hazubski
85d7e0e4c8
Refactored GPGPU walker for easier maintenance
...
Change-Id: Ie10272f363d3e583893c46123bb7a56a5fd9ac45
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-09-03 11:04:24 +02:00
Mateusz Jablonski
92bfd2e3d2
Move OsContext to Device
...
Change-Id: I030b65372fbdc075423d22720e9da34ac65b8e68
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-03 10:42:26 +02:00
Dunajski, Bartosz
c014c49102
Pass TimestampPacket to dispatchWalker during enqueue call
...
Change-Id: Ia2b9206d4c2bb69232bfe9e7d68d195f3a558926
2018-08-31 19:57:47 +02:00
Maciej Godek
1d7d376262
Sharing format query for Intel/DX9
...
Change-Id: I600872be34ff41c3be06679d83e788c66f635e83
2018-08-31 18:20:42 +02:00
Dunajski, Bartosz
ed26e38f38
Reinitialize new tag taken from TagAllocator
...
Change-Id: I1fbc06224e64b77de0f481553eddc4abde8f8a1c
2018-08-31 10:45:06 +02:00
ocldev
0abbd881d4
igc revision update
...
Change-Id: Ia088a9ad449d1b1f492ada93397a5f776cc48a6c
2018-08-31 10:21:37 +02:00
mplewka
b2b5925030
Always expect gtpin headers
...
Change-Id: I811d672584c2b3b6e519a9404321b5ef9a8d3da2
2018-08-31 09:42:44 +02:00
Dunajski, Bartosz
118bad16df
Dont add PIPE_CONTROL between Walkers for TimestampPacket writes
...
Change-Id: I6216a0926678c7f7a997cb37ce4eb59f914b518e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-08-30 15:30:16 +02:00
Mateusz Jablonski
6096263d2a
Process extra tokens when create command queue with properties
...
Change-Id: I8f7d1aeaa7ed1a21e9c35794e5453ffa1ab67d5f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-08-30 15:20:49 +02:00
Jacek Danecki
551ed7fc8d
ci: use IGC 18.33.809-1 for Arch build
...
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
https://github.com/intel/compute-runtime/pull/78
Change-Id: Idcc1af83a05ede183c6a1b61ba97a2487089335c
2018-08-30 13:38:03 +02:00
Dunajski, Bartosz
570c0843ef
Handle TimestampPacketNode residency
...
Change-Id: I1769d67426ca704b600931b58d3f505bef0e893d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-08-30 11:53:56 +02:00
Dunajski, Bartosz
41914d3058
Make enqueue blocking if parent kernel requires aux translation
...
Change-Id: I678e1045d84f15e30223a99438bbb7057e172cff
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-08-29 19:33:00 +02:00
Artur Harasimiuk
83237bd253
Revert "clang-format: set ColumnLimit to 135"
...
This reverts commit e0e25d28c6
.
Change-Id: I09179643d9c338f764755a2e7d7c64d51e6b4fd1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-08-29 17:45:08 +02:00
Artur Harasimiuk
7292a6e23b
cmake: respect value of NEO_DRIVER_VERSION when provided externally
...
Change-Id: I32913a45739df7e0991119b98118a36afc7a65bb
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-08-29 17:08:09 +02:00
Artur Harasimiuk
9eafa72776
fix pkgconfig handling in cmake
...
when IGC_DIR is not defined we shouldn't override paths because
/lib/pkgconfig may exists in some distributions.
Change-Id: I843b033ff6b0d91cb866b7ab36fa82a02ca7448e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-08-29 16:59:14 +02:00