mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
[1/3] - enable implicit flush for GPU idle This reverts commit 65751513cf05b605cb757a882edbd6269b20ecc1. Related-To: NEO-6827 Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
30 lines
708 B
C++
30 lines
708 B
C++
/*
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/os_interface/os_interface.h"
|
|
#include "shared/source/os_interface/windows/wddm/wddm.h"
|
|
|
|
namespace NEO {
|
|
|
|
bool OSInterface::osEnabled64kbPages = true;
|
|
bool OSInterface::newResourceImplicitFlush = true;
|
|
bool OSInterface::gpuIdleImplicitFlush = false;
|
|
bool OSInterface::requiresSupportForWddmTrimNotification = true;
|
|
|
|
bool OSInterface::isDebugAttachAvailable() const {
|
|
if (driverModel) {
|
|
return driverModel->as<NEO::Wddm>()->isDebugAttachAvailable();
|
|
}
|
|
return false;
|
|
}
|
|
|
|
bool OSInterface::isLockablePointer(bool isLockable) const {
|
|
return isLockable;
|
|
}
|
|
|
|
} // namespace NEO
|