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
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
Mateusz Jablonski
a531751001
Remove ULT code from runtime
...
Change-Id: I2faf52070f980d031788fc6946df8534d96c639b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-24 17:45:08 +02:00
Mrozek, Michal
41e77d2fdf
Add context types.
...
Change-Id: Ie8f76de97ce2a41c55e78b715b0ab7db039f5b3b
2018-10-24 16:54:56 +02:00
Pawel Wilma
d44507708c
Context creation flags in AubDump
...
Change-Id: Ia9651d37fa716351728633f0bee5b0eae98e758f
2018-10-24 15:56:22 +02:00
Mateusz Jablonski
477a06a4eb
Move creation of os storage for host ptr allocation to host ptr manager
...
Change-Id: If7b6c17e21c72c807031232a502265559dfa48b1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-24 10:23:25 +02:00
Maciej Dziuban
f374696f1d
Move MonitoredFence to WddmResidencyController
...
Change-Id: Iac99e7d730fda26d13feed56d5e4c50adf115e51
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-24 09:35:42 +02:00
Mrozek, Michal
a7fa9d736e
Delete freeGmm interface.
...
Change-Id: I9a3ce6f6076d5accf69be2be50126a46f9bde23d
2018-10-23 20:59:29 +02:00
Piotr Fusik
4bdf183c9d
Use the runtime CS size estimation in ULTs.
...
EnqueueOperation<GfxFamily>::getTotalSizeRequiredCS was ULTs-only.
Replace with the real CS size estimation from getCommandStream.
Change-Id: I4d15d342eb5edff6511acc9c80e13e9cc92d81ac
2018-10-23 13:07:42 +02:00
Milczarek, Slawomir
9be4850213
AUB capture with a capability to get engine instance
...
Change-Id: I52c47505476053d6e692fc9d89cca25a6e122a63
2018-10-23 11:58:13 +02:00
Mateusz Jablonski
7bd92190d9
Create class to operate on command stream receiver's allocation lists
...
Change-Id: I4262f46aa31948ed70d1152d172619b5619a2333
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-23 09:42:31 +02:00
Maciej Dziuban
7fe0a0df06
Delete OsContext from FenceData
...
This decoupling is needed to move makeResidentResidencyAllocations into
WddmResidencyController, where we have only contextId, not the context itself
Change-Id: I0d79f1dc7a51fa6b1d713deb6e9003aa2b7be1d4
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-23 09:17:09 +02:00
Mrozek, Michal
77b00fa749
Do not execute trim callback if there are no registered contexts.
...
Change-Id: I9a274281a085cdbeb98a1d495ce9ef9ab897d08a
2018-10-22 18:53:13 +02:00
Mateusz Jablonski
7ec8e6a3f2
Fix naming convention in host ptr defines
...
Change-Id: I9f0d5790031b5067b92159b078768e560990b9c6
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-22 16:29:04 +02:00
Maciej Dziuban
44dd4c9145
Store vector of trim candidate list positions in WddmAllocation
...
Change-Id: I2fb247238802fc1ccd98e42d7714063f5231249f
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-22 11:50:09 +02:00
Mateusz Jablonski
3bd8d71f0a
Don't call command stream receiver's cleanupResources twice
...
Change-Id: I9cce3eacbb805770658be91c55e1fa69dc4bae5d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-19 15:31:01 +02:00
Mateusz Jablonski
36c8c6fd97
Correct casting GraphicsAllocation to DrmAllocation
...
Change-Id: I29d2e3989bc409e014888505a96119bdd7c322f5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-19 14:49:38 +02:00
Mateusz Jablonski
86be78bcc5
Add missing lock in freeAllocationsList method
...
Change-Id: I326fe830ad3c90bbe0f82bd8983bb6c2a8b36c1d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-19 10:30:30 +02:00
Zdanowicz, Zbigniew
f3a732081e
Change interface to program cross-thread data
...
Change-Id: I96bf4bddf1557f588fd745efca7b19ec2f38a78e
2018-10-18 23:55:29 +02:00
Maciej Dziuban
ac2c2763ab
Add osContextsCount argument to WddmAllocation's constructors
...
The argument is not anywhere yet, this is just a preparation
step for future change.
Change-Id: I5a441352cb5cf10d1a0ff31933041ff9521d0307
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-18 17:19:50 +02:00
Dunajski, Bartosz
ef65e6433e
Improve EnableTimestampPacket debug variable usage
...
Change-Id: I864f0dc756a7fe17a08d1bcca2d91e9b78fb730a
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-10-18 14:25:46 +02:00
Maciej Dziuban
de5ed6509f
Move WddmResidencyController to OsContext
...
Change-Id: If27d52617dec9b290b7eccc7cb4a6ae5037d7112
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-18 10:59:52 +02:00
Filip Hazubski
91f540f437
Move HW specific KernelCommandsHelper functions to a separate file
...
Change-Id: I04b0c0faaa7ff42e62c3d1765e6ba54c76ae2ee0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2018-10-17 16:48:11 +02:00
Dunajski, Bartosz
6d610983f1
Deferred Pipe Control programming and CSR flush on Barrier request
...
Change-Id: Iabae0f9159bb455518cedf7da068c7d3da72b840
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-10-17 09:31:34 +02:00
Adam Cetnerowski
7a476b7bc1
Correct HostPtr and flag usage in clCreateImage:
...
- Disallow HostPtr flags, when HostPtr is null
- Require HostPtr flag, when HostPtr is not null
Change-Id: I8f198b7c3d4052128032e1f0575b19e7af6ffac9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2018-10-16 17:43:59 +02:00
Maciej Dziuban
9399215931
Unregister trim callback
...
Change-Id: Ia6592d259a573cbc7161443945d03f6a83e88181
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-16 16:55:15 +02:00
Artur Harasimiuk
a8163f46b2
remove unused entries from lib_names.h
...
Change-Id: I97d891b04f16b9d351aa1004d54a07ad8f4ee8ac
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-10-16 16:12:15 +02:00
Mateusz Jablonski
4f028d13a1
Command stream receiver: use memory manager from execution environment
...
Change-Id: I236218a73bd7dac6e5744e3596f146b77b5ca1c8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-16 12:14:55 +02:00
Artur Harasimiuk
97c56b9de0
cmake: refactor cloc invocation
...
Change method used to pass options to cloc when compiling scheduler and
precompiled kernels. Instead of plain variable use list() which is more
convenient and flexible when generating build system.
Change-Id: Ieb90defc24a66932250dd610691650880ba1be76
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-10-16 10:40:46 +02:00
Hoppe, Mateusz
eb9d720788
Add PTE address check
...
Change-Id: I00cdf828009a347a93eb0448bf678b670d287304
2018-10-15 13:06:20 +02:00
Piotr Fusik
7543c1fb2a
Flush AUB before HW or TBX.
...
Change-Id: Ia997c6c05b2a1cb5c1968113b94ca66fbf1efe89
2018-10-13 10:52:19 +02:00
Milczarek, Slawomir
9b6aba4c55
Updated HAS_WRITE_DATA_REQ structure in tbx_proto.h
...
Change-Id: Ia22bffa828c8e6c2b975131529e2e86593285705
2018-10-12 14:47:32 -07:00
Mateusz Jablonski
8a9d0a81df
Move temporary and reusable allocation lists to command stream receiver
...
Change-Id: I40df6fe39b367e243e3710c5fdeaab3c85198d9d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2018-10-11 15:32:12 +02:00
Piotr Fusik
9e8af5e045
Validate the numKernels argument to clCreateKernelsInProgram.
...
Change-Id: I9b4ad4497c6cb090caa9b29fd7c92d0477e7f6c0
2018-10-10 21:14:13 +02:00
Napiatek, Henryk J
6d828e6653
Allow override of default platform Hardware Info Config
...
New string debug variable HardwareInfoOverride is used to
specify new Hardware Info Config to be selected, for example 1x4x8.
Change-Id: I6d939608e6551e4a9102e5ab2e08255ee4982933
2018-10-10 10:34:23 +02:00
Dunajski, Bartosz
66427f60c6
Handle TimestampPackets for non-kernel enqueues
...
Change-Id: I52ec4f43b10bf6e2a10b2455d32a90a606645d29
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-10-10 04:21:30 +02:00
Pawel Wilma
a05f832f80
Fix for batch buffer flattening
...
Change-Id: Ib13ec6573b985cf03876bd7e37a31606b230a790
2018-10-09 12:28:40 +02:00
Maciej Dziuban
07e03af67e
Extract trimCandidatesList to WddmResidencyController
...
Change-Id: I8938ee79975caf9cb09f7183c87452dc94a6b3e6
2018-10-09 00:55:10 +02:00
Mrozek, Michal
12b4d44375
Add new debug flag to limit the number of returned devices.
...
Change-Id: I01e1b6804291956fb62b84ff5df68c57b51bd17d
2018-10-09 00:35:51 +02:00
Maciej Dziuban
b2dd8a9a1d
Create WddmResidencyController to encapsulate basic residency data
...
Change-Id: I6dd94405ca5ea3a13b137c1e0ead72e615d36e00
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-08 15:11:58 +02:00
Artur Harasimiuk
a6d9e74851
Revert "Refactor of glcl sharing"
...
This reverts commit 51ecef7ec2 .
Change-Id: Ia654fe0d50a2144371c3def7e768ef9707419c61
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2018-10-08 14:03:57 +02:00
Maciej Dziuban
130a7ac8b8
Delete TypeSelector helper
...
Change-Id: Iff5fe62d31fa7b07658cfcf81ebd2c12d47e2b3b
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-10-08 13:18:36 +02:00
Hoppe, Mateusz
2f7158e035
Move createPhysicalAllocator() to a common CSR class
...
- AUB and TBX use this method and it was duplicated,
- moving to common base class allows to remove duplicates
Change-Id: Ia9f08dfb0967de1b5968ac0e531733c5b868e504
2018-10-08 11:38:57 +02:00
Pawel Wilma
5cd7ca460c
Refactoring of internal options extraction
...
Change-Id: Ice53746e696ba6de5bb2c901e713594ee90bf99c
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2018-10-05 15:28:31 +02:00