Use DeviceBitfield in applyMemoryFlags()

Change-Id: I62563df2424f802509fa5669de2fe61e8918e96f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
This commit is contained in:
Pawel Wilma
2019-02-28 12:23:13 +01:00
committed by sys_ocldev
parent 426a7b6efe
commit fbcdee4cf4
3 changed files with 4 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ Gmm::Gmm(const void *alignedPtr, size_t alignedSize, bool uncacheable, bool pref
}
applyAuxFlagsForBuffer(preferRenderCompressed);
applyMemoryFlags(systemMemoryPool);
applyMemoryFlags(systemMemoryPool, devicesBitfield);
gmmResourceInfo.reset(GmmResourceInfo::create(&resourceParams));
}

View File

@@ -37,7 +37,7 @@ class Gmm {
void applyAuxFlagsForImage(ImageInfo &imgInfo);
void applyAuxFlagsForBuffer(bool preferRenderCompression);
void applyMemoryFlags(bool systemMemoryPool);
void applyMemoryFlags(bool systemMemoryPool, DevicesBitfield &devicesBitfield);
bool unifiedAuxTranslationCapable() const;
bool hasMultisampleControlSurface() const;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 Intel Corporation
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -38,4 +38,4 @@ GMM_CUBE_FACE_ENUM GmmHelper::getCubeFaceIndex(uint32_t target) {
void Gmm::applyAuxFlagsForImage(ImageInfo &imgInfo) {}
void Gmm::applyAuxFlagsForBuffer(bool preferRenderCompression) {}
void Gmm::applyMemoryFlags(bool systemMemoryPool) { this->useSystemMemoryPool = systemMemoryPool; }
void Gmm::applyMemoryFlags(bool systemMemoryPool, DevicesBitfield &devicesBitfield) { this->useSystemMemoryPool = systemMemoryPool; }