From d5ac0cf9192e5348c11741a5daf9dfd004d6c3b6 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 19 Apr 2021 18:02:11 +0200 Subject: [PATCH] drm: Also release the pipeline buffer when DrmOutput::releaseBuffers() --- src/plugins/platforms/drm/drm_output.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/drm/drm_output.cpp b/src/plugins/platforms/drm/drm_output.cpp index 58baa9e094..2de20db2c0 100644 --- a/src/plugins/platforms/drm/drm_output.cpp +++ b/src/plugins/platforms/drm/drm_output.cpp @@ -76,6 +76,7 @@ void DrmOutput::teardown() void DrmOutput::releaseBuffers() { + m_pipeline->setPrimaryBuffer(nullptr); m_crtc->setCurrent(nullptr); m_crtc->setNext(nullptr); m_primaryPlane->setCurrent(nullptr);