diff options
| author | bunnei <bunneidev@gmail.com> | 2019-02-24 04:15:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-24 04:15:49 -0500 |
| commit | 90c780e6f3f035090ebffae2866f428e76801429 (patch) | |
| tree | da8852dabbff9de60b88a35a67120abbd3745710 /src/video_core/dma_pusher.h | |
| parent | f7090bacc5c796c79fc2f871bce6145a6e9373e5 (diff) | |
| parent | 6dd40976d0eb39e9b4ac2cb7e3b78fe0a4bf0116 (diff) | |
Merge pull request #2139 from degasus/dma_pusher
video_core/dma_pusher: The full list of headers at once.
Diffstat (limited to 'src/video_core/dma_pusher.h')
| -rw-r--r-- | src/video_core/dma_pusher.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.h index 1097e5c49..27a36348c 100644 --- a/src/video_core/dma_pusher.h +++ b/src/video_core/dma_pusher.h @@ -75,6 +75,8 @@ private: GPU& gpu; + std::vector<CommandHeader> command_headers; ///< Buffer for list of commands fetched at once + std::queue<CommandList> dma_pushbuffer; ///< Queue of command lists to be processed std::size_t dma_pushbuffer_subindex{}; ///< Index within a command list within the pushbuffer @@ -89,11 +91,8 @@ private: DmaState dma_state{}; bool dma_increment_once{}; - GPUVAddr dma_put{}; ///< pushbuffer current end address - GPUVAddr dma_get{}; ///< pushbuffer current read address GPUVAddr dma_mget{}; ///< main pushbuffer last read address bool ib_enable{true}; ///< IB mode enabled - bool non_main{}; ///< non-main pushbuffer active }; } // namespace Tegra |
