Limit blit height on PVC

Resolves: NEO-7540

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2022-12-20 08:39:42 +00:00
committed by Compute-Runtime-Automation
parent e38cbd9671
commit 7d0ef38a83
14 changed files with 132 additions and 103 deletions

View File

@@ -21,11 +21,13 @@ enum class MemoryPool {
namespace MemoryPoolHelper {
inline bool isSystemMemoryPool(MemoryPool pool) {
return pool == MemoryPool::System4KBPages ||
pool == MemoryPool::System64KBPages ||
pool == MemoryPool::System4KBPagesWith32BitGpuAddressing ||
pool == MemoryPool::System64KBPagesWith32BitGpuAddressing;
template <typename... Args>
inline bool isSystemMemoryPool(Args... pool) {
return ((pool == MemoryPool::System4KBPages ||
pool == MemoryPool::System64KBPages ||
pool == MemoryPool::System4KBPagesWith32BitGpuAddressing ||
pool == MemoryPool::System64KBPagesWith32BitGpuAddressing) &&
...);
}
} // namespace MemoryPoolHelper