Skip to content

Commit

Permalink
gpu: upload missed cache change
Browse files Browse the repository at this point in the history
  • Loading branch information
DHrpcs3 committed Nov 1, 2024
1 parent c90eb84 commit 09f2d5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpcsx/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ handle_signal(int sig, siginfo_t *info, void *ucontext) {
continue;
}

gpuContext.gpuCacheCommandIdle.fetch_add(1, std::memory_order::release);
gpuContext.gpuCacheCommandIdle.notify_all();

while (!gpuContext.cachePages[vmid][page].compare_exchange_weak(
flags, flags & ~amdgpu::kPageLazyLock,
std::memory_order::relaxed)) {
Expand Down

0 comments on commit 09f2d5b

Please sign in to comment.