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
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
Piotr Fusik
f153fca90a
Add Drm::queryEngineInfo.
...
Related-To: NEO-3008
Change-Id: I2a4d21bfa1f078b5da2f893bdb7554d502df8522
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-04-30 15:52:19 +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
Jacek Danecki
4b2bb188b7
Add support for Gen11 platform
...
Related-To: NEO-2388
Change-Id: I4da92efe7f875f409cd62519a31ed4509b55bda7
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
2019-04-05 14:28:55 +02:00
Mateusz Hoppe
5de9d6a6cb
Call QueryMemoryInfo when Local Memory is enabled
...
Change-Id: Id996e046b9740fdd23620afbb2614feb45184548
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-03-29 12:00:01 +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
Jobczyk, Lukasz
e42e952d21
Reverse logic of creating Memory Manager - part 5
...
-Remove a Drm* parameter from the DrmMemoryManager constructor
Change-Id: Idb6faccdbb512691a8b14f86cdd935d1a8374a23
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-03-26 10:47:03 +01:00
Jobczyk, Lukasz
9ecb3193af
Reverse logic of creating Memory Manager - part 3
...
-Move a Device::getEnabled64kbPages method's logic
to the Memory Manager constructor
Change-Id: Ide88898000e5817a79f9a6ad5dfc9d680bec0533
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-03-25 14:42:16 +01:00
Mateusz Hoppe
432591a88a
Adding MemoryInfo to Drm
...
- call queryMemoryInfo on Drm::create()
Change-Id: Ib0532894f271bd4ab3dcbb281d0bddf2a01d4afe
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-03-20 15:04:43 +01:00
Mateusz Hoppe
573d2e0eec
Add enableLocalMemory param to DrmMemoryManager ctor
...
- add linux dll tests for createMemoryManager()
Change-Id: I6e111e7a480d895a8520507af6b6a699f9dca160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-03-12 22:22:37 +01:00
Jobczyk, Lukasz
878fd43a1a
Reverse logic of creating Memory Manager - part 1
...
-remove CSR::createMemoryManager method
-create MM from platform before creating devices
Change-Id: I0e7f091c53b0e60ae7101e82a305253af626330e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-03-08 09:47:29 +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
6882cf09c1
Avoid manual memory management.
...
Change-Id: Id29d9ec366e338d519aad5353a15a44ecf5998e4
2019-02-12 09:14:51 +01:00
Filip Hazubski
38c72838c7
Rename .m files
...
- Rename devices.m to devices.inl
- Rename devices_base.m to devices_base.inl
Change-Id: I153e89eea5d4e43f555a923a3932fdf66f3ec2a6
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-01-23 14:44:52 +01:00
Dunajski, Bartosz
cfafe943eb
Use different DRM Context for each OsContext on Linux
...
Change-Id: I543df4accdeba6c69b7dcf86d4238d12dafe92fe
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-12-12 15:08:23 +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
6a1a28c687
Add new CFL device IDs
...
Change-Id: I1846d4d76152467e257f684e68b5a8d12f7ac889
Signed-off-by: Woloszyn, Wojciech <wojciech.woloszyn@intel.com >
2018-12-05 16:05:53 +01:00
Artur Harasimiuk
6714fe84b8
fix debug message when creating Drm
...
Change-Id: I1b7a1f65d0e9b7371a171bc1b14c226ec5ae6b08
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-11-23 14:15:31 +01:00
Kowalczuk, Jakub
1822fb0747
Control enabling of local memory based on OS and HW Capabilities part 2
...
- add EnableLocalMemory debug variable
- separate OSInterface::osEnableLocalMemory for dll and unit tests
Change-Id: I78a1f60364eece28b30ce3e91418e7d72ba3e0d9
2018-10-31 13:59:42 +01: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
Hoppe, Mateusz
31d3cc847c
Rename setupGtSystemInfo to setupHardwareInfo
...
- adding new parameter for FeatureTable setup
Change-Id: I1f1c66894555003612e08127801c6b096b0a2400
2018-08-29 16:24:16 +02:00
Mateusz Jablonski
89cf7532ea
Make all gmm helper members non-static
...
Change-Id: Idb399aa275d66905040b6317d3888c94ffb98c55
2018-08-03 08:25:44 +02:00
Mateusz Jablonski
96e3163386
Prepare to use gmm dynamic lib on Linux
...
Change-Id: Ie1b0c8fe13c4e044f1f2b0651349840d2850f423
2018-07-19 01:04:52 +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
Jacek Danecki
c238a4d31e
Add support for Cannon Lake (Gen10) platform
...
Change-Id: I0e63960887cdae9ba74c1ba91ad27101e22b458a
2018-06-25 15:48:12 +02:00
Artur Harasimiuk
bc2403acfd
allow IGC to be discovered by pkg-config
...
New detection flow:
1. check for IGC__IGC_TARGETS and respect if defined -> IGC available
2. on Linux try using pkg-config to find IGC
- package can be part of workspace, in this case we have to tweak
some variables
3. check whether igc folder contains CMakeLists.txt and do
add_subdirectory if yes.
4. IGC not available -> fail
other changes:
- rename compiler.config to match name from IGC devel package
Change-Id: I6c2369f8b83db66327d76c9b08af833736e8a3f9
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-06-20 13:13:58 +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
Mateusz Jablonski
cc9e5a7943
Restore using compiler.config.h
...
define source level debugger dll name when it has empty implementation
Change-Id: I2a0938c8418da161f214735644f00f7873540f75
2018-06-12 17:02:51 +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
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
mplewka
2bc2869fe1
Refactor ult's for preemption enabling part 2
...
Change-Id: If8e335e87f3a78d35cab12a17880fb1922d479f5
2018-05-10 13:12:03 +02:00
Jobczyk, Lukasz
09401632b7
Additional KBL device ID
...
Change-Id: Ibc917b98030254b15709a8d427931171fbc1117f
2018-04-24 11:50:43 +02:00
Hoppe, Mateusz
efda64eb4a
Source Level Debugger - debugger library interface
...
- interface to debugger dynamic library
- code is included when source level debugger header exists,
otherwise implementation is exluded from build
- unit tests do not load real dynamic library,
instead test version (DebbugerLibrary) of OsLibrary is used.
Change-Id: Id3229c77963352e8001043ee41b7d48c6b180a59
2018-04-23 11:31:37 +02:00
Mrozek, Michal
86e000f67a
Do not use simplified Mocs Table on gen8 devices.
...
- On gen8 devices we are not using index to control caching, but we program
caches directly
- In such case we need to rely on values reported from GMM instead of using
Kernel Mocs indexes.
Change-Id: I6c030847509d8f39f63ac98ebd3ebd0b0907e625
2018-04-10 15:43:40 +02:00
Jobczyk, Lukasz
9700c9bc42
Add missing devices IDs in master branch
...
Change-Id: Ie73cf42f1d7ef6bb414630016d85e27038fab03b
2018-03-30 14:41:51 +02:00
Dunajski, Bartosz
b055265549
Missing device IDs: 10x BDW, 6x BXT, 2x CFL
...
Change-Id: I223006c9ca65e44cfd4042e6d933f331a156d278
2018-02-27 11:35:48 +01:00
Artur Harasimiuk
c50054f787
enable interoperability with ocl-icd
...
according to spec we have to export clGetPlatformInfo API entry point
for Installable Client Driver (ICD) to work.
on Linux it requires extra flag for linker to avoid loop in dispatch
table.
Change-Id: I2f6cf7da10e3a346c363d7bc94d9eff1eeb64895
2018-02-26 10:55:06 +01:00
Dunajski, Bartosz
3a305018ba
GLK device ID support
...
Change-Id: I6cceb83739b39b6e97fa3c2d938739b204e23f22
2018-02-08 08:45:34 +01:00
Dunajski, Bartosz
bdee42ca16
devices.m separation for Linux
...
Change-Id: Ia8e430db4dfcefc1b19e23e9cd7113bf87f0a7af
2018-02-06 15:24:20 +01:00
Mrozek, Michal
6b368803fc
Add support for legacy kernel MOCS selection.
...
- Detect if driver is operating on patched legacy kernel.
- If turbo patch is detected, assume legacy custom kernel.
- Add simplified MOCS selection logic to GMM helper
Change-Id: I1ae821336205e473f00d72ddbfebee828427dfc7
2018-01-25 09:10:04 +01:00
Brandon Fliflet
7e9ad41290
Initial commit
...
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00