diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 13:25:57 -0500 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 13:25:57 -0500 |
| commit | d665b33955c9e881f84c54c65c8c5b35838f12ab (patch) | |
| tree | 57db1ef4cd0afa7bb62a1dc80ab37f56c40a4fa5 /src/video_core/host1x | |
| parent | f89d68db10230ac21047bcd3adac8b574c6093ff (diff) | |
| parent | affa8969acb3f1fe32933a79b7b1e8612e3afd44 (diff) | |
Merge remote-tracking branch 'origin/fix/nx2-fence-syncpoint-range' into test/linux-all-prs
Diffstat (limited to 'src/video_core/host1x')
| -rw-r--r-- | src/video_core/host1x/syncpoint_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/host1x/syncpoint_manager.h b/src/video_core/host1x/syncpoint_manager.h index 847ed20c8d..d6e65af3eb 100644 --- a/src/video_core/host1x/syncpoint_manager.h +++ b/src/video_core/host1x/syncpoint_manager.h @@ -18,6 +18,8 @@ namespace Host1x { class SyncpointManager { public: + static constexpr size_t NUM_MAX_SYNCPOINTS = 192; + u32 GetGuestSyncpointValue(u32 id) const { return syncpoints_guest[id].load(std::memory_order_acquire); } @@ -78,8 +80,6 @@ private: void Wait(std::atomic<u32>& syncpoint, std::condition_variable& wait_cv, u32 expected_value); - static constexpr size_t NUM_MAX_SYNCPOINTS = 192; - std::array<std::atomic<u32>, NUM_MAX_SYNCPOINTS> syncpoints_guest{}; std::array<std::atomic<u32>, NUM_MAX_SYNCPOINTS> syncpoints_host{}; |
