Commit Graph

1560 Commits

Author SHA1 Message Date
fbf0d44fff Initialize tag to 0 in tbx mode.
Change-Id: Ic85984384446cb75bdcebe1ec50fa4cc1dd69600
2018-11-23 08:09:42 +01:00
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
3cb8683fb4 Process extra properties for Context
Change-Id: Ic4b3af368a734109188dcd725f1fcf8c17fbb59e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
18.47.11882
2018-11-22 13:28:58 +01:00
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
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
469fe40072 Revert "Expose spirv extensions"
This reverts commit bbc7afc952.

Change-Id: I103c55707b81745822bf355a1df011e0d0802e17
2018-11-21 15:51:37 +01:00
e2c9a25d03 Add concept of chunks into timestamp packets.
Change-Id: Ic9a978224862e237a7268525f05b059756da06e7
2018-11-21 15:22:49 +01:00
7488d7971e Add expectNotEqualMemory to AUB fixture.
Change-Id: Ibb7d59124915ed56b9eb2d9b5b25faa497312060
2018-11-21 14:23:47 +01:00
ad7765f010 Infrastructure update
Change-Id: Ib1c1faea2b1324de15e37bdaba70067ed15dce19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-11-21 14:09:46 +01:00
d46969a7f2 Rename offline compiler: cloc -> ocloc
Change-Id: I0595bac4c7266e77bd2ee17588694233547c8315
2018-11-21 13:31:47 +01:00
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
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
546afdf7f0 OCL Encoder retVal fix
Change-Id: I679ca3b12b5472b58358d89ead53c0889ed01234
2018-11-21 10:00:43 +01:00
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
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
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
c2e9002d22 Generate only 2 AUBs for unaligned Read/WriteBuffer tests
Change-Id: I9843d8bbec0a8a12e4cce97ca3cfbc91527de9bc
2018-11-20 15:41:28 +01:00
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
3f63aeeb74 Remove redundant code.
Change-Id: I3754c94671605db2545897d22b68b6c8e8aae9d1
2018-11-20 12:25:24 +01:00
bbc7afc952 Expose spirv extensions
Change-Id: I64d05ed2bcc4c3ae005c39b9c22d0f67d7ca6a7e
2018-11-20 11:52:02 +01:00
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
96d07db545 Move wddm->init from wddmCSR to getDevices
Change-Id: If88f526792596108e038ec05c1d305e9452506f2
2018-11-20 09:40:57 +01:00
6ea863e440 Fix Read/WriteBuffer for unaligned offsets
Change-Id: Ia8daff3e95bd724a9f678eb471dbb44a66cc0bc7
2018-11-20 09:25:12 +01:00
bc211a7103 infrastructure update
Change-Id: I68d7ed0f0d81580f56334a99d0bf5d54bb7b6795
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-19 22:58:26 +01:00
1c6fb9def4 Return pointer to clCreateBufferWithPropertiesINTEL.
Change-Id: I36c5e1e0ed9a9032e7f5d3653b413ad1911c37a5
2018-11-19 15:13:32 +01:00
c0f6af1df3 Use maxOsContextCount to initialize trimCandidateList for WDDM allocations.
Change-Id: Icc65d19ed45bb1aa1a3dba4de536cf85ab9b906b
2018-11-19 11:24:16 +01:00
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
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
48562c1d79 Add the BRANCH_TYPE definition to cmake
Change-Id: I8091f0e31eae88eb3ebf8152dd5114baed9d1c8e
2018-11-16 19:33:02 -08:00
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
5b9f5a6d9e OCLDecoder PatchListSize fix
Change-Id: I8e4f809464b88d06ff4b5611888f1e6965aa4f19
2018-11-16 21:01:28 +01:00
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
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
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
b897377306 Disable optimization in tests on Linux.
- Significantly improves build times.

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

Change-Id: Ie6ed8033622dd475ee0f4750eabf1f7236830c37
2018-11-16 12:56:18 +01:00
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
9345b25352 AUB services update
Change-Id: I451794f78fa0379c3f5f8cd7a913f350d0decb3c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-16 11:08:47 +01:00
b102f8556e Add missing makeResident call on debug surface.
Change-Id: I9c2d1bcf608dbfc71a3859b237e249d41810c153
2018-11-16 09:38:55 +01:00
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
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
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
29603eceda cmake: properly set flags for release-internal
Change-Id: Ic080c67acacb48005238d5db44dc76736a85fca8
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
18.46.11837
2018-11-15 18:46:01 +01:00
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
bb4cf07737 Infrastructure update
Change-Id: If2667a5198395f8f34d1ae03d80ad0dfe404b741
2018-11-15 14:29:10 +01:00
0e0a280803 Create structure UsageInfo for task count and residency task count
Change-Id: I0899c88d9e567a09ba46461ae69cf6c80f713e67
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-11-15 14:07:05 +01:00
e599d1503b Use DebugManagerStateRestore for device caps tests
Change-Id: I21a0f42c468bffc69d6b2e6e641f1ae36d9baca4
2018-11-15 13:51:45 +01:00
b3fd643d72 ULT renaming: Create Program from IL
Change-Id: I129f8b2d3f0e36815db2b8f517ae4ea8aeab2209
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com>
2018-11-15 13:31:41 +01:00
31c6e036ef Remove size_t from kernel argument in ULTs
Change-Id: I1fb772fd99ca69bc14f283d6ecc49be95523ce59
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2018-11-15 13:08:55 +01:00
e39139d5f3 Enable non uniform aub tests
Change-Id: Ieeb4e40d889d643acea3672cd5c2fc12e99ad033
2018-11-15 12:58:45 +01:00