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); }