mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Add infrastructure to override usage in getDriverProtectionBits. Related-To: NEO-14482 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
19 lines
351 B
C++
19 lines
351 B
C++
/*
|
|
* Copyright (C) 2021-2025 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gmm_helper/resource_info.h"
|
|
|
|
namespace NEO {
|
|
|
|
uint64_t GmmResourceInfo::getDriverProtectionBits(bool overrideUsage, uint32_t usage) {
|
|
return 0u;
|
|
}
|
|
|
|
bool GmmResourceInfo::isDisplayable() const {
|
|
return false;
|
|
}
|
|
} // namespace NEO
|