Skip to content

Commit

Permalink
[bridge] fix wait
Browse files Browse the repository at this point in the history
  • Loading branch information
DHrpcs3 committed Dec 31, 2023
1 parent ebe051f commit bbfcda5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/amdgpu/bridge/include/amdgpu/bridge/bridge.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
;
}
}
Expand Down

0 comments on commit bbfcda5

Please sign in to comment.