drm: Also release the pipeline buffer when DrmOutput::releaseBuffers()

This commit is contained in:
Aleix Pol 2021-04-19 18:02:11 +02:00
parent b82840d7e0
commit d5ac0cf919

View file

@ -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);