Commit Graph

1565 Commits

Author SHA1 Message Date
Dunajski, Bartosz 7e72b16aa4 Add processProperties method to CommandQueue constructor
Change-Id: If5b88de5311e3ab3973e47e70a1027cd7e0e791c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-23 13:08:42 +01:00
Kowalczuk, Jakub 344e92acfa Add source level debugger header from SDK
Change-Id: I9898ec8892798facb71ccae0547c894b6b5a0288
2018-11-23 12:22:08 +01:00
Mrozek, Michal 61e7ae9280 Refactor pipe control post sync programming.
Change-Id: I81f4840345494c6d32679e29faaff786677cb4b0
2018-11-23 11:42:32 +01:00
Mateusz Jablonski d961bd8354 Implement deferrable allocation deletion
Change-Id: I5e99d1bbb920619f63b71573335dc76f19c796a6
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-11-23 11:28:52 +01:00
Dunajski, Bartosz 3ad33bf1b8 Allow Device creating multiple CSRs [3/n]
Add CSR from Device to CommandQueue

Change-Id: Iaccf3c73d25e357242837677777d0513e81f520e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-23 10:51:34 +01:00
Mrozek, Michal fbf0d44fff Initialize tag to 0 in tbx mode.
Change-Id: Ic85984384446cb75bdcebe1ec50fa4cc1dd69600
2018-11-23 08:09:42 +01:00
Dunajski, Bartosz 706d9f8070 Allow Device creating multiple CSRs [2/n]
Create new OsContext per CSR

Change-Id: I8dad7fc1ab450e560f78eba3152b5913791e59a3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-22 14:29:44 +01:00
Filip Hazubski 3cb8683fb4 Process extra properties for Context
Change-Id: Ic4b3af368a734109188dcd725f1fcf8c17fbb59e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-11-22 13:28:58 +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
Pawel Wilma 2f15ca0508 Add AUB registry key for additional MMIO registers list
Change-Id: Ib478e91d8df21c48f83bfa97a4ea72c41c2f065d
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-11-21 16:41:44 +01:00
Cetnerowski, Adam 469fe40072 Revert "Expose spirv extensions"
This reverts commit bbc7afc952.

Change-Id: I103c55707b81745822bf355a1df011e0d0802e17
2018-11-21 15:51:37 +01:00
Mrozek, Michal e2c9a25d03 Add concept of chunks into timestamp packets.
Change-Id: Ic9a978224862e237a7268525f05b059756da06e7
2018-11-21 15:22:49 +01:00
Mrozek, Michal 7488d7971e Add expectNotEqualMemory to AUB fixture.
Change-Id: Ibb7d59124915ed56b9eb2d9b5b25faa497312060
2018-11-21 14:23:47 +01:00
Filip Hazubski ad7765f010 Infrastructure update
Change-Id: Ib1c1faea2b1324de15e37bdaba70067ed15dce19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-11-21 14:09:46 +01:00
Cetnerowski, Adam d46969a7f2 Rename offline compiler: cloc -> ocloc
Change-Id: I0595bac4c7266e77bd2ee17588694233547c8315
2018-11-21 13:31:47 +01:00
Dunajski, Bartosz af46d88fc1 Allow Device creating multiple CSRs [1/n]
Change-Id: Ie5d8d89aa388c608d5464919059c28a054ac9b1e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-21 12:37:25 +01:00
Maciej Dziuban c4239dcd3d Refactor WddmResidencyController methods implementations
- trimResidency
- trimResidencyToBudget
- makeResidentResidencyAllocations

Change-Id: Ibf81e31966c8d8347fd5caf2f6a4bf8fe75fab5f
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-11-21 12:05:37 +01:00
Krystian 546afdf7f0 OCL Encoder retVal fix
Change-Id: I679ca3b12b5472b58358d89ead53c0889ed01234
2018-11-21 10:00:43 +01:00
Artur Harasimiuk 8d4808045b don't check for vaGetLibFunc function when libva not found
also, check whether libva requires adding of extra include directories
to build properly.

Change-Id: I4274a0b80725c1b4305a465db344b12f234ec359
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-21 09:15:54 +01:00
Kai Chen 5f8209af4f Recover some needed test cases in drm_memory_manager_test
Recover some test code in drm_memory_manager_test for checking
MMAP_ALLOCATOR allocation type, mmMockCallCount and munmapMockCallCount.

Change-Id: I043f4f118be7e6bf2334efbbb6f5d8e0d620421a
Signed-off-by: Kai Chen <kai.chen@intel.com>
2018-11-21 08:07:18 +01:00
Artur Harasimiuk ebfba1dc4a add libva to manifest
Change-Id: I13f93a57754662a5f2d94a55fe23af0082b42de6
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-20 19:49:53 +01:00
Venevtsev, Igor c2e9002d22 Generate only 2 AUBs for unaligned Read/WriteBuffer tests
Change-Id: I9843d8bbec0a8a12e4cce97ca3cfbc91527de9bc
2018-11-20 15:41:28 +01:00
Dunajski, Bartosz 1ff92d51dc Initial implementation of PCH for Windows
Change-Id: Ib083e3dac003a75ae67d2e2747dde6dd0e6ff92d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-20 13:42:49 +01:00
Mrozek, Michal 3f63aeeb74 Remove redundant code.
Change-Id: I3754c94671605db2545897d22b68b6c8e8aae9d1
2018-11-20 12:25:24 +01:00
Adam Cetnerowski bbc7afc952 Expose spirv extensions
Change-Id: I64d05ed2bcc4c3ae005c39b9c22d0f67d7ca6a7e
2018-11-20 11:52:02 +01:00
Dunajski, Bartosz d6870a896b Reduce tag pool size to 1 for AUBs
Change-Id: I3a3513250b10e899795e149bff2739193a725f84
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-20 11:42:32 +01:00
Stefanowski, Adam 96d07db545 Move wddm->init from wddmCSR to getDevices
Change-Id: If88f526792596108e038ec05c1d305e9452506f2
2018-11-20 09:40:57 +01:00
Venevtsev, Igor 6ea863e440 Fix Read/WriteBuffer for unaligned offsets
Change-Id: Ia8daff3e95bd724a9f678eb471dbb44a66cc0bc7
2018-11-20 09:25:12 +01:00
Artur Harasimiuk bc211a7103 infrastructure update
Change-Id: I68d7ed0f0d81580f56334a99d0bf5d54bb7b6795
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-19 22:58:26 +01:00
Mrozek, Michal 1c6fb9def4 Return pointer to clCreateBufferWithPropertiesINTEL.
Change-Id: I36c5e1e0ed9a9032e7f5d3653b413ad1911c37a5
2018-11-19 15:13:32 +01:00
Mrozek, Michal c0f6af1df3 Use maxOsContextCount to initialize trimCandidateList for WDDM allocations.
Change-Id: Icc65d19ed45bb1aa1a3dba4de536cf85ab9b906b
2018-11-19 11:24:16 +01:00
Dunajski, Bartosz ac15e7f3ac Unify expectMemory in Aubs and introduce expectMemoryNotEqual
Change-Id: Ifd52f2d3ad3badf6ea9dac2c2b9873a40efa8482
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-19 10:39:45 +01:00
Kai Chen 85b60dff0f Linux GPU address allocator for devices with reduced address space
Code implementation of GPU address allocator for devices with reduced
address space.

Change-Id: Ieb0412c5930fdd71f90741055cf89c0338b01133
Signed-off-by: Kai Chen <kai.chen@intel.com>
2018-11-19 10:20:25 +01:00
Milczarek, Slawomir 48562c1d79 Add the BRANCH_TYPE definition to cmake
Change-Id: I8091f0e31eae88eb3ebf8152dd5114baed9d1c8e
2018-11-16 19:33:02 -08:00
Jacek Danecki 9edafd4acf update Arch builds
Use igc and gmmlib packages versions from fedora.spec.in to download
deb packages from launchpad.net.

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

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

Change-Id: Ifb83a12a1fb5d1bb07e6b695db4257d76b8316bf
2018-11-16 22:53:31 +01:00
Krystian 5b9f5a6d9e OCLDecoder PatchListSize fix
Change-Id: I8e4f809464b88d06ff4b5611888f1e6965aa4f19
2018-11-16 21:01:28 +01:00
Mateusz Jablonski 66492a53a4 Change type of residency task count to uint32_t
Move definitions of objectNotUsed and objectNotResident to GraphicsAllocation

Change-Id: I2aec604a865cc6c975e9d1121028cbdd35c0b18a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-11-16 16:04:48 +01:00
Dunajski, Bartosz bd4ea652ec Make Timestamp allocations OneTimeAubWritable
Change-Id: I22e973714e4df1b3a07d8fb45cdab37b28a6433e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-16 15:49:25 +01:00
Mrozek, Michal 08424d798f Enable power saving mode for queues created with throttle hint low.
- When queue is created with throttle hint low it should be power conservative
- With this change whenever queues with low throttle setting requests wait
for GPU completion, such wait will be handled in power conservative manner.
- Whenever GPU is not completed, waiting thread will be put to sleep and will
for GPU completion that triggers the wake up interrupt.

Change-Id: I9f34872a38ab9f5952f9d9623ea43503fc3dd587
2018-11-16 15:20:31 +01:00
Mrozek, Michal b897377306 Disable optimization in tests on Linux.
- Significantly improves build times.

Change-Id: I7748a348f770d3500a923618cf4534604a8f7f38
2018-11-16 13:29:24 +01:00
Mrozek, Michal 4ba251ab59 Disable optimizations for tests on Windows.
- Significantly improves build time.

Change-Id: Ie6ed8033622dd475ee0f4750eabf1f7236830c37
2018-11-16 12:56:18 +01:00
Dunajski, Bartosz 2249917695 Minor cleanup in ULT CSR
Change-Id: I810cd0bd5dd13d8ba631316d5fb86e12905497d8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-16 11:45:07 +01:00
Dunajski, Bartosz 9345b25352 AUB services update
Change-Id: I451794f78fa0379c3f5f8cd7a913f350d0decb3c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-16 11:08:47 +01:00
Mrozek, Michal b102f8556e Add missing makeResident call on debug surface.
Change-Id: I9c2d1bcf608dbfc71a3859b237e249d41810c153
2018-11-16 09:38:55 +01:00
Jacek Danecki a49b1950eb use intel-gmmlib-* packages to build Neo on Ubuntu
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

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

Change-Id: Ica16f219107ec0aefbf9b7db464b9b27820e409c
2018-11-16 08:48:40 +01:00
Maciej Dziuban 969d4da811 Cleanup WddmResidencyController related code
- Move trimCallback from WddmMemoryManager
- Refactor lastFenceValue accessors to be less generic

Change-Id: I01b31ccb81a5ecc04d07912061326428b07a59bf
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-11-16 08:34:18 +01:00
Jacek Danecki c389232e93 add scripts to build Neo on Fedora 29 using copr packages
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

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

Change-Id: Iec4c9a384dafa6d89276e246edb0892d0881ad01
2018-11-15 23:34:26 +01:00
Artur Harasimiuk 29603eceda cmake: properly set flags for release-internal
Change-Id: Ic080c67acacb48005238d5db44dc76736a85fca8
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-15 18:46:01 +01:00
Katarzyna Cencelewska 76b97b4955 Change type to atomic for variables in mock_drm_memory_manager.h
fix for sporadic failure in utl

Change-Id: Icdcdd600e8114f0b73ade4bc5e714b98495645e7
2018-11-15 18:30:25 +01:00
Pawel Wilma bb4cf07737 Infrastructure update
Change-Id: If2667a5198395f8f34d1ae03d80ad0dfe404b741
2018-11-15 14:29:10 +01:00