diff options
| author | bunnei <bunneidev@gmail.com> | 2018-06-12 14:25:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-12 14:25:17 -0400 |
| commit | 019d7208c808bee08495b7da12cbc57056d77783 (patch) | |
| tree | 254d18ce8ba05aed7848175226f11bab462caa3b /src/video_core/command_processor.cpp | |
| parent | 2015a1b1804d56283a95753b10023d3fa277a854 (diff) | |
| parent | 987a17066514dbab8e02acae20d4ea32c4f502eb (diff) | |
Merge pull request #556 from Subv/dma_engine
GPU: Partially implemented the Maxwell DMA engine.
Diffstat (limited to 'src/video_core/command_processor.cpp')
| -rw-r--r-- | src/video_core/command_processor.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index d72d6f760..cec9cb9f3 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -16,6 +16,7 @@ #include "video_core/engines/fermi_2d.h" #include "video_core/engines/maxwell_3d.h" #include "video_core/engines/maxwell_compute.h" +#include "video_core/engines/maxwell_dma.h" #include "video_core/gpu.h" #include "video_core/renderer_base.h" #include "video_core/video_core.h" @@ -60,8 +61,11 @@ void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params) case EngineID::MAXWELL_COMPUTE_B: maxwell_compute->WriteReg(method, value); break; + case EngineID::MAXWELL_DMA_COPY_A: + maxwell_dma->WriteReg(method, value); + break; default: - UNIMPLEMENTED(); + UNIMPLEMENTED_MSG("Unimplemented engine"); } } |
