fix: enable usm compression on linux

Related-To: NEO-12056
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
This commit is contained in:
Maciej Bielski
2025-02-04 10:37:13 +00:00
committed by Compute-Runtime-Automation
parent 4679f663be
commit 971b7c27a2
6 changed files with 6 additions and 25 deletions

View File

@@ -2966,13 +2966,6 @@ bool DrmMemoryManager::isCompressionSupportedForShareable(bool isShareable) {
return !isShareable;
}
bool DrmMemoryManager::usmCompressionSupported(Device *device) {
if (NEO::debugManager.flags.RenderCompressedBuffersEnabled.get() != -1) {
return !!NEO::debugManager.flags.RenderCompressedBuffersEnabled.get();
}
return false;
}
void DrmMemoryManager::getExtraDeviceProperties(uint32_t rootDeviceIndex, uint32_t *moduleId, uint16_t *serverType) {
getDrm(rootDeviceIndex).getIoctlHelper()->queryDeviceParams(moduleId, serverType);
}