From 8b1bedd1f6d080df29a8a4deaf23252d5cad2fec Mon Sep 17 00:00:00 2001 From: Mateusz Hoppe Date: Tue, 20 Aug 2024 18:55:56 +0000 Subject: [PATCH] fix: call processFlushResidency on aub operations handler - in Os with AubDump mode Related-To: NEO-11719 Signed-off-by: Mateusz Hoppe --- .../linux/drm_memory_operations_handler_with_aub_dump.h | 4 ++++ .../windows/wddm_memory_operations_handler_with_aub_dump.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/shared/source/os_interface/linux/drm_memory_operations_handler_with_aub_dump.h b/shared/source/os_interface/linux/drm_memory_operations_handler_with_aub_dump.h index 37eef95270..64fb71e7ed 100644 --- a/shared/source/os_interface/linux/drm_memory_operations_handler_with_aub_dump.h +++ b/shared/source/os_interface/linux/drm_memory_operations_handler_with_aub_dump.h @@ -66,6 +66,10 @@ class DrmMemoryOperationsHandlerWithAubDump : public BaseOperationsHandler { return BaseOperationsHandler::evictWithinOsContext(osContext, gfxAllocation); } + void processFlushResidency(CommandStreamReceiver *csr) override { + aubMemoryOperationsHandler->processFlushResidency(csr); + } + protected: std::unique_ptr aubMemoryOperationsHandler; }; diff --git a/shared/source/os_interface/windows/wddm_memory_operations_handler_with_aub_dump.h b/shared/source/os_interface/windows/wddm_memory_operations_handler_with_aub_dump.h index fbe4156612..5450e230c0 100644 --- a/shared/source/os_interface/windows/wddm_memory_operations_handler_with_aub_dump.h +++ b/shared/source/os_interface/windows/wddm_memory_operations_handler_with_aub_dump.h @@ -61,6 +61,10 @@ class WddmMemoryOperationsHandlerWithAubDump : public BaseOperationsHandler { return BaseOperationsHandler::evictWithinOsContext(osContext, gfxAllocation); } + void processFlushResidency(CommandStreamReceiver *csr) override { + aubMemoryOperationsHandler->processFlushResidency(csr); + } + protected: std::unique_ptr aubMemoryOperationsHandler; };