Dunajski, Bartosz
0f87e9aa1a
Rename HardwareInfo members
...
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 09:13:55 +02:00
Dunajski, Bartosz
de988d067c
Fix ExecutionEnvironment test and rename hwInfoHelper to hardwareInfo
...
Change-Id: I849b9f5a9f449f063e5717ea9758e80c6662c5a5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 08:53:24 +02:00
Dunajski, Bartosz
bb80d327c7
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
...
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-08 16:11:01 +02:00
Katarzyna Cencelewska
a6aac141d1
Move setting of featureTable flags
...
ftrL3IACoherency, ftrGpGpuMidBatchPreempt, ftrGpGpuThreadGroupLevelPreempt
from configureHardwareCustom to setupFeatureAndWorkaroundTable
Related-To: NEO-2755
Change-Id: I508ad321c60bfd88eef3654b3f418343fc5b6b31
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-04-29 13:44:22 +02:00
Katarzyna Cencelewska
c5274c5087
Set FeatureTable and WorkaroundTable in setupHardwareInfo
...
Related-To: NEO-2755
Change-Id: I61ba85909574780464690c70b194b3d3597af43e
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-04-17 13:52:19 +02:00
Dunajski, Bartosz
8e273cfe1e
Add blitterOperationsSupported flag to RuntimeCapabilityTable
...
Change-Id: If82f6c740d42734a260e22d58562338ea2e11630
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-04-16 11:34:55 +02:00
Piotr Fusik
d4a0c4852b
Move EngineType to aub_stream.
...
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01:00
Maciej Plewka
9e52684f5b
Change namespace from OCLRT to NEO
...
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00
Stefanowski, Adam
16aee8cc46
[2/n] Move Hardware Info to Execution Environment
...
- remove hwInfo from the csr functions where it was passed as a parameter,
now csr functions have access to hwInfo by Execution Environment
Change-Id: I756ae63d9728c9c963571147bab97f9e1c15797b
Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
2019-03-22 10:08:26 +01:00
Liwei Wang
ca4b47f7f4
Add support of GPU preemption (v1.00).
...
https://github.com/intel/compute-runtime/pull/119
Change-Id: I3134d62b66751c8621b80002373a7a9b198e044e
2019-03-22 08:49:11 +01:00
Mateusz Jablonski
395e79fee8
Add support for many GMMs in Graphics Allocation
...
Change-Id: I955b8dd50b502f91700c5529d0a0a291632aa157
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-03-13 15:44:45 +01:00
Filip Hazubski
8b57d28116
clang-format: enable sorting includes
...
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library
Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Piotr Fusik
75edea81bb
Virtual address space partitioning on Linux [2/n]
...
Move selectHeap from Wddm to MemoryManager.
Set DrmAllocation::origin.
Change-Id: I5d412e35d524d1f31174893b9ce1d3b1e98eee96
2019-02-20 14:43:08 +01:00
Zdunowski, Piotr
d99e833786
Program L3 error detection behavior.
...
Change-Id: Ifeccb707376f5b267de58ffd6ad009cf000c5047
2019-02-19 11:23:07 +01:00
Zdanowicz, Zbigniew
8e1e874a76
Refactor headers and reorder include order
...
Change-Id: I6b341e2b37e569af7d741bfd7a63804c0b25a4c9
2019-02-14 13:39:01 +01:00
Hoppe, Mateusz
509ed273c4
Refactor Ults finding hardware commands
...
- use CPU address for found dynamicStateHeap address in
StateBaseAddress command
Change-Id: I2d857c5a069f5a8f46169d2047cdb27efd3502b8
2019-02-04 17:26:37 +01:00
Chodor, Jaroslaw
9a98f19a2f
Adding ULT mechanism for cmdBuff validation
...
Change-Id: I35f06695e27b9eb052e2aaa717862ae01db9a0ba
2019-01-30 18:58:53 +01:00
Dunajski, Bartosz
276417969b
Add ftrTileY flags on Linux
...
Change-Id: Iec00c137e332ac818ba6958e57c90dccf7629931
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-01-24 08:54:59 +01:00
Zdanowicz, Zbigniew
158f200476
Add HW commands const definitions
...
Change-Id: If2e9d7f7f707b7b8c7bd8dbd3853ab3b6dad0c9a
2019-01-18 12:13:25 +01:00
Mateusz Jablonski
06600f169b
Define GPGPU engines per gen
...
Change-Id: Ie0e565d11184c5355b5bf09f5b10a567deb5c106
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-01-15 12:05:19 +01:00
Mateusz Jablonski
8ec072d39c
Simplify Memory Manager API [3/4]
...
- remove method allocateGraphicsMemory(size_t size)
- pass allocation type in allocation properties
- set allocation type in allocateGraphicsMemoryInPreferredPool
Change-Id: Ia9296d0ab2f711b7d78aff615cb56b3a246b60ec
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-12-17 10:42:16 +01:00
Dunajski, Bartosz
010e1a4738
VFE state programming cleanup
...
Change-Id: I38fb47b00211a1d28244369ac417427ada145f61
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-13 17:44:40 +01:00
Dunajski, Bartosz
f5508ed2d7
Simplify preemption control on Linux
...
Change-Id: Ie0896cc8950f7fbb271b710b8bb221eb41ba0445
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-10 13:12:16 +01:00
Woloszyn, Wojciech
ace20aba5b
Add slm size to capabilityTable
...
Change-Id: Ia8839b2268069ac3815ff21cf247deefbf3b5335
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com>
2018-12-06 13:43:39 +01:00
Zdanowicz, Zbigniew
7dbd0ea4f3
Move Scratch Space functionality to dedicated class
...
Change-Id: Ic7655c4b971513961aba6823478a139ffc943466
2018-11-29 11:55:56 +01:00
Dunajski, Bartosz
2d77b86e70
Allow Device creating multiple CSRs [5/n]
...
- Move Engine type to OsContext
- Move OsContext to CSR
- Improve EngineMapper logic
- CompletionStamp cleanup
Change-Id: I935cb7169c8c48cd09837e20e3da06f6dd3437b9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-27 14:25:04 +01:00
Woloszyn, Wojciech
9a89426ec1
Refactor unit tests
...
- refactor image fixture
- add hwInfo fixture
- add missing case to mockGmm
Change-Id: I5f0886b8bd8f36938e1eedc5a0a63fe01248fcad
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com>
2018-11-27 13:54:53 +01:00
Mateusz Jablonski
352450adaa
Pass number of os contexts to Graphics Allocation constructor
...
Mark unshareable allocations
Change-Id: Ie745dc639d8c6b01e2275d29ee1fb4c6343df2bc
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-11-21 17:38:02 +01:00
Hoppe, Mateusz
12ece3a220
Reorder STATE_BASE_ADDRESS and STATE_SIP
...
- STATE_SIP should be added after STATE_BASE_ADDRESS
- tests refactor.
Change-Id: I000316b70db714fb227b6174f793d4bf8806ea9a
2018-11-13 17:57:51 +01:00
Milczarek, Slawomir
08676826c6
Init MI_SEMAPHORE_WAIT with memory polling mode
...
Change-Id: Id7e4ca279568bf3366ab958ab3bb9af8454f5045
2018-11-02 10:31:23 -07:00
Zdanowicz, Zbigniew
8504b37a08
Add branch prefix to unit_tests/gen_common subdirectory
...
Change-Id: I7661dbd8a65aaa50c21afb982b23edb9080d6f84
2018-11-01 00:15:04 +01:00
Mrozek, Michal
7ece16ee7a
Graphics Allocation cleanup.
...
- remove one constructor
- start using mock graphics allocation in tests
Change-Id: Idb8f4a35dbc2cae8d6bf667bab5542d8e91d6e0d
2018-10-31 11:54:24 +01:00
Filip Hazubski
7ab7d762dc
Fix CmdParse
...
Wrong class was used as a template parameter, causing compile errors
when building a specific driver version
Change-Id: I613ab785c06d9b5c2e58ade01b5567045ac1fcca
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-10-26 14:15:20 +02:00
Filip Hazubski
f5b55c5c7e
Remove code duplication from cmd_parse_genX files
...
Change-Id: I64bb9d8be018ea4da6cb006439c58b1d52100e06
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-10-25 18:00:27 +02:00
Napiatek, Henryk J
6d828e6653
Allow override of default platform Hardware Info Config
...
New string debug variable HardwareInfoOverride is used to
specify new Hardware Info Config to be selected, for example 1x4x8.
Change-Id: I6d939608e6551e4a9102e5ab2e08255ee4982933
2018-10-10 10:34:23 +02:00
Dunajski, Bartosz
cbd017d495
Handle TimestamPacket with implicit dependencies ownership
...
Change-Id: I22a4de4e9eb904c359583e235e0de54a7c743e07
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-09-28 01:48:02 +02:00
Pawel Wilma
e06aa17dfc
Grf configuration
...
Change-Id: I3741f53a38c6707b0c8ad82ae553ea65ae6917e4
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-09-27 17:57:19 +02:00
Woloszyn, Wojciech
f624ec757b
Unify mipmap layout accross platforms
...
- revert "Fix reported row/slicePitch for mip-maps"
- calculate mipmap offset without gmm
Change-Id: Id4802ef9624ad330e0d0f871dfa4d4fc35a7ba33
2018-09-25 16:27:43 +02:00
Artur Harasimiuk
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Mateusz Jablonski
873a58382b
Extend kernel commands helper
...
add method to check if we should program binding table prefetch
Change-Id: I2a78f406b6f2a3fde33dec653ec887b7f2c03442
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-17 09:34:31 +00: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
Hoppe, Mateusz
31d3cc847c
Rename setupGtSystemInfo to setupHardwareInfo
...
- adding new parameter for FeatureTable setup
Change-Id: I1f1c66894555003612e08127801c6b096b0a2400
2018-08-29 16:24:16 +02:00
Hoppe, Mateusz
83537d55bf
Add HardwareInfo argument to setupHardwareCapabilities method
...
Change-Id: Iaf75459402d4f1ec3048646d646b130dcc710b2f
2018-08-24 08:30:52 +02:00
Mateusz Jablonski
9ac3529c6b
Remove template parameter from Wddm methods
...
Change-Id: Icd700c7215184d4c0f9564c61868a1f9f29a75e5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-08-23 16:37:31 +02:00
Maciej Dziuban
b91c14f70e
Delete Device::getBuiltIns()
...
Change-Id: I9d1968dfb2ba4a56020fd17152119add726106e1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-22 16:54:53 +02:00
Maciej Dziuban
e0e48203d2
Move BuiltIns to ExecutionEnvironment
...
Change-Id: Ib2a1b82cc7858c898bb32820aad106a01d1325ad
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-08-21 23:15:47 +02:00
Zdanowicz, Zbigniew
7b68579e34
Rename ULT L3Helper to UnitTestHelper
...
Change-Id: If922192560b8b51bc1296f8b034abfadbaa556b6
2018-08-21 17:38:27 +02:00
Milczarek, Slawomir
393c2219c9
Add device callback for GMM library to notify AUB subcapture
...
This commit adds a new callback to be called by GMM library
when it allocates/deallocates compressed resources to collect data
about their addresses and sizes and handle their AUB residency.
Change-Id: I075d3ff4cb049cfe626da82892069c4460ea585c
2018-08-20 14:38:42 +02:00
Mrozek, Michal
1599ea800e
Pass execution environment to command stream receiver.
...
Change-Id: I598f67f8b005b5ce8249b638e080657eb6dc3547
2018-08-08 17:10:39 +02:00
Mrozek, Michal
d17879d412
Pass ExecutionEnvironment to get devices.
...
- this would allow for further re-use of objects allocated here.
Change-Id: I73b62ae3991ebd786dea3c085e1391194b8de6ba
2018-08-07 15:17:06 +02:00