diff options
| author | bunnei <bunneidev@gmail.com> | 2020-10-29 21:13:48 -0700 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2020-11-01 01:52:38 -0700 |
| commit | c6e1c46ac70bf31b54f756f9611b1cf086b63fb0 (patch) | |
| tree | edf5e2a33941aba44f11c5ed42b1d658cc6bf20e /src/video_core/dma_pusher.h | |
| parent | c64545d07ae57816bc658ca7c45559d0b0d49f89 (diff) | |
video_core: dma_pusher: Add support for integrity checks.
- Log corrupted command lists, rather than crash.
Diffstat (limited to 'src/video_core/dma_pusher.h')
| -rw-r--r-- | src/video_core/dma_pusher.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.h index 99b30ca0d..8496ba2da 100644 --- a/src/video_core/dma_pusher.h +++ b/src/video_core/dma_pusher.h @@ -91,7 +91,10 @@ struct CommandList final { explicit CommandList(std::vector<Tegra::CommandHeader>&& prefetch_command_list) : prefetch_command_list{std::move(prefetch_command_list)} {} + void RefreshIntegrityChecks(GPU& gpu); + std::vector<Tegra::CommandListHeader> command_lists; + std::vector<u64> command_list_hashes; std::vector<Tegra::CommandHeader> prefetch_command_list; }; |
