video_core: dma_pusher: Add support for integrity checks.

- Log corrupted command lists, rather than crash.
This commit is contained in:
bunnei
2020-10-29 21:13:48 -07:00
parent c64545d07a
commit c6e1c46ac7
2 changed files with 27 additions and 0 deletions

View File

@ -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;
};