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 69f4a66d23
commit af7ab45b45
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;
};