fix: disable compression for exported allocations

Related-To: NEO-12021

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2024-07-15 16:27:23 +00:00
committed by Compute-Runtime-Automation
parent 80afda1ac9
commit 432ecbc8f4
7 changed files with 25 additions and 1 deletions

View File

@@ -104,6 +104,8 @@ class DrmMemoryManager : public MemoryManager {
bool createMediaContext(uint32_t rootDeviceIndex, void *controlSharedMemoryBuffer, uint32_t controlSharedMemoryBufferSize, void *controlBatchBuffer, uint32_t controlBatchBufferSize, uint64_t &outDoorbell) override;
bool releaseMediaContext(uint32_t rootDeviceIndex, uint64_t doorbellHandle) override;
bool isCompressionSupportedForShareable(bool isShareable) override;
protected:
void registerSharedBoHandleAllocation(DrmAllocation *drmAllocation);
BufferObjectHandleWrapper tryToGetBoHandleWrapperWithSharedOwnership(int boHandle);