diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-25 23:05:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-25 23:05:58 -0700 |
commit | 3c5fb536348b42924b05c2660168529ca80cb30a (patch) | |
tree | 23c8ea71a6e6800da58dc006cbf95b25c3f62379 /src/video_core/gpu.cpp | |
parent | 609c11bab363bc76c89fbfef93234466dad91a6b (diff) | |
parent | 75e0d16caa994f0765f78268fb5a94496914d23b (diff) |
Merge pull request #6237 from ameerj/nvdec-end-fix
nvhost_vic: Fix device closure
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 7c42f1177..a38024242 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -492,10 +492,8 @@ void GPU::PushCommandBuffer(Tegra::ChCommandHeaderList& entries) { cdma_pusher->ProcessEntries(std::move(entries)); } -void GPU::ClearCommandBuffer() { - // This condition fires when a video stream ends, clear all intermediary data +void GPU::ClearCdmaInstance() { cdma_pusher.reset(); - LOG_INFO(Service_NVDRV, "NVDEC video stream ended"); } void GPU::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) { |