From ce1c5d747b9c9e5c7791879f7715c3898ad547fa Mon Sep 17 00:00:00 2001 From: Lukasz Jobczyk Date: Mon, 13 Oct 2025 12:47:09 +0000 Subject: [PATCH] fix: fix data race issue Signed-off-by: Lukasz Jobczyk --- shared/source/command_stream/tbx_command_stream_receiver_hw.inl | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/source/command_stream/tbx_command_stream_receiver_hw.inl b/shared/source/command_stream/tbx_command_stream_receiver_hw.inl index ee1dcea20f..8d4bd9e221 100644 --- a/shared/source/command_stream/tbx_command_stream_receiver_hw.inl +++ b/shared/source/command_stream/tbx_command_stream_receiver_hw.inl @@ -361,6 +361,7 @@ void TbxCommandStreamReceiverHw::processEviction() { template void TbxCommandStreamReceiverHw::makeNonResident(GraphicsAllocation &gfxAllocation) { + auto lock = this->obtainUniqueOwnership(); if (gfxAllocation.isResident(osContext->getContextId())) { this->allocationsForDownload.insert(&gfxAllocation); }