aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-25 23:05:58 -0700
committerGitHub <noreply@github.com>2021-04-25 23:05:58 -0700
commit0366163ef3fe2308c79b7821e881b6345e159f35 (patch)
tree23c8ea71a6e6800da58dc006cbf95b25c3f62379 /src/video_core/gpu.cpp
parent51204856c58d32af2287fe9ee5e43d05721942b8 (diff)
parentde494b30d4abaee3f6db1bda0a59fa9012f5f597 (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.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 7c42f11771..a380242422 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) {