Commit Graph

1624 Commits

Author SHA1 Message Date
Zdanowicz, Zbigniew
ce75767ca3 Add AUB registry key to override MMIO offset value
Change-Id: Iac3bf9074e544a03e38fc437d7b21ea478d9cc5d
2018-11-03 00:33:50 +01:00
Milczarek, Slawomir
08676826c6 Init MI_SEMAPHORE_WAIT with memory polling mode
Change-Id: Id7e4ca279568bf3366ab958ab3bb9af8454f5045
2018-11-02 10:31:23 -07:00
Artur Harasimiuk
5e25f81ff5 infrastructure update
Change-Id: I86982ad234637dc92a86f4723bc4527fddb857ca
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-02 14:31:14 +01:00
Hoppe, Mateusz
e6b93941ee Add aub_stream headers
Change-Id: I4d9420210e2a06d8a36abc0cf272901514ff3547
2018-11-02 14:29:45 +01:00
Zdanowicz, Zbigniew
8504b37a08 Add branch prefix to unit_tests/gen_common subdirectory
Change-Id: I7661dbd8a65aaa50c21afb982b23edb9080d6f84
2018-11-01 00:15:04 +01:00
Stefanowski, Adam
c202c95634 Stop creating osInterface in WddmCSR and DrmCSR constructors
Change-Id: Ic8ca21824882dfae5df3fe05c7ec1ff96311f286
2018-10-31 15:01:50 +01:00
Mrozek, Michal
8bec1906ec Remove alignedCpuPtr from WddmAllocation
- also switch to make_unique in wddm memory manager functions.

Change-Id: I2f7cf412a993040439466f1971d935fb8429ce7c
2018-10-31 14:07:39 +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
Mateusz Jablonski
8dc28f2445 Remove not needed locks in internal allocation storage
Change-Id: Ia8a084b5cb128c7888445efde6d33f43f3af2809
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-31 13:17:11 +01:00
Mrozek, Michal
200228b506 Replace cpuPtrAllocated flag with driverAllocatedCpuPointer.
Change-Id: Ic0ce165d0e583701e1128595a3d9dabd0a61a84b
2018-10-31 12:37:20 +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
Maciej Godek
f9ba697587 Sharing queries for DX10/DX11
Change-Id: Ia4f176a38bb2dbfe215efe17b13a533ee83510d3
2018-10-31 11:52:46 +01:00
Maciej Dziuban
9c696f1d29 Create STL-friendly SpinLock implementation
Change-Id: Ic04d34d2962ad6953fe3282a10f6cba16c0e07b3
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-31 08:38:32 +01:00
Mrozek, Michal
5b2e16651f Remove alignedSize from WddmAllocation.
Change-Id: I3b610515e4d5db16ce6a604e7e2f4b85b657bef2
2018-10-31 08:30:50 +01:00
Milczarek, Slawomir
4a8f4aa47b Add hash function for AUB dump handle
Change-Id: I3f53f187a31ca47e7cf2717f328c216469171f90
2018-10-30 19:54:36 -07:00
Milczarek, Slawomir
b051528258 Add getter for handle to AUB dump allocations
Change-Id: I30251145775e9d81e307c983236bd2cc0568a74d
2018-10-30 12:06:17 -07:00
Woloszyn, Wojciech
2dd01eb016 Update manifest
Change-Id: I8a9b9c89f9c849aabc2c429862299843bd9d4d7e
2018-10-30 18:47:25 +01:00
Mateusz Jablonski
ead2e2ea6d Move createAllocationForHostPtr method to command stream receiver
Remove not needed includes from command_queue.h

Change-Id: I45963bf005471bd7716d55471474299a15e27b62
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-30 17:49:08 +01:00
Mrozek, Michal
1dc3a94ac8 Remove not needed code.
Change-Id: I5b0fd2960ed7777bc7603013071a431af6d435c5
2018-10-30 15:40:08 +01:00
Mateusz Jablonski
d3f71cfb04 Move allocation lists to internal allocation storage
Change-Id: I543f1551c8fb161cf99c5870de44afec390415b2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-30 13:49:31 +01:00
ocldev
52ad441957 dependencies update
Change-Id: I260bb9661a38cfab9fdbb50b0e794391a566050f
2018-10-30 11:42:46 +01:00
Artur Harasimiuk
8506946b8d cmake: do not copy GmmLib files on Linux
Change-Id: I7275756dc9c7b259a993294544f6ff3c06dbd66e
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-30 08:53:17 +01:00
Zdanowicz, Zbigniew
66c02ddfc7 Add test macro for parametric test per platform family
Change-Id: I0f24a54801314f2f468fdb7343a19d9335b83f8a
2018-10-29 22:02:08 +01:00
Maciej Dziuban
dc4de3c31b Move trimResidency functions to WddmResidencyController
Change-Id: I046fd34d5336b767ed38eda31e58e4a35ceee5f8
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
18.44.11760
2018-10-29 12:19:50 +01:00
Mateusz Jablonski
a30c70d84b Remove cleaning allocation lists methods from memory manager
Change-Id: I4a58a5373e7dc4cf8dc5d90390e84c4f23689139
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-29 10:35:03 +01:00
Milczarek, Slawomir
7b1d19eaec Moved header with engine node definitions
Change-Id: Iaa78bb0584589e354b1bb469b729844121decb8f
2018-10-27 14:51:02 -07:00
Zdanowicz, Zbigniew
7a4ecd1507 Add new simple kernel and method to adjust WALKER command parameters
Change-Id: Id0591908353ca744c44c7bab4e27db8332289a68
2018-10-26 15:02:28 -07:00
Artur Harasimiuk
6aa9b36a7b DebugVariables cleanup
- small cleanup
- files renaming to match convention

Change-Id: Iff9ed3a509001bcf6f154fc35f6d241ee9a968ae
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-26 17:55:25 +02:00
Jacek Danecki
ebe851e6d9 fix typo in function name
Change-Id: I629ce616aefa74821ddde9f6e9ab32e50dc8c624
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-10-26 16:04:12 +02: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
Mateusz Jablonski
baa9ce74a7 Remove obtainReusableAllocation method from memory manager
Change-Id: I629044d109822f02cfddc6418f025010e62ab65b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-26 09:06:20 +00:00
Mateusz Jablonski
d5c9816428 Remove store allocation methods from memory manager
Move setGPUAddress method to WddmAllocation

Change-Id: I91d877c3791e9eff69276e4258e3ce9c3111ca45
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-26 10:53:43 +02:00
Mrozek, Michal
f992cff0c3 Limit the number of generated AUB tests.
Change-Id: Iccdafafa8e42bc2223c60c019ae37539e4579391
2018-10-26 10:42:30 +02:00
Mrozek, Michal
40d9f97e7a Use memory constants instead of hard coded values.
Change-Id: I4be62ec34cb7b7bcdeebb4ff82abe0c17f59af85
2018-10-26 09:05:24 +02:00
Mateusz Jablonski
129380c1a6 Cleanup host ptr manager
Change-Id: I0fc9df41a08255eef8072666c1c5c16806e0f7cf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-26 08:26:38 +02:00
Mrozek, Michal
e128cb7a7c Make sure that non null handle is returned from registerTimNotificationMock
Change-Id: I8eca792fb6938150fa0629b11e84f94c0a736a56
2018-10-26 06:43:44 +02:00
Jeff McJunkin
bf0ef57d03 Update BUILD_Ubuntu.md
You accidentally a word.

https://github.com/intel/compute-runtime/pull/104

Change-Id: Id9240d6dcae7e2612be689f90519ff83d0b75049
2018-10-26 00:17:31 +02:00
Hoppe, Mateusz
bf10858f59 Fix SchedulerGWS debug print
- GWS size was not printed

Change-Id: I80347e91cc53f8cb220172e69e1a67404894149f
2018-10-25 23:26:12 +02:00
Artur Harasimiuk
a3ceaf8dd4 cloc: don't crash when no arguments given
Change-Id: I183577d3c3c5a9f614ed9ab161025376fa5e7ce0
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
18.43.11744
2018-10-25 21:35:44 +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
Mrozek, Michal
56d10d7fb9 Enhance AUB comments.
Change-Id: I1ff53c9f60950cfe34706153578e86f8d36fc941
2018-10-25 17:58:44 +02:00
Maciej Dziuban
bd431edb46 Return trimCallbackHandle from register method instead of storing in Wddm
Change-Id: Iddfb6a926311480e355d52e5bf3e6379ec96f7a9
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-25 17:17:52 +02:00
Maciej Dziuban
4aae1a817b Pass Wddm to WddmResidencyController
Change-Id: I2379ffdfb740a869f6d157ed22f40ce509d6bebe
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-10-25 17:16:41 +02:00
Kowalczuk, Jakub
8ead8f727f Control enabling of local memory based on OS and HW Capabilities
Change-Id: Ia26c856aeef27fe638b7a6e895cc289859f3c579
2018-10-25 16:36:47 +02:00
Mrozek, Michal
7319023b0f Add capability to use malloc for Heap32 base.
- shift page tables to lower bits

Change-Id: I54dcba72255215cf5be75ba425fc27727b0bfd98
2018-10-25 16:20:00 +02:00
Artur Harasimiuk
08a55f05b3 infrastructure update
Change-Id: I9938cb7183b96b791b40ffcaaa2952211c4b0c85
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-25 14:39:49 +02:00
Artur Harasimiuk
e667886700 package separation
Do not add intel-graphics-compiler nor intel-gmmlib libraries to Neo
package.

Change-Id: I97a8ca77ddcdcbd633e3bc99296938faefbc0327
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-10-25 11:55:28 +02:00
Mateusz Jablonski
79804652d5 Remove not needed mutex from memory manager
Change-Id: Ia362b8fa400bcd2f97d779296af12e13e138792d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-25 06:03:22 +00:00
Milczarek, Slawomir
cd8f08b94b AUB CSR functions to operate on engine instance
Change-Id: I928cf5f7c25980fdfb2da825cbe062b5497c328a
2018-10-24 16:33:11 -07:00
Zdanowicz, Zbigniew
0a7c13f805 Add test fixture for set of simple kernels from simple_kernels.cl
Change-Id: I4e9bde6f1a72eb15c58d09a1ad24f98ccda5a08d
2018-10-24 19:31:44 +02:00