Hoppe, Mateusz
d7ce6ef8d1
Allocate images through preferred pool call
...
Change-Id: I79c9c1a0a95a8a3e26ed690530b71ef504cc7ff8
2019-01-25 09:05:25 +01:00
Mateusz Jablonski
f90cfb9199
Fix typo: freeGpuVirtualAddres -> freeGpuVirtualAddress
...
Change-Id: I6cbec2bd4ec5863e2c5df75aa60b3a7a0dbb94c6
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-01-24 16:08:00 +00:00
Mateusz Jablonski
f332bf369e
Set allocation's lock state only in lockResource and unlockResource methods
...
Change-Id: I60f35801287166f5bdb0dfcd31ff0118c56ec22a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-01-24 15:15:27 +01:00
Pawel Wilma
09c62ca44c
Possibility to apply additional build options
...
Change-Id: Ic654f57b462e32f464db9df94aed1061bc5a7bac
2019-01-24 11:39:00 +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
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
Mateusz Jablonski
b229df3cc4
Remove debug flag EnableMakeResidentOnMapGpuVa
...
Change-Id: I12063762818ed58861ec80f0d8a798312374d198
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-01-23 14:43:40 +01:00
Milczarek, Slawomir
b2fe74ca9d
AUB capture with writeMemory on aubManager
...
Change-Id: Ie954b0d0f72b093f12ef33c93af5a3dc845559dc
2019-01-23 13:54:28 +01:00
Dunajski, Bartosz
996d4f8387
Update GMM API to query TileMode for SurfaceState programming
...
Change-Id: I7cef2d8651037874811f8e3fefabc70470eec5bb
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-01-23 08:35:15 +01:00
Milczarek, Slawomir
21f855b719
AubStream update (1/n)
...
Change-Id: I6579e7af2015493490c5edcc413dcb2e6c804b9f
2019-01-22 12:19:21 +01:00
Piotr Fusik
40870f9c7d
Retry mmap with a smaller size.
...
Change-Id: If8ea046af789394c1f58be9cc3a2b8100cee214a
2019-01-22 11:04:16 +01:00
Mateusz Jablonski
ad3bfd84cb
Add functionality to make resident before locking resource
...
Change-Id: I0963c1edcb43f409e9dd62cb46a0da1f2b05667b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-01-22 08:28:12 +01:00
Katarzyna Cencelewska
72f17d6435
Add check that Intel OpenGl is used
...
before return device_id in clGetGlContextInfoKHR
Change-Id: Ic6dce407a1666909d468d89a8576c907abc63b61
2019-01-22 08:10:46 +01:00
Chodor, Jaroslaw
160fc23575
Reordering debug settings
...
Change-Id: I80999eda6aa5b4f714dcbc505a4485cd456e4967
2019-01-21 16:32:32 +01:00
Chodor, Jaroslaw
e663d51481
Adding support for debug variables translation
...
Additionally, adding flag to override gdi
Change-Id: I52759aa8c5f1149a34167429289d3f3876cdcb92
2019-01-19 20:12:41 +01:00
Filip Hazubski
fae6c5fce2
Add bit helpers
...
Change-Id: I3f29793f0fec7555c1440db7504e4adbb6904d4f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-01-18 12:19:27 +01:00
Zdanowicz, Zbigniew
158f200476
Add HW commands const definitions
...
Change-Id: If2e9d7f7f707b7b8c7bd8dbd3853ab3b6dad0c9a
2019-01-18 12:13:25 +01:00
Dunajski, Bartosz
0c2f5aa491
Change width programming for GMM
...
Change-Id: If2a1a0d582cbebb209de182895d1f6decedcfb73
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-01-18 09:53:27 +01:00
Kamil Diedrich
e2092d29ff
Fix for receiving appropriate tokens during builtin compilation
...
Change-Id: I5f73bd95bbbd0e2b59dcc85beebd3d1ee205782a
2019-01-17 14:31:29 +01:00
Filip Hazubski
2d321cb557
Add option to disable caching for a resource
...
Introduce CL_MEM_LOCALLY_UNCACHED_RESOURCE flag that can be used with
clCreateBufferWithPropertiesINTEL()
Change-Id: I9f208f00952cdca7482371ec21cbc57c08435b52
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-01-17 13:32:36 +01:00
Wilma, Pawel
3a11da8ec8
Reduce max planar YUV height to 16352 rows
...
The UV plane placement granularity has been changed to full tile (32 rows).
Because UV plane offset size in Surface State is 14 bits, the maximal height
has to be reduced from 16380 to 16352 to allow maximal offset to fit into
14 bits.
Change-Id: I2b21719d8d63a7f075150eef492ee44bd4dfe294
Signed-off-by: Wilma, Pawel <pawel.wilma@intel.com >
2019-01-17 13:02:46 +01:00
Zdunowski, Piotr
f7271d2225
Fix usage of memcpy.
...
Change-Id: Ibcf15ec5b637cb9753eea4250bc88b5453408459
2019-01-17 12:30:56 +01:00
Pawel Wilma
dcbdbd92b9
Wait for paging frence after calling makeResident() on mapGpuVa
...
Change-Id: I289c4be891b2d7c1b50a0100cbdde8688f3068d5
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-01-17 10:41:28 +01:00
Zdunowski, Piotr
75a635fdc5
[1/n] Log allocation placement.
...
Change-Id: I9ab61e10dcb0fcbbaf859c077a64ce7a4f2c213c
2019-01-16 16:46:50 +01:00
Pawel Wilma
9036882d11
Refactoring of additional MMIO registers in AubDump
...
Change-Id: I97c0cc25aa24c6abcff4ba7469d6a6e3f0c12b86
2019-01-16 11:16:54 +01:00
Zdanowicz, Zbigniew
f18f9a5f88
Use queue command buffer to program media sampler at submit
...
Change-Id: I7cc410a7432564b5f15dbb6943f48b577dfa6936
2019-01-15 15:45:44 +01:00
Dunajski, Bartosz
1de0bda212
Initialize HardwareContext with valid deviceIndex and engineIndex
...
Change-Id: I8848936340e8f4b33ac5ed5d0ae85d9f580171ca
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-01-15 15:33:42 +01:00
Mrozek, Michal
7470246376
Add new flag to dispatch info.
...
Change-Id: I0d78658529f3e80f1694b14ff05425ecceafd340
2019-01-15 12:21:18 +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
Zdanowicz, Zbigniew
84d35c8951
Add media programming call at the end of command buffer
...
Change-Id: Ie60bc384c9385071aa77d2516e1d3649298a1233
2019-01-15 11:35:58 +01:00
Stefanowski, Adam
1001f76085
Add logic for Events in multi-thread scenario
...
- inc refCount when enqueue is blocked and dec after flushing
Change-Id: I9e8f8d226897124a7e51f2473939d53868bef7a2
2019-01-14 19:45:26 +01:00
Mrozek, Michal
9cbfa3892d
Remove debug flag.
...
Change-Id: I013e1f27477d67fd33ba6c559dffb26d06a0db8b
2019-01-14 15:19:57 +01:00
Filip Hazubski
ec03210687
Update clEnqueueVerifyMemory
...
- return success also for non aub CSRs
Change-Id: Iac7fdcd58e4b76a325ef67fd266f183d779ca956
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-01-14 14:37:09 +01:00
Mrozek, Michal
6c902faf0b
Cleanup around Walker programming.
...
- remove redundant methods.
- remove redundant parameters.
- Simplify the logic of programWalker
Change-Id: I6112bb19fd0008530f5e5510238bf42e669379b7
2019-01-14 10:12:38 +01:00
Mrozek, Michal
15bfdc101f
Refactor programWalker.
...
- Pass variables computed in upper layers via args.
- declare variables prior to functions.
- Change some names for better verbosity.
Change-Id: I603b9ada1f62a08de5ac0fce177ccd840f2ce98c
2019-01-14 09:02:14 +01:00
Dunajski, Bartosz
8ae7de7b0e
Create HardwareContext only when osContext is available
...
Change-Id: I8bcf2cb20f0e1e6b9da98b477f5be206407a7a57
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-01-13 15:12:07 +01:00
Artur Harasimiuk
c38ba275d6
remove unused files
...
file is not used at all - removing it
Change-Id: I6be19c61688ac400cde278305ab77b19f3dbf5bf
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2019-01-11 23:13:34 +01:00
Pawel Wilma
14e8fdd8f8
Fix for incorrect timestamp offset calculation in event profiling info
...
Change-Id: I634c29daf4734b24e4075542dc6550c531977f0a
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-01-11 16:39:05 +01:00
Dunajski, Bartosz
23b7b9a8a8
Make local copy of EventsWaitlist for CommandComputeKernel
...
Change-Id: Ibbdfc6732fc254e73407605ebb26f88e5552c0e8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-01-11 15:05:42 +01:00
Piotr Fusik
30dd15144c
Add debug variable to disable host ptr tracking.
...
Change-Id: Ifc866e06a4519e7590d40d8ad136147ecc80225d
2019-01-11 12:06:52 +01:00
Hoppe, Mateusz
64ff9d30b7
Fixes for misaligned hostPtr enqueueReadWrite
...
- use getGpuAddress for BuiltinOpParams
- fix read/writeImage
Change-Id: I2e6e9a1d91871fa9f22851f31eb5a7b337b5aecc
2019-01-11 09:14:47 +01:00
Kowalczuk, Jakub
3c59bae5a4
Set NoGfxMemory in Gmm Constructor
...
Change-Id: Iee36e6de82db12c84970e68e1c940b67ec957eab
2019-01-11 08:11:22 +01:00
Mrozek, Michal
ef73bb8c11
Move Walker specific code to dedicated method.
...
- move cache flushes after the Walker.
Change-Id: I58c5e76bad22ac42da2c466ef008ef5bf96df077
2019-01-10 16:36:56 +01:00
Mateusz Jablonski
ec18d7fee6
Add debug break in case of no synchronization between devices
...
Change-Id: If10ed848725b1101d67dbbac318f0aa283db1e2f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-01-10 13:23:06 +01:00
Dunajski, Bartosz
6ea2d8c2a9
Extract creating aub file name to separate function
...
Change-Id: Ie0506f1847684cc3aabd8bee153c944b2f49bdb8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-01-09 20:45:04 +01:00
Hoppe, Mateusz
3381dc258b
Fix for ReadWriteBufferRect with misaligned hostPtr
...
Change-Id: I026f3512e6501b7e3a4cd5b9b6e9010a0b3b8a72
2019-01-09 14:57:25 +01:00
Kamil Diedrich
8feab5e570
Remove commandStreamReceiver lock in clSetUserEventStatus
...
Change-Id: I9a095e2b34aef33f8c8fb210445727dec3aefbfa
2019-01-09 12:46:45 +01:00
Mrozek, Michal
a58a897bf3
Move unrecoverable prior to pointer deference.
...
Change-Id: I35c33de88fd4c2286a678f250df3ff9b3b495097
2019-01-09 10:24:18 +01:00
Hoppe, Mateusz
cbc4d349a8
Do not align down pointer passed to hostPtr allocation
...
- do not align up hostPtr allocation size
- align BaseAddress programmed in SurfaceState to DWORD
Change-Id: Ic6d02e53fd13dda881f8eb845a131bffe4deb45c
2019-01-08 21:21:34 +01:00
Mrozek, Michal
acc5e87b40
Change CL_MEM_USE_HOST_PTR buffer allocation scheme.
...
- Choose BUFFER type if local memory is present.
- add CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL for allocations that
require host pointer storage.
Change-Id: Ifd3c74800cd53a2a9bb2171212a47ef5bcffe2a1
2019-01-08 16:24:10 +01:00