From bbfcda5f10332d5c9df9455268e35e3aaf132c74 Mon Sep 17 00:00:00 2001 From: DH Date: Sun, 31 Dec 2023 19:40:35 +0300 Subject: [PATCH] [bridge] fix wait --- hw/amdgpu/bridge/include/amdgpu/bridge/bridge.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/amdgpu/bridge/include/amdgpu/bridge/bridge.hpp b/hw/amdgpu/bridge/include/amdgpu/bridge/bridge.hpp index 8f365634..c5ec3e6d 100644 --- a/hw/amdgpu/bridge/include/amdgpu/bridge/bridge.hpp +++ b/hw/amdgpu/bridge/include/amdgpu/bridge/bridge.hpp @@ -223,13 +223,13 @@ struct BridgePusher { } position = 0; - waitPuller(cmdSize); + waitPuller(0); } return position; } void waitPuller(std::uint64_t pullValue) { - while (header->pull < pullValue) { + while (header->pull != pullValue) { ; } }