summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_asynch.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-09-26 19:08:22 -0400
committerGravatar FernandoS272019-10-04 19:59:53 -0400
commit3f104464dec13f9ba90eaca5dafca87ee4116a60 (patch)
tree29d73dec1ba2a661a9930c63689973a65482ce3b /src/video_core/gpu_asynch.h
parentNvdrv: Correct Event setup in Nvdrv (diff)
downloadyuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.tar.gz
yuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.tar.xz
yuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.zip
Core: Wait for GPU to be idle before shutting down.
Diffstat (limited to 'src/video_core/gpu_asynch.h')
-rw-r--r--src/video_core/gpu_asynch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/gpu_asynch.h b/src/video_core/gpu_asynch.h
index a12f9bac4..1241ade1d 100644
--- a/src/video_core/gpu_asynch.h
+++ b/src/video_core/gpu_asynch.h
@@ -25,6 +25,7 @@ public:
25 void FlushRegion(CacheAddr addr, u64 size) override; 25 void FlushRegion(CacheAddr addr, u64 size) override;
26 void InvalidateRegion(CacheAddr addr, u64 size) override; 26 void InvalidateRegion(CacheAddr addr, u64 size) override;
27 void FlushAndInvalidateRegion(CacheAddr addr, u64 size) override; 27 void FlushAndInvalidateRegion(CacheAddr addr, u64 size) override;
28 void WaitIdle() const override;
28 29
29protected: 30protected:
30 void TriggerCpuInterrupt(u32 syncpoint_id, u32 value) const override; 31 void TriggerCpuInterrupt(u32 syncpoint_id, u32 value) const override;